edit_image
Modify images using text prompts with the FLUX.1 Kontext model. Input a base64 encoded image and a text description to adjust aspect ratio, format, and safety settings. Ideal for precise image editing.
Instructions
Edit an existing image using FLUX.1 Kontext model based on a text prompt
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aspect_ratio | No | Aspect ratio of the output image (e.g., "1:1", "16:9", "9:16") | 1:1 |
input_image | Yes | Base64 encoded input image to edit | |
output_format | No | Output image format | jpeg |
prompt | Yes | Text description of how to edit the image | |
safety_tolerance | No | Safety tolerance level (0-6) | |
seed | No | Seed for reproducible generation |