generate_image
Generate an image from a text prompt using AI models like Flux, Ideogram, or Krea. Customize dimensions, style, or use a source image for image-to-image generation.
Instructions
Generate an image using Krea AI. Returns a job_id - use get_job to check status and get the result URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model: flux (default), flux-pro, ideogram, imagen-4, krea-1, chatgpt-image, nano-banana, seedream | flux |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| prompt | Yes | Text description of the image to generate | |
| style_id | No | Optional style ID to apply | |
| image_url | No | Optional source image URL for image-to-image generation | |
| negative_prompt | No | What to avoid in the image |