generate_image
Create AI images from text descriptions via fal, OpenAI, or Stability, and save them directly to your local machine.
Instructions
Generate an image from a text description using AI (fal FLUX, OpenAI DALL-E 3 or Stability). Requires a provider API key (set_provider_key). The image is saved locally — it is not uploaded anywhere. For Stability, any WxH size is mapped to the nearest supported aspect ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image dimensions as "WxH", e.g. "1024x1024", "1024x1792". | |
| model | No | Model id (e.g. "fal-ai/flux/schnell", "dall-e-3"). Omit for the default. | |
| prompt | Yes | Detailed description of the image to generate | |
| provider | No | AI provider. Omit to use the first configured key. |