Generate Image
generate_imageGenerate an AI image from a text prompt
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 | Image style (e.g. realistic, illustration, abstract) | |
| prompt | Yes | Text prompt describing the image to generate | |
| provider | No | Image provider (e.g. flux_fal, gpt_image) — see list_ai_image_providers | |
| numImages | No | Number of images to generate (1-4) | |
| aspectRatio | No | Aspect ratio (e.g. 1:1, 16:9, 9:16) | |
| negativePrompt | No | Things to avoid in the generated image |