Generate an image with OpenAI

AI OpenAI
<pre><code class="language-shell">curl https://api.openai.com/v1/images/generations \ -H 'Content-Type: application/json' \ -H &quot;Authorization: Bearer &lt;$token&gt;&quot; \ -d '{ &quot;prompt&quot;: &quot;a dark anime with ghosts set on the planet mercury&quot;, &quot;n&quot;: 1, &quot;size&quot;: &quot;1024x1024&quot; }' </code></pre>

© 2026 Code0x378