generate_image
Create a brand-new image from a text prompt. Use when you need a new visual from scratch, not for editing existing images.
Instructions
Generate a NEW image from text prompt. Use this ONLY when creating a completely new image, not when modifying an existing one.
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>",
"aspectRatio": "<aspectRatio>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text prompt describing the NEW image to create from scratch | |
| aspectRatio | Yes | Aspect ratio for the generated image. Supported: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Defaults to 1:1 if not specified. | 1:1 |