generate_image
Generate an image from a text prompt, selecting from fast, quality, or text-focused tiers to match your budget and output needs. Returns a direct image URL.
Instructions
Generate an image from a text prompt. Three quality tiers: 'fast' ($0.015, FLUX Schnell), 'quality' ($0.05, FLUX.2 Pro), 'text' ($0.12, Ideogram v3 for images with text). Returns image URL.
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 |
|---|---|---|---|
| seed | No | Random seed for reproducibility | |
| tier | No | Quality tier: fast ($0.015), quality ($0.05), text ($0.12) | fast |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| prompt | Yes | Text description of the image to generate |