generate_image
Create images from text prompts using AI models like Imagen-4 and Flux. Specify size, quality, and style to generate custom visuals for projects.
Instructions
Generate a single image from a text prompt.
Args: prompt: Text description of the image to generate. model: Model to use (imagen-4, imagen-4-fast, imagen-4-ultra, flux-1.1-pro, gpt-image-1). size: Image size (256x256, 512x512, 1024x1024, 1792x1024, 1024x1792). quality: Image quality (standard, hd). style: Image style (vivid, natural).
Returns: Dictionary with success status, file path, and metadata.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| model | No | imagen-4 | |
| size | No | 1024x1024 | |
| quality | No | standard | |
| style | No | vivid |