- Image generation
FLUX.2 Klein on QuickSilver Pro
FLUX.2 Klein is the open, distilled member of the FLUX.2 family — strong prompt adherence and in-image text at a fraction of flagship cost. On QuickSilver Pro it's $0.02 per generated image at market parity, billed from the same prepaid balance as your chat usage. Call it with the OpenAI SDK's images.generate against our base URL.
- Image output
You pay · per generated image
$0.02
At list price
same rates as typical FLUX.2 hosted API
Pricing (per generated image)
Bar length = price relative to the list price
| Provider | Per image | vs QSP |
|---|---|---|
| QuickSilver Pro | $0.02 | — |
| typical FLUX.2 hosted API | $0.02 | same |
DeepInfra list source: deepinfra.com/black-forest-labs/FLUX-2-klein-4b
At a glance
- Modality
- Image generation
- Price / image
- $0.02
- Endpoint
- /v1/images/generations
- OpenAI-compatible
- Yes
- Latency · live
- —
Balanced open FLUX.2 image generation — quality and cost in one.
Try it
Runs on your own API key and balance, billed exactly like an API call.
Your image appears here.
The same request as code
curl https://api.quicksilverpro.io/v1/images/generations \
-H "Authorization: Bearer $QSP_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux.2-klein",
"prompt": "A ripe red apple on a white marble table, soft studio light, product photo",
"size": "1024x1024",
"n": 1
}'import base64, os
from openai import OpenAI
client = OpenAI(base_url="https://api.quicksilverpro.io/v1", api_key=os.environ["QSP_KEY"])
result = client.images.generate(
model="flux.2-klein",
prompt="A ripe red apple on a white marble table, soft studio light, product photo",
size="1024x1024",
n=1,
)
with open("out.png", "wb") as f:
f.write(base64.b64decode(result.data[0].b64_json))import fs from "node:fs";
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.quicksilverpro.io/v1", apiKey: process.env.QSP_KEY });
const result = await client.images.generate({
model: "flux.2-klein",
prompt: "A ripe red apple on a white marble table, soft studio light, product photo",
size: "1024x1024",
n: 1,
});
fs.writeFileSync("out.png", Buffer.from(result.data[0].b64_json, "base64"));OpenAI Images API. The response is OpenAI-shaped — data[0].b64_json holds the image. One key for chat and images.
When is FLUX.2 Klein the right call?
Curated from catalog capabilities and published prices, not a benchmark.
When to use
Reach for FLUX.2 Klein when you want most of FLUX.2's quality — clean prompt adherence, legible in-image text — without the flagship per-image price. Existing OpenAI-SDK image code works with a base-URL swap.
- Text-to-image at a flat $0.02 per image
- Existing OpenAI Images API code, after a base URL swap
- One key and balance for chat and images
When to use something else
For the highest fidelity product and marketing renders, FLUX.2 Pro leads; for the cheapest high-volume drafts, FLUX.1 Schnell or SDXL Turbo cost less. Advanced controls aren't exposed through the basic OpenAI Images parameters yet.
- Price per image matters mostGPT Image 2.5 Flare costs $0.018 per image.GPT Image 2.5 Flare $0.018 / img
- You want another Black Forest Labs image modelFLUX.2 Pro costs $0.027 per image.FLUX.2 Pro $0.027 / img
- You want another Black Forest Labs image modelFLUX.1 Schnell costs $0.003 per image.FLUX.1 Schnell $0.003 / img
Gateway behavior
Compatibility notes for this model.
size- 1024 × 1024 for now — more sizes are coming.
response- The image comes back as base64 in data[0].b64_json.
- /v1/images/generations: Supported
Where the price comes from
- Provider reference
- $0.02deepinfra.com/black-forest-labs/FLUX-2-klein-4b
- Catalog verified
Billed per generated image: $0.02.
/pricing.jsonFAQ
Common questions
$0.02 per generated image on QuickSilver Pro, priced at market parity. Billed per image, from the same prepaid balance as your chat usage.
POST to /v1/images/generations with model="flux.2-klein", or use the OpenAI SDK's images.generate. data[0].b64_json holds the base64 image.
Yes — it uses the OpenAI Images API. One key and base URL cover both chat and image generation.