Flux-2-Klein-4B Edit with LoRA performs instruction-based image edits while applying custom LoRA adapters, letting you preserve scene layout and lighting while pushing the result toward a specific style or character look. Great for stylized object swaps and look-conditioned edits.
About this model
Flux-2-Klein-4B Edit with LoRA performs instruction-based image edits while applying custom LoRA adapters. It preserves the original scene's layout and lighting while pushing the result toward a specific style, character, or look defined by your LoRA. This makes it well-suited for stylized object swaps, costume changes, and look-conditioned edits where consistency with a brand or character LoRA matters.
You can pass 1 to 3 reference images plus an editing prompt, and stack up to 3 LoRA adapters per request. The 4B base keeps cost and latency low, which is ideal for high-volume editorial pipelines and rapid creative iteration.
Cost analysis
| Provider | Cost | Notes |
|---|---|---|
| muapiapp | $0.025 per generation | Flat per-image price for the 4B Edit-with-LoRA variant, regardless of LoRA count. |
| Fal.ai | Not available | Flux-2 Klein Edit with LoRA is not generally available on Fal.ai at the time of writing. |
| Replicate | Not available | Flux-2 Klein Edit with LoRA is not generally available on Replicate at the time of writing. |
Flat per-image price for the 4B Edit-with-LoRA variant, regardless of LoRA count.
Flux-2 Klein Edit with LoRA is not generally available on Fal.ai at the time of writing.
Flux-2 Klein Edit with LoRA is not generally available on Replicate at the time of writing.
* Competitor pricing is estimated based on similar model architectures and usage tiers.
Configuration schema
| Parameter | Type | Description | Default |
|---|---|---|---|
| Prompt | string | Editing instruction describing the desired change. | Add a tiny blue knitted scarf around the kitten's neck, keep pose, lighting, and background unchanged. |
| Image URLs | array | List of 1-3 reference image URLs to edit. | https://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/flux-2-klein-4b-edit-in.jpg |
| LoRA List | array | Up to 3 LoRA adapters to apply during the edit. | [object Object] |
| Aspect Ratio | Enum (7 options) | The aspect ratio of the generated image | 1:1 |
Editing instruction describing the desired change.
Add a tiny blue knitted scarf around the kitten's neck, keep pose, lighting, and background unchanged.List of 1-3 reference image URLs to edit.
https://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/flux-2-klein-4b-edit-in.jpgUp to 3 LoRA adapters to apply during the edit.
[object Object]The aspect ratio of the generated image
1:1Developer documentation
Provide reference images: Pass 1 to 3 image URLs in images_list to edit.
Write an editing instruction: Describe the change you want in prompt. Keep the change targeted so the original layout and lighting are preserved.
Attach LoRAs: Provide up to 3 entries in lora_list, each with a path and scale.
Choose an aspect ratio: Use aspect_ratio to control output framing.
Submit and iterate: Call flux-2-klein-4b-edit-lora. Adjust LoRA scale or sharpen the prompt if the edit is too weak or too strong and re-run.
Frequently asked
Between 1 and 3 reference images per edit request, passed in `images_list`.
Klein Edit aims to preserve the original scene's layout and lighting. Identity preservation is best when your prompt targets specific elements (clothing, background, accessories) rather than rebuilding the subject.
Yes. The `lora_list` schema is identical across the text-to-image and edit endpoints, so the same adapter weights and `scale` settings transfer cleanly between them.