curl -X POST https://api.example.com/ideogram/generate \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A futuristic city at sunset", "aspect_ratio": "16:9" }'
{ "created": 1699000000, "data": [ { "url": "https://example.com/generated-image.png", "seed": 1234567890 } ] }
Generate images from text
1:1
16:9
9:16
4:3
3:4