Edit image with a prompt (Magic Prompt AI)
luw_edit_imageEdit images with plain-language prompts to recolor objects, add furnishings, or change scenes. Supply reference images to place products or apply materials.
Instructions
Edit any image with a plain-language instruction: "make the sofa green velvet", "add a pendant lamp over the table", "turn it into a night scene". Pass products, materials or a mood board as reference_images to place or apply them. For edits restricted to an exact area, use luw_magic_wand. Costs 1 credit per variation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Fix for reproducible results. | |
| image | Yes | Image to edit (https:// URL, local file path, or data: URI). | |
| engine | No | Model: aria (default), symphony (Symphony-3) or nano-banana-2. | |
| format | No | Output image format. | |
| prompt | Yes | The edit to make. | |
| resolution | No | Output resolution (default 2k). | |
| variations | No | Number of alternative designs (1-4, default 1); each is billed as a generation. | |
| enhance_prompt | No | Let Luw.ai's prompt enhancer expand a short prompt. | |
| reference_images | No | Up to 6 reference images (furniture, materials, products, mood boards) to draw from. |