← All models
Image-to-image editing with LoRA support for FLUX.2 [klein] 9B Base from Black Forest Labs. Specialized style transfer and domain-specific modifications.
images
Details
- Accepts
- image
Pricing
- Price
- 2.5 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | The seed to use for the generation. If not provided, a random seed will be used. |
| loras | array | List of LoRA weights to apply (maximum 3). |
| promptrequired | string | The prompt to edit the image. |
| sync_mode | boolean | If `True`, the media will be returned as a data URI. Output is not stored when this is True. |
| image_size | — | The size of the generated image. If not provided, uses the input image size. |
| image_urlsrequired | array | The URLs of the images for editing. A maximum of 4 images are allowed. |
| num_images | integer | The number of images to generate. |
| acceleration | stringenum: none, regular, high | The acceleration level to use for image generation. |
| output_format | stringenum: jpeg, png, webp | The format of the generated image. |
| guidance_scale | number | Guidance scale for classifier-free guidance. |
| negative_prompt | string | Negative prompt for classifier-free guidance. Describes what to avoid in the image. |
| num_inference_steps | integer | The number of inference steps to perform. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed. |
| images | array | The generated images |
| prompt | string | The prompt used for generating the image. |
| timings | object | |
| has_nsfw_concepts | array | Whether the generated images contain NSFW concepts. |