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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}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 |