Generate thumbnails
generate_thumbnailsGenerates thumbnail images from a prompt with one or more models (up to 8 images per call). Waits for results and returns image URLs valid for one hour. Billed per image to the API key's account.
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_thumbnails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Images per model. | |
| format | No | Aspect ratio. 16:9 is 1920x1080 for YouTube. | |
| models | No | Model ids from list_models. Defaults to gpt-image-2. | |
| prompt | Yes | What the thumbnail should show, including any exact text to render. |