Get API key

by Black Forest Labs

FLUX 3 Klein Base that loads your own LoRAs

black-forest-labs/flux-3-klein-base-lora/text-to-imageFrom 7 creditsper image · $0.07
  • 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

FLUX 3 Klein Base that loads your own LoRAs.

Call it with the model name black-forest-labs/flux-3-klein-base-lora/text-to-image on POST /jobs/createTask, from 7 credits per image ($0.07).

Introduction

FLUX 3 Klein Base LoRA Text to image draws one image from a written prompt on Black Forest Labs' FLUX 3 Image Klein Base, the undistilled 5.6B checkpoint its makers recommend for LoRA training, with up to three of your own LoRA files loaded from direct links. Choose one of fifteen aspect ratios at 1k or 2k and JPEG, PNG or WebP.

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

Runs LoRAs on their own checkpoint

Black Forest Labs recommends training Klein LoRAs on Base, so a LoRA you trained runs here on exactly the model it learned from. In our tests a character LoRA trained on Base changed the face, ears and finish of the picture at 0.5 and more strongly at 1, while a LoRA made for FLUX.2 [klein] 9B loaded and changed nothing at all.

Exact A/B pairs

The same seed with the same inputs returned identical pixels in our tests. Run the prompt once without a LoRA and once with it, and every difference between the two pictures is the LoRA's doing, which makes judging a fresh training run much easier.

Up to three LoRAs

Stack up to three files, each with its own strength from 0 to 4, for example a character with a style beside it.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 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: 1:1
lorasNoLoad your own LoRA files to lock in a style or character. Default: []
output_formatNoFile type of the result. jpeg · png · webp · Default: jpeg
promptYesDescribe the whole scene in full sentences: framing, subject, setting and light. Put a LoRA trigger phrase first.
resolutionNoOutput size. Bigger sizes look sharper and cost more. 1k · 2k · Default: 1k
seedNoReuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
resolution 1K6.3$0.063
resolution 2K22.5$0.23

Each task is rounded up to whole credits, so one run at the lowest tier costs 7 credits per image ($0.07).

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Testing a fresh LoRA

Train on FLUX 3 Image Klein Base, then check the file here at 1k against the same seed without it, and at 2k for detail, without keeping a GPU of your own warm.

Prompt guide & pro tips

Trigger first, then a full caption

Start with the trigger phrase from the LoRA's model card, then describe framing, subject, clothing, place and light in sentences. Klein is trained on long captions and this endpoint sends your prompt as written.

Start the scale around 0.5 to 1

A character LoRA at 1 also added a painted finish and a stray signature in our tests; at 0.5 it kept a photographic look. Move in steps of 0.2 and check faces and hands first.

Check the base model on the card

Only LoRAs for FLUX 3 Image Klein do anything here. If a run looks identical to the same seed without the LoRA, the file was most likely trained for another model.

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- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model black-forest-labs/flux-3-klein-base-lora/text-to-image 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/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "aspect_ratio": "1:1",
    "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.

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 7 credits ($0.07) per image with Create Image, its cheapest task. Prices by option: 1K 6.3 credits per image, 2K 22.5 credits per image. Credits are the same as on the website (1 credit = $0.01), and failed tasks are refunded.

What is the model name for FLUX 3 Klein Base LoRA in the API?

Put black-forest-labs/flux-3-klein-base-lora/text-to-image for Create Image; black-forest-labs/flux-3-klein-base-lora/edit for Edit Image in the model field of POST /jobs/createTask.

Which LoRAs work here?

LoRAs trained on FLUX 3 Image Klein. Black Forest Labs recommends training on Base, and in our tests a character LoRA and an outpainting LoRA trained on Base both changed the result. A FLUX.2 [klein] 9B LoRA loaded and changed nothing, pixel for pixel.

My LoRA loaded but nothing changed. Why?

Usually the file was trained for another model, such as FLUX.2 [klein]. A camera-angle LoRA saved in diffusers format also made no visible difference in our tests. None of these raise an error, so compare the same seed with and without the file.

Will a LoRA trained here run on the distilled Klein?

Black Forest Labs says a LoRA trained on Klein Base loads into the distilled Klein without conversion, at a slightly lower scale around 0.75.

How do I refer to several images in an edit?

Write image 1, image 2 and image 3 in the order you uploaded them, and say what each one brings. Put the LoRA's trigger or instruction first.

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

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

Can I try FLUX 3 Klein Base LoRA without writing code?

Yes. The Playground runs FLUX 3 Klein Base LoRA on your PopNow credits, needs no API key, and shows the matching code for every run.

All FLUX models

More about FLUX 3 Klein Base LoRA