Edit Image
edit_imageApply a text-prompted transformation to one or more reference images and get the saved output image path.
Instructions
Edit an image with flux-2-klein image-to-image (NaN API). Takes one or more reference image files and applies a transformation. Returns the saved output image path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of images to generate (1-4). Default 1 | |
| seed | No | Base seed for reproducibility | |
| size | No | Image size "WxH" divisible by 16, e.g. 1024x1024, 1536x1024, 1024x1536. Default 1024x1024 | |
| images | Yes | Absolute paths to reference image files (PNG, JPEG, WebP; up to 4, each < 25MB) | |
| prompt | Yes | Description of the edit or transformation to apply | |
| guidance | No | FLUX guidance scale | |
| outputName | No | Optional base name for the output file(s) |