Loading template…
✦

flux-3/klein-text-to-image

⚡ Run with API

Flux 3 is Black Forest Labs' new generation of image models. ModelFold starts with Flux 3 Klein for fast text-to-image generation and multi-reference image editing up to 4K, with more Flux 3 models to follow.

Model Type:

Pricing: 1K 2 credits / image, 2K 3 credits / image, 4K 8 credits / image.

Playground

Pre-filled from the model spec — run it as-is, or tweak any field first.

Ready
Prompt

Describe the image to generate, in any language (up to 5,000 characters).

width256

Output image width. Both must be passed at the same time; JSON integers, each side ≥256 and ≤4096; aspect ratio between 1:2.5 and 2.5:1. Once passed, aspect_ratio and resolution are ignored.

height640

Output image height. Both must be passed at the same time; JSON integers, each side ≥256 and ≤4096; aspect ratio between 1:2.5 and 2.5:1. Once passed, aspect_ratio and resolution are ignored.

Aspect ratio

Output aspect ratio.

Resolution

Output resolution: 1K, 2K or 4K. Higher resolutions cost more and take longer.

output_format

Output image format.

num_images1

Number of images to generate with the same settings.

Seed

Random seed. Omit for a random result; with the same seed and parameters the result is reproducible. When generating multiple images, image i uses seed + i. 0-2147483647

enhance_prompt

Rewrites the prompt into a fuller description before generating, which noticeably improves quality. Enabled by default; pass false to turn it off. Recommended to turn off when your request must be followed literally (exact text edits, "keep X unchanged and only change Y", fixed compositions) or when latency matters.

nsfw_checker

A configurable parameter. Defaults to true in the Playground.

There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements.

Balance: —Estimated reservation8 credits(estimated before generation; actual charge shown on completion)
Result
History

Sample output for this variant — press Run to generate your own.

Rate card
Klein Text To Image
1K2 credits / image
2K3 credits / image
4K8 credits / image
Klein Edit Image
1K2 credits / image
2K3 credits / image
4K8 credits / image
Quick start
POST/v1/images/generations
curl https://modelfold.ai/v1/images/generations \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"flux-3/klein-text-to-image","prompt":"..."}'