FLUX 3 Klein Edit API

blackforestlabs/flux-3-klein/edit
image_urls 1–10 · 1K · 2K · 4K

FLUX 3 Klein Edit turns one to ten input images and a written instruction into edited or combined results at 1K, 2K or 4K, priced the same as generation. It keeps the subjects you name from each image while changing backgrounds, outfits, materials or style.

Get API Key
Input
Required
Required
Image Urls

Drag and drop files, paste from clipboard, or provide a URL. 1–10 public HTTP(S) image URLs, in prompt order.

1/10 files added

Optional
Optional
Optional
Optional
Optional
OutputReady

Estimated cost: 1.8 credits · $0.0090

Credits are reserved when the task is submitted and refunded in full if it fails.

Continue using

Examples

output-01.jpg

Dress the person from the first image in the jacket from the second image, standing on the street from the third image. Keep the face, hairstyle and pose from the first image.

output-01.webp

Restyle the living room in the first image with mid-century furniture and warm evening lamp light. Keep the windows, walls and floor layout unchanged.

FLUX 3 Klein Edit

FLUX 3 Klein Edit uses the same compact 5.6B-parameter FLUX 3 model from Black Forest Labs for instruction-based editing and multi-image composition. Send one to ten images in image_urls, refer to them by order in the prompt, and receive one to four results in PNG, JPEG or WebP. Input images are not billed, so a ten-image composite costs the same 1.8 credits at 1K as a single edit.

Why Choose FLUX 3 Klein Edit?

  • Up to ten input imagesCombine a person, a garment, a product and a setting from separate images in one instruction.

  • Edits priced like generation1.8, 2.8 or 7.2 credits per output image at 1K, 2K or 4K; the number of input images does not change the price.

  • Plain-language instructionsDescribe the change and refer to inputs as the first, second or third image; no masks are needed.

  • Flexible output sizeUse a preset ratio or an exact WIDTHxHEIGHT so the edited image fits its destination.

  • Batch variationsRequest up to four results per call to compare different takes on the same edit.

Parameters

ParameterRequirementDescription
promptRequired

Non-blank edit instruction. Refer to inputs by order, for example the first image.

image_urlsRequired

1–10 public HTTP(S) image URLs, in the order the prompt refers to them.

sizeOptional

Preset 1:1, 4:3, 3:4, 16:9, 9:16, 3:2 or 2:3 (long edge set by resolution), or WIDTHxHEIGHT with each side 256–4096 in multiples of 16.

Default1:1
resolutionOptional

1K, 2K or 4K; presets use a long edge of 1024, 2048 or 4096. A custom size must send the tier of its longer side: ≤1024 → 1K, ≤2048 → 2K, otherwise 4K.

Default1K2K4K
nOptional

Number of images, integer 1–4.

Default1
output_formatOptional

png, jpeg or webp.

Defaultpngjpegwebp
enable_safety_checkerOptional

Boolean. Turns the upstream safety checker on or off.

Defaulttrue

How to Use

  1. Collect the inputsGather one to ten public image URLs and order them the way you will mention them.

  2. Write the instructionName what to keep from each image and what to change, for example keep the face from the first image.

  3. Set size and resolutionPick a ratio and tier, or an exact size with the matching resolution.

  4. Submit and collectSend model blackforestlabs/flux-3-klein/edit, poll with the task_id and read the results from files.

Usage and Pricing

Billed per output image by resolution. Total credits = rate × n. 1 credit = $0.005.

Generation and editing cost the same, and input images are not billed. Credits are reserved on submission and refunded in full if the task fails. Example: 4 images at 2K = 11.2 credits ($0.056).

Usage and Pricing
OptionCredits / imageUSD / image
1K1.8$0.009
2K2.8$0.014
4K7.2$0.036

Best Use Cases

  • Seasonal background swapsKeep a product exactly as photographed and move it into a winter, summer or holiday scene.

  • Outfit and accessory try-onDress a model in a garment from another photo while keeping face and pose.

  • Interior restylingChange furniture, materials or lighting in a room photo while the layout stays.

  • Composite marketing visualsCombine a product, a person and a location from separate shoots into one ad image.

Pro Tips

  • Give each input a role in the prompt: keep the person from the first image, the jacket from the second, the street from the third.
  • Put the most important image first; order is how the model knows which picture you mean.
  • Say explicitly what must not change, such as face, logo placement or product shape.
  • Test the instruction at 1K, then rerun at 2K or 4K for delivery.

Notes

  • image_urls must contain 1–10 public HTTP(S) URLs.
  • Input images are not billed; credits depend only on resolution and n.
  • A custom size must be sent with the resolution of its longer side (≤1024 → 1K, ≤2048 → 2K, otherwise 4K).

Related Models

FLUX 3 Klein Edit API FAQ

What is the FLUX 3 Klein Edit API?

FLUX 3 Klein Edit is a Black Forest Labs model for editing and combining images with written instructions. It takes one to ten input images and returns one to four edited results at 1K, 2K or 4K in PNG, JPEG or WebP, priced the same as generation. Built on the compact FLUX 3 Klein model, it keeps the subjects you name from each input while changing scenes, outfits, materials or style. You can call it programmatically or try it from the playground above.

How many images can FLUX 3 Klein Edit combine?

Between 1 and 10 images in image_urls. Refer to them by order in the prompt so the model knows which subject comes from which picture.

How much does FLUX 3 Klein Edit cost?

Per output image: 1K 1.8 credits ($0.009), 2K 2.8 credits ($0.014) and 4K 7.2 credits ($0.036), the same as text-to-image. Input images are not charged.

How should I write prompts for FLUX 3 Klein Edit with several images?

Assign each image a role, for example keep the person from the first image, use the jacket from the second and place them on the street from the third. State what must stay unchanged.

Does FLUX 3 Klein Edit need a mask?

No. Edits are driven by the instruction alone. For mask-based region edits, use Ideogram 4.5 Edit.

Which sizes can FLUX 3 Klein Edit output?

Presets 1:1, 4:3, 3:4, 16:9, 9:16, 3:2 and 2:3, or WIDTHxHEIGHT with sides 256–4096 px in multiples of 16, sent with the resolution of its longer side.

Can FLUX 3 Klein Edit return several variations?

Yes. Set n from 1 to 4; each result is billed at the selected resolution rate.