Generate Image
generate_imageGenerates images from text prompts using Budka's CyberPhotoBooth API, supporting multiple models and aspect ratios with asynchronous job processing.
Instructions
Generates an image using the Budka (CyberPhotoBooth) API. Async: submits a job then polls for result. Statuses: queued → processing → completed/failed. If timed out or interrupted, use check_job with the job_id to retrieve the result without creating a new job. Requires BUDKA_API_KEY.
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 |
|---|---|---|---|
| mode | No | Generation mode. edit2_text (default) — Flux Klein model. nano-banana_text — Nano Banana model, use when specifically requested. | edit2_text |
| ratio | No | Aspect ratio for the generated image. IMPORTANT: supported ratios differ by model. Use get_aspect_ratios(mode) or get_models to check. Flux Klein: 1:1,2:3,3:4,5:8,9:16,9:19,9:21,3:2,4:3,8:5,16:9,19:9,21:9. Nano Banana: 1:1,2:3,3:4,4:5,9:16,3:2,4:3,5:4,16:9,21:9. | 1:1 |
| prompt | Yes | The image generation prompt in English. Use create_prompt tool first to craft an optimal prompt. |