Edit Image
edit_imageModify an existing image or combine up to ten reference images using natural-language instructions, then receive a JPEG preview and a full-resolution PNG link.
Instructions
Edit an image, or combine several reference images, with FLUX 3 Image Klein
With one image, describe the change ("make the sky stormy", "add a red scarf to the dog"). With several, say what to take from each by order ("the woman from the first image standing in the forest from the second image"). Returns a JPEG preview of each result plus the URL and id of the full-resolution PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for a reproducible result | |
| boxes | No | Optional regions of the FIRST image, same format as generate_image boxes. They are named obj_1, obj_2, ... in order; refer to them in the prompt ("remove obj_1", "replace obj_2 with a bicycle", "move obj_1 to the right"). | |
| count | No | Number of variations | |
| steps | No | Sampling steps; leave unset for the model default | |
| width | No | Output width; default keeps the first image's aspect ratio | |
| height | No | Output height; default keeps the first image's aspect ratio | |
| images | Yes | 1 to 10 reference images, in order: ids from generate_image/edit_image, or http(s) URLs | |
| prompt | Yes | The change to make, or the result you want. Refer to several images by order: 'the first image', 'the second image'. | |
| quality | No | 'high' uses the undistilled base model: more detail, about 3 times slower (~45 s). Use only when the user asks for it. | fast |
| enhance_prompt | No | Expand the request into a full edit instruction first (recommended) |