by Black Forest Labs

Integrate adapted FLUX 3 Klein Base LoRA edits using ordered source images, compatible weight files, per-weight strengths and live USD quotes.

black-forest-labs/flux-3-klein-base-lora/edit
FLUX 3 Klein Base LoRA AI Image Generator online
  • Up to 2K
  • Up to 3 reference images
  • 15 aspect ratios
  • Loads your own LoRA
  • Create Image
  • Edit Image

About FLUX 3 Klein Base LoRA

Use the adapted editing endpoint for a revision that needs both source pictures and reusable adaptation weights. Required image_urls and prompt establish the edit. Optional loras changes the selected visual adaptation. These are different kinds of inputs, so your interface should label source thumbnails separately from weight presets and never merge their URLs into a single upload array.

Call it with the model name black-forest-labs/flux-3-klein-base-lora/edit on POST /jobs/createTask, from $0.06.

Introduction

FLUX 3 Klein Base LoRA Image editing changes or combines one to three source images from a written instruction on Black Forest Labs' FLUX 3 Image Klein Base, with up to three of your own LoRA files loaded. Refer to sources as image 1, image 2 and image 3, keep the first image's shape with auto or pick one of fifteen, and choose 1k or 2k. The model sometimes leaves clothing in place.

Choose a mode by starting material

What you haveMode
a written descriptionFLUX 3 Klein Base LoRA Text to image
one to three images to change or combineFLUX 3 Klein Base LoRA Image editing

Key features

Edit-trained LoRAs

LoRAs trained for editing on Klein Base change how the model edits. An outpainting LoRA, given a portrait padded with flat gray, filled the gray with the rest of a sauna changing room and kept the original picture where it was; without it, the same request redrew more of the scene.

Several sources with a LoRA

Combine up to three images and load LoRAs in the same request. Say what each source brings and put the LoRA's trigger or instruction first, so the model knows which part of the prompt belongs to the LoRA.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 4:5 · 5:4 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · Default: auto
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
lorasNoAdd LoRA weights compatible with this model to guide its style or character. Default: []
output_formatNoFile type of the result. jpeg · png · webp · Default: jpeg
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 1k · 2k · Default: 1k
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per image
resolution 1K$0.06
resolution 2K$0.222

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Outpainting and reframing

Pad a picture with gray to a wider or taller canvas and let an outpainting LoRA continue the scene, for banners and social formats cut from portrait photos.

Styling with references

Put a garment from a product photo on a person from another photo while a LoRA sets the look of the series.

Prompt guide & pro tips

Follow the LoRA card exactly

Edit LoRAs often expect a fixed instruction and a prepared input, such as flat #808080 gray padding for outpainting. Copy the instruction from the card to the start of the prompt and prepare the image the same way.

Choose the canvas shape

For outpainting, set the aspect ratio to the shape of the padded canvas, or leave auto so the first image decides. The model keeps that shape at the chosen size tier.

Compare with the same seed

Run the same edit with and without the LoRA. Edits are close but not always pixel-identical between runs, so look for a clear difference before you put it down to the LoRA.

API quick start

Call the FLUX 3 Klein Base LoRA API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model black-forest-labs/flux-3-klein-base-lora/edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "black-forest-labs/flux-3-klein-base-lora/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "auto",
    "resolution": "1k",
    "output_format": "jpeg"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

About the FLUX 3 Klein Base LoRA Edit Image endpoint

The source list accepts up to three images. Refer to them in the instruction by their submitted positions and explain the intended revision as well as the elements to preserve. A source reorder can change the instruction's meaning. Save the final order with the version rather than reconstructing it later from an unordered project asset collection.

Each adaptation entry carries a direct binary path and numeric scale, with up to three entries allowed. Confirm architecture compatibility before exposing a file in the picker. The input schema requires both nested keys, so an imported library item with only a name is incomplete. Put any adaptation trigger wording at the beginning of the edit prompt.

The auto aspect ratio default uses the first source image's shape. An explicit supported ratio instead communicates a deliberate reframing choice. Choose resolution independently and retain the selected jpeg, png or webp format for delivery metadata. A comparison seed belongs with the complete payload; it cannot stand in for the omitted adaptation settings.

Quote this editing operation after finalizing the weight selection, sources and size tier. Billing follows the per-image edit rate for that tier rather than the text creation rate. Store the accepted maximum hold and the completed costUsd separately, letting your revision history show expected and settled usage without embedding stale price figures in presets.

Submit asynchronously and associate taskId with the exact adaptation revision. A task-level callback must be verified before its assets update the project, or use recordInfo polling. Diagnose invalid_asset by checking access to both image and weight URLs. Diagnose invalid_request by checking the nested object shapes; automatically discarding a weight would silently alter the requested edit.

FLUX 3 Klein Base LoRA API questions

How much does the FLUX 3 Klein Base LoRA API cost?

FLUX 3 Klein Base LoRA starts at $0.06 per image with Edit Image, its lowest-priced task. Prices by option: 1K $0.06 per image, 2K $0.222 per image. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the FLUX 3 Klein Base LoRA · Edit Image API?

Resolutions: 1K · 2K; Aspect ratios: auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 +10; Reference images: 3; Prompt length (characters): 5,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.

More about FLUX 3 Klein Base LoRA