FLUX 2 Klein Base 9B generates images from text and revises source imagery through element replacement, reference-based compositing, and changes to style or setting.
Model overview
- Model ID
wavespeed-ai/flux-2-klein-base-9b- Output Type
- Image
- Pricing
- From $0.02 / run
- Provider
- WaveSpeed
- Hosting
- External

FLUX 2 Klein Base 9B Text to Image API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-klein-base-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 Base 9B Edit API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-klein-base-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.03 / run |
- Images count: 1, 2, 3 (same price).
Image generation
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.02 / run |
Text to Image options
Edit options
FLUX 2 Klein Base 9B
FLUX 2 Klein Base 9B pairs text-to-image generation with editing driven by written instructions. Generation starts from a description of the desired image. Editing starts from supplied imagery, giving the model subjects and settings to transform according to the requested change.
Reference-based compositing can combine subjects or objects from separate images into one composition. Editing also supports replacing elements and changing an image's environment, lighting, or style. These capabilities connect original image creation with revisions that draw on existing visual material.
What it's good for
Concept artists can develop a scene from a written brief, then explore a different setting or atmosphere through edits. Supplied references can add specific source material to that process, such as a subject intended for a particular background.
For marketing design, the model suits campaign concepts and adaptations of existing imagery. A team can generate an initial illustration or assemble supplied assets into promotional compositions, then explore changes to the visual treatment.
Run FLUX 2 Klein Base 9B on Protoface
Use FLUX 2 Klein Base 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










