llm_image
Generate images from text prompts with automatic model routing across Gemini Imagen, DALL-E, Flux, and Stable Diffusion.
Instructions
Generate an image — auto-routes to Gemini Imagen, DALL-E, Flux, or Stable Diffusion.
Args: prompt: Description of the image to generate. model: Optional model override (e.g. "gemini/imagen-3", "openai/dall-e-3", "fal/flux-pro", "stability/stable-diffusion-3"). size: Image size (e.g. "1024x1024", "1792x1024"). quality: Image quality — "standard" or "hd" (DALL-E only).
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": "llm_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024 | |
| model | No | ||
| prompt | Yes | ||
| quality | No | standard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |