by Black Forest Labs

FLUX 3 Klein Base that loads your own LoRAs

black-forest-labs/flux-3-klein-base-lora/text-to-image
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

FLUX 3 Klein Base LoRA is an image generation and editing backend for applications that manage reusable visual adaptations. Alongside the scene prompt, a loras array attaches compatible weight files with individual strengths. Keep adaptation selection separate from source image selection: weights modify the renderer, while edit images supply visual context. The published ceramic studio and lighthouse painting outputs offer baseline gallery fixtures without proving that any particular external adaptation file was loaded.

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

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
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.042
resolution 2K$0.15

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

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-. 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/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.

What to build with the FLUX 3 Klein Base LoRA API

  • Add an adaptation library to a creative tool. Store the weight file URL, compatibility notes and trigger phrase with each preset, then let the user choose which presets participate in the next render.
  • Create an adapted revision workflow that combines source pictures with selected weights. Record both lists on each completed version so users can distinguish a source image change from an adaptation strength adjustment.

FLUX 3 Klein Base LoRA parameter notes

  • loras accepts up to three objects. Each object requires path and scale; path is a direct weight file URL, and scale is a bounded number. Do not confuse that nested path key with the image_urls array or send a web page describing the weights.
  • The listed weights must be trained for the compatible FLUX 3 Image Klein architecture described in the schema. Place a required adaptation trigger phrase first in prompt. An empty loras array is the default, so a selected library card must actually be serialized to affect the request.
  • Creation and editing support 1k and 2k tiers plus jpeg, png and webp exports. Editing additionally requires a nonempty image_urls array and defaults to auto aspect ratio. Keep task-specific input validation separate even when both forms share an adaptation picker.

How FLUX 3 Klein Base LoRA API pricing adds up

Usage is metered per image, with separate rate rows for size tier and task. A revision through image-to-image should therefore receive its own quote instead of borrowing a creation estimate. Approve the current maximum USD amount for the exact payload and reconcile the task's costUsd after delivery. Do not invent a surcharge from weight count when the quote is the authoritative cost.

  • resolution 1k: $0.042 per run, $4.20 for 100 runs
  • resolution 2k: $0.15 per run, $15.00 for 100 runs

Async jobs, webhooks and rate limits

Every FLUX 3 Klein Base LoRA request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for black-forest-labs/flux-3-klein-base-lora/text-to-image never runs or bills twice.

Common FLUX 3 Klein Base LoRA API errors

errorCodeWhat it usually means and how to fix it
invalid_requestValidate every loras object for both path and numeric scale. Check array limits and remove extra nested properties instead of forwarding an unfiltered library record.
invalid_assetVerify direct access to the selected weight files and edit images. A valid-looking URL is insufficient if the service cannot retrieve the actual binary asset.
generation_failedRetain the adaptation combination, strengths and source order for diagnosis. Offer a reviewed new attempt rather than silently changing the selected weights.

Examples

Ceramic studio
Ceramic studioExamples
Lighthouse storm oil
Lighthouse storm oilExamples

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.042 per image with Create Image, its lowest-priced task. Prices by option: 1K $0.042 per image, 2K $0.15 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 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.

What should an adaptation preset contain?

Keep a compatible weight URL, its selected scale and any trigger wording. Compile those into loras and prompt; the library's display name itself is not an input parameter.

How do adapted renders return to the library?

Track the accepted taskId against the render revision. Use recordInfo polling or a signed task callback, verify delivery and attach the resulting asset to that revision.

Do the examples validate every custom weight file?

No. They are example outputs for the model. Test your own compatible files and inspect the resulting style before offering a preset broadly in your application.

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?

Run FLUX 3 Klein Base LoRA in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All FLUX models

FLUX 3 Klein Base offers the same generation and editing modes without LoRA inputs. Choose this version when you have custom weights to apply.

More about FLUX 3 Klein Base LoRA