infery
← All models

FLUX.3 Klein Image Editing

flux-3-klein-edit-image

Image generationby Blackforestlabs

Edits and composes images from text instructions and up to ten references with FLUX.3 Klein, with optional bounding-box controls for object placement and transformation.

images

Details

Accepts
text

Pricing

Price
1.13 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seed—The same seed and the same prompt given to the same version of the model will output the same image every time.
promptrequiredstringA complete caption of the target image with the edit folded in. Refer to the references by their order: the first image, the second image.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
image_size—The size of the generated image, 256 to 4096 pixels per side. If not set, a single reference image's own size (scaled to at most 4 megapixels) is used, or the first reference image's size (at most 1 megapixel) when several are given.
image_urlsrequiredarrayThe reference images to edit or compose from (up to 10).
num_imagesintegerThe number of images to generate.
output_formatstringenum: jpeg, png, webpThe format of the generated image.
bounding_boxes—Optional layout, with (0, 0) at the top-left of each image: keep, move, resize or remove objects from the references, or place new ones. Name boxes in the prompt by label, e.g. `<dragon>`.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.
enable_prompt_expansionbooleanIf set to true, the prompt is expanded into a detailed caption (grounded in the reference images when editing) before generation.

Output

FieldTypeDescription
seedintegerSeed used to generate the first image.
imagesarrayThe generated images.
promptstringThe prompt used for generating the image.
timingsobjectThe timings of the generation process.
has_nsfw_conceptsarrayWhether the generated images contain NSFW concepts.