generate_image
Generate an image from a text prompt or edit an existing image by providing its URL or local path and describing the change.
Instructions
Generate or edit one image with ImgLume. For edits, pass the source image URL or local file path in referenceImages and keep the prompt focused on the requested change. Omit model, quality, or aspectRatio to use live ImgLume defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model ID | |
| prompt | Yes | Image generation prompt | |
| quality | No | Optional quality value | |
| promptId | No | Optional ID returned by get_inspiration | |
| aspectRatio | No | Optional ratio such as 1:1, 16:9, or 9:16 | |
| referenceImages | No | Public image URLs or absolute/local image file paths |