Generate image
generate_imageCreate images from text prompts and get a permanent public URL. Pay only for successful generations.
Instructions
Generate an image from a text prompt. Returns a permanent public URL. Synchronous: typically completes in 2-20 seconds. Costs a few cents, billed to the Corent account. Failed generations are never billed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional content style hint | |
| prompt | Yes | What to generate, in plain language | |
| preference | No | What to optimize for; Corent picks the best model tier automatically | balanced |
| aspect_ratio | No | 1:1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| meta | No | ||
| images | No | ||
| status | No |