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