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 have | Mode |
|---|---|
| a written description | FLUX 3 Klein Base LoRA Text to image |
| one to three images to change or combine | FLUX 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
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The 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 |
loras | No | Add LoRA weights compatible with this model to guide its style or character. Default: [] |
output_format | No | File type of the result. jpeg · png · webp · Default: jpeg |
prompt | Yes | Describe what you want to make. |
resolution | No | Choose an available output size. 1k · 2k · Default: 1k |
seed | No | Use 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.
| Option | USD 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
- 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.
- 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.
- 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
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_request | Validate 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_asset | Verify 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_failed | Retain the adaptation combination, strengths and source order for diagnosis. Offer a reviewed new attempt rather than silently changing the selected weights. |
Examples
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.
- FLUX.2 Max APITop-tier FLUX: photoreal light and exact brand colorsFrom $0.07 per image
- FLUX.3 Image APIBlack Forest Labs' photoreal model: 1024×1024 square images and 4-image editsFrom $0.0408 per image
- FLUX 3 Klein Base LoRA APIFLUX 3 Klein Base that loads your own LoRAsFrom $0.042 per image
- FLUX 3 Klein Base APIFull-quality FLUX 3 Klein images and edits up to 2KFrom $0.036 per image
- FLUX 3 APIVideo with synced sound and a quick draft tierFrom $0.30 for a 5-second clip
- FLUX.2 Klein 9B LoRA APIFast FLUX.2 Klein 9B that loads up to three of your LoRAsFrom $0.018 per image
- FLUX.2 Klein Base 9B LoRA APIUndistilled Klein 9B for varied looks with your LoRAsFrom $0.024 per image
- FLUX.2 Klein 4B LoRA APISmall, quick FLUX.2 Klein 4B with your own LoRAsFrom $0.0156 per image
- FLUX.2 Klein Base 4B LoRA APIUndistilled Klein 4B that loads your own LoRAsFrom $0.018 per image
- FLUX.2 Klein 9B APIFast FLUX edits that keep faces and poses intactFrom $0.011 per image
- FLUX.2 Klein 4B APIThe smallest, quickest FLUX for rapid draftsFrom $0.0093 per image
- FLUX.2 Dev LoRA APIFLUX.2 Dev images and edits with your own LoRAsFrom $0.0216 per image
- FLUX.2 Pro APIPhotoreal images with readable text and hex color controlFrom $0.03 per image
- FLUX.2 Flex APISpells headlines and labels exactly as writtenFrom $0.0578 per image
- FLUX.2 Dev APIOpen-weights FLUX that can merge people into one sceneFrom $0.0116 per image
- FLUX.1 Krea Dev LoRA APIPhotographic FLUX.1 Krea with your own LoRAsFrom $0.024 per image
- FLUX.1 Kontext Max APIPremium Kontext for busy scenes, detailed lettering and whole-image restylesFrom $0.056 per image
- FLUX.1 Kontext Pro APIDraw a scene from text, then edit faces, outfits and lettering in placeFrom $0.028 per image
- FLUX.1 Dev ControlNet LoRA APIPose, depth or edge control on FLUX.1 with your LoRAsFrom $0.036 per image
- FLUX.1 Fill Dev LoRA APIMasked inpainting on FLUX.1 Fill with your own LoRAsFrom $0.042 per image
- FLUX.1 Dev LoRA APIClassic FLUX.1 Dev with up to three of your LoRAsFrom $0.018 per image
- FLUX.1 Schnell LoRA APIFast FLUX.1 Schnell that loads your own LoRAsFrom $0.006 per image


