generate_image
Generate an image from a text prompt using ElevenLabs' image generation API. Supports multiple models and returns the file path to the downloaded image.
Instructions
Generate an image using ElevenLabs Image & Video feature. Returns the path to the downloaded image file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | ElevenLabs account email (for authentication if not logged in) | ||
| model | No | Model to use. Options: gpt-image-1.5, gpt-image-1, flux-kontext-pro, seedream-4, nano-banana, wan-2.5. Default: gpt-image-1.5 | |
| prompt | Yes | The text prompt describing the image to generate | |
| password | No | ElevenLabs account password (for authentication if not logged in) | |
| savePath | No | Directory to save the image. Default: /app/assets | |
| aspectRatio | No | Aspect ratio (e.g., "1:1", "16:9", "9:16") | |
| negativePrompt | No | What to avoid in the generated image |