Introduction
FLUX.2 Klein Base 4B LoRA pairs the undistilled Apache 2.0 checkpoint with your style weights. In SpicyAPI tests, the fantasy-painting adapter showed clearly at scale 1, while a coloured-pencil adapter trained on distilled 4B also worked; files from FLUX.1 or Klein 9B produced no visible change.
| Field | Value |
|---|---|
| Input | Text |
| Output | Image |
| Endpoints | Text to Image and Image Edit, each with LoRA support |
| Base model | FLUX.2 [klein] Base 4B (undistilled), Black Forest Labs, 4 billion parameters, Apache 2.0, released 15 January 2026 |
| LoRA input | FLUX.2 Klein Base 4B LoRA: Up to 3 entries, each {path, scale}; path is a direct HTTPS link to a .safetensors file |
| LoRA scale | FLUX.2 Klein Base 4B LoRA: 0 to 4 per entry (1 is the default) |
| Aspect ratios | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21 (edits also accept auto) |
| Size tiers | 1k: about one megapixel, e.g. 1344 x 768 at 16:9. 2k: 2048 pixels on the long side, e.g. 2048 x 1152 |
| Source images | 1 to 3 per edit, up to 10 MB each |
| Prompt length | Up to 5,000 characters |
| Speed | About 7 to 35 seconds for text to image and 15 to 50 seconds for edits in our tests; queue time varies |
| Content filter | None |
Key features & highlights
A painting from a Base-trained LoRA
A fantasy-painting LoRA trained on Base 4B with its trigger first: an observatory stair under a single moonbeam, painted at 16:9 and 2k.
A park photo moved into a painting
An edit with the same painting LoRA: a couple photographed in a sunny park now stands at the eyepiece of a brass telescope under the moon, with their faces kept.
Photographs without any LoRA
No LoRA loaded: moonlight from the dome slit and a green banker's lamp over hand-drawn star charts, a 2k portrait from a few sentences.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Up to 5,000 characters. Start with the LoRA trigger phrase, then describe subject, clothing, place and light in full sentences. at least 1 characters · at most 5000 characters |
aspect_ratio | No | Nine shapes from 21:9 to 9:21, 1:1 by default. Every ratio costs the same. |
resolution | No | For FLUX.2 Klein Base 4B LoRA, 1k (default) is about one megapixel; 2k is 2048 pixels on the long side. Both tiers cost the same. |
loras | No | Up to three {path, scale} entries trained for FLUX.2 [klein] 4B or Base 4B. Default: |
seed | No | Use a seed from 0 to 2147483647 when comparing FLUX.2 Klein Base 4B LoRA settings, changing one input at a time; the shared random source does not guarantee identical pixels. |
Pricing
$0.018 / image
Billed per image at one flat price for every aspect ratio and both size tiers. Loading LoRAs adds no separate charge.
Use cases
Testing LoRAs you trained
Train on Klein Base 4B and run the file here at full quality, three at a time, without hosting a GPU.
Painted and pixel styles
Fantasy painting, colored-pencil and pixel-art LoRAs take over the whole frame on this build, even at scale 1.
Varied takes on one prompt
The undistilled model gives more variety between seeds, which helps when you are looking for a composition rather than polishing one.
Your own LoRAs on an unfiltered model
Weights are never reviewed and results are never filtered. The model holds back on its own, so load the LoRA your work needs.
Prompt guide & pro tips
Bring LoRAs trained on Base 4B
Base 4B is what most Klein 4B LoRAs are trained on, so they apply here at full strength. LoRAs trained on the distilled 4B loaded too in our tests; files for FLUX.1 or the 9B Klein models change nothing.
Start the scale at 1
Style LoRAs show strongly on this build. Begin at 1, try 0.5 for a lighter touch, and stay below 4: at 4 the image turned to noise.
Write sentences, trigger first
Put the LoRA trigger phrase first, then describe subject, clothing, place and light. There is no negative prompt or guidance control.
Check an ordinary scene change
For Base 4B LoRA edits, specify what must stay before describing a lighting, setting or style change. Those edits worked in SpicyAPI tests, but some requests returned the original image, so inspect the output before using it.
FLUX.2 Klein Base 4B LoRA pairs the undistilled Apache 2.0 checkpoint with your style weights. In SpicyAPI tests, the fantasy-painting adapter showed clearly at scale 1, while a coloured-pencil adapter trained on distilled 4B also worked; files from FLUX.1 or Klein 9B produced no visible change.
Introduction
FLUX.2 Klein Base 4B LoRA Text to image makes one image from a written prompt on Black Forest Labs' FLUX.2 [klein] Base 4B, the undistilled 4-billion-parameter foundation model released under Apache 2.0, with up to three of your own LoRA files loaded. Pick any of nine aspect ratios at about one megapixel or 2048 pixels on the long side, at one flat price per image. Nothing is filtered.
Choose a mode by starting material
| What you have | Mode |
|---|---|
| a written description and a LoRA | FLUX.2 Klein Base 4B LoRA Text to image |
| one to three pictures to change or combine | FLUX.2 Klein Base 4B LoRA Image edit |
The build LoRAs are trained on
Black Forest Labs recommends Base 4B for fine-tuning and LoRA training. LoRAs trained on it apply here at full strength, and in our tests LoRAs trained on the distilled 4B applied too.
Strong style response
Style LoRAs show strongly on this build: in our tests the same anime LoRA at scale 2 redrew a photographic scene in its style on Base, while the distilled 4B changed only slightly.
More variety, more time
The undistilled model gives more varied results between seeds and took about 20 seconds per image in our tests, around four times the distilled 4B.
Uncensored with custom weights
Weights are never reviewed and results are never filtered. On its own the model tones the Strong level down; with a LoRA trained for it loaded, that level came through as written. The Very strong level stayed toned down.
Checking a LoRA you trained
Run your Base 4B LoRA at a few scales and seeds without setting up a GPU, compare each result with a run that has no LoRA, and ship the same file to production once it holds up.
Painted and pixel-art series
Painting, colored-pencil and pixel-art LoRAs keep a whole series in one look across nine aspect ratios, from square thumbnails to 21:9 banners and 9:16 phone frames.
Exploring compositions
Use the extra variety between seeds to find a layout you like, then keep that seed and refine the clothing, light and setting around it one sentence at a time.
Trigger first, then full sentences
Start with the trigger phrase from the LoRA page, then describe subject, clothing, place and light.
Begin at scale 1
Styles show strongly here. Lower to 0.5 for a lighter touch; at 4 the image turned to noise in our test.
Compare against no LoRA
If the two results look the same, the file was made for another base model, such as FLUX.1 or the 9B Klein models: those load without an error and do nothing here.
Keep signs out of the frame
Signs, labels and chart headings often come out as garbled text. Describe them as blank or leave them out.
Use direct, public links
A Hugging Face file link or a Civitai download link works; a repository page or a gated file that needs a login fails the request, which is then not charged.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "black-forest-labs/flux-2-klein-base-4b-lora/text-to-image",
"input": {
"aspect_ratio": "1:1",
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"resolution": "1k"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.































