← All models
Edits and composes images from text instructions and up to ten references with FLUX.3 Klein Base, with configurable guidance, negative prompts and bounding-box layout controls.
images
Details
- Accepts
- text
Pricing
- Price
- 3.38 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| promptrequired | string | A 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_mode | boolean | If `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_urlsrequired | array | The reference images to edit or compose from (up to 10). |
| num_images | integer | The number of images to generate. |
| output_format | stringenum: jpeg, png, webp | The 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_checker | boolean | If set to true, the safety checker will be enabled. |
| enable_prompt_expansion | boolean | If set to true, the prompt is expanded into a detailed caption (grounded in the reference images when editing) before generation. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed used to generate the first image. |
| images | array | The generated images. |
| prompt | string | The prompt used for generating the image. |
| timings | object | The timings of the generation process. |
| has_nsfw_concepts | array | Whether the generated images contain NSFW concepts. |