generate_image
Creates images from text prompts and supports image-to-image editing across 50 AI models like Flux, Recraft, Ideogram, and SDXL, letting you pick the model matching your visual style.
Instructions
Generate an image from a text prompt. 50 models available including Flux, Recraft, Ideogram, Stable Diffusion, GPT Image, Grok, Nano Banana, SDXL, and more.
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 |
|---|---|---|---|
| model | No | Model to use. Options: flux-dev: Flux Dev, flux-pro: Flux Pro, flux-general: Flux General, flux-pro-1.1-ultra: Flux Pro 1.1 Ultra, hunyuan-image: Hunyuan Image, nano-banana: Nano Banana, auraflow: AuraFlow v0.3, flux-2-pro: Flux 2 Pro T2I, flux-2-pro-i2i: Flux 2 Pro I2I, flux-2-pro-t2i-trainer: Flux 2 Pro T2I Trainer, flux-2-pro-i2i-trainer: Flux 2 Pro I2I Trainer, gpt-image: GPT Image 1.5, grok-imagine: Grok Imagine, kandinsky-5: Kandinsky 5.0 Pro, kling-o1-image: Kling O1 Image, longcat-image: LongCat Image, nano-banana-pro: Nano Banana Pro, qwen-image-layered: Qwen Image Layered, recraft-v3: Recraft V3, recraft-v4: Recraft V4, recraft-v4-pro: Recraft V4 Pro, seedream-5: Seedream 5.0 Lite, seedream-5-edit: Seedream 5.0 Edit, nano-banana-2: Nano Banana 2, flux-fill-dev: Flux Fill Dev, sticker-maker: Sticker Maker, studio-ghibli: Studio Ghibli, reve-image-edit: Reve Image Edit, reve-image-remix: Reve Image Remix, qwen-edit-plus-lora: Qwen Edit Plus Lora, ideogram-v2: Ideogram V2, ideogram-v2-turbo: Ideogram V2 Turbo, stable-diffusion-3.5: Stable Diffusion 3.5 Large, stable-diffusion-3: Stable Diffusion 3, sdxl-base: SDXL Base 1.0, sdxl-lightning: SDXL Lightning, sdxl-turbo: SDXL Turbo V2, flux-schnell: Flux Schnell, flux-schnell-replicate: Flux Schnell (Replicate), dreamshaper: Dreamshaper 8-lcm, flawless: Flawless, flux-2-dev: Flux 2 Dev, flux-2-klein: Flux 2 Klein 4B, pixelforge-image: Pixelforge Image, qwen-image: Qwen Image, wan-t2i: Wan T2I, wan-2.5-image: Wan 2.5 Image, minimax-image: MiniMax Image, nano-banana-async: Nano Banana Async, nano-banana-pro-async: Nano Banana Pro Async | flux-dev |
| style | No | Style type for Ideogram (GENERAL, REALISTIC, DESIGN, RENDER_3D, ANIME) | |
| prompt | Yes | Text description of the image to generate | |
| image_url | No | Source image URL (for image-to-image models like flux-2-pro-i2i, flux-fill-dev) |