Generate an image from a text prompt
text_to_imageText prompt → a generated image, returned as a hosted URL you can embed straight into Markdown, HTML or a chat reply. Use it for illustrations, covers, concept art, social cards and mockups. Returns a job_id; poll check_job for the image url (about 1 minute). The beta platform covers the user charge ($0.00); capacity is rate-limited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspect | No | Aspect ratio: "1:1" (default), "16:9", "9:16", "4:3", "3:4". | |
| prompt | Yes | What to draw. Be specific about subject, style and composition. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||