llm_generate_image
Generate images using any external /v1 image-generation endpoint, then save the result locally and return an embeddable file path.
Instructions
Generate an image using ANY external /v1 endpoint that supports image generation (e.g., SiliconFlow, Together AI, OpenAI DALL-E, OpenRouter, or local ComfyUI/Diffusers bridge). Saves the generated image locally and returns an embeddable file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image dimensions, e.g. "1024x1024", "1792x1024", "1024x1792". Default "1024x1024". | |
| model | No | The image generation model (e.g. "black-forest-labs/FLUX.1-schnell", "dall-e-3", "stabilityai/stable-diffusion-3-medium"). | |
| prompt | Yes | Detailed description of the image to generate. | |
| api_key | No | API key for authentication. | |
| provider | No | Provider alias from vault (e.g. "siliconflow", "together", "openai", "openrouter"). | |
| endpoint_url | No | Ad-hoc /v1 base URL supporting /v1/images/generations. |