Generate image
auteo_generate_imageSubmit an image generation. This SPENDS the user's credits (see auteo_estimate_cost). Call auteo_get_model first: models with resolution tiers require an explicit resolution, and aspect ratio / resolution must be a valid combination. Returns a requestId immediately; then call auteo_get_generation to wait for the output URLs. If this call times out, do NOT resubmit blindly: call auteo_list_generations first, and if you must retry, pass the same clientRequestId. If it fails with insufficient credits, tell the user to top up at topUpUrl instead of retrying.
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": {
"model": "<model>",
"prompt": "<prompt>",
"aspectRatio": "<aspectRatio>"
},
"name": "auteo_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of images, default 1. Each image is charged. | |
| model | Yes | Image model id. | |
| prompt | Yes | ||
| resolution | No | Required for models with resolution tiers (e.g. 1K / 2K / 4K). Omit for models without tiers. | |
| aspectRatio | Yes | One of the model's aspectRatio options, e.g. 1:1. | |
| inputAssetIds | No | Reference image assetIds from auteo_upload_image (image-to-image / editing). | |
| clientRequestId | No | Idempotency key. Leave empty; only reuse the value returned by a previous timed-out call. |