FLUX 2 Klein 9B generates images from text and edits existing imagery, including combining a subject from one reference with a scene from another.
Model overview
- Model ID
wavespeed-ai/flux-2-klein-9b- Output Type
- Image
- Pricing
- From $0.01 / run
- Provider
- WaveSpeed
- Hosting
- External

FLUX 2 Klein 9B Text to Image API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-klein-9b \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.generate",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"size": "1024*1024"
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
FLUX 2 Klein 9B Edit API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-klein-9b \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.edit",
"images": "https://example.com/your-image.png",
"prompt": "A red fox resting beside a woodland stream, soft morning light."
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Text to Image
Text to Image uses prompt. Adjust the model options to prepare a request for this mode.
image.generateEdit
Edit uses images and prompt. Adjust the model options to prepare a request for this mode.
image.editPricing
Image editing
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| All listed options | $0.02 / run |
- Images count: 1, 2, 3 (same price).
Image generation
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.01 / run |
Text to Image options
Edit options
FLUX 2 Klein 9B
FLUX 2 Klein 9B creates images from written descriptions and transforms supplied images through text-guided editing. A description establishes the visual for generation; in editing, reference images provide the material and the written instruction describes what should change.
Its editing capabilities include combining elements from separate references. A person from one image can become part of another scene, making compositing useful when a project already has subjects or backgrounds to work with. Edits can also change artistic style, lighting, or mood.
What it's good for
For concept art, generation can establish a setting and editing can explore different treatments of the selected image. This supports visual development from an initial written idea through revisions to its atmosphere or content.
Promotional artwork can use reference-based compositing to assemble existing assets into a shared scene. Style changes also offer a way to explore how source imagery could fit a campaign's artistic direction.
Run FLUX 2 Klein 9B on Protoface
Use FLUX 2 Klein 9B in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

About WaveSpeed
WaveSpeed is an AI inference platform offering third-party generative models through developer APIs and creator applications. Its image and video workflows sit alongside WaveSpeed-branded media tools, including Video Face Swap, which takes source footage and a reference portrait to replace a selected face in a video.
- Media inference
- Creative tools
- Video face swap










