FLUX 2 Klein 4B generates images from text and transforms supplied artwork, with reference-guided editing for artistic style, lighting, and mood changes.

FLUX 2 Klein 4B Edit API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-klein-4b \
-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.
FLUX 2 Klein 4B Text to Image API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-klein-4b \
-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.
Supported modes
Edit
Edit uses images and prompt. Adjust the model options to prepare a request for this mode.
image.editText to Image
Text to Image uses prompt. Adjust the model options to prepare a request for this mode.
image.generatePricing
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 |
Edit options
Text to Image options
FLUX 2 Klein 4B
FLUX 2 Klein 4B supports both image generation and text-guided editing. Written descriptions provide the basis for original visuals; existing images provide the material for transformations. Reference imagery can supply additional context for an edit, connecting the requested change to a visual example.
Editing covers changes to content and appearance, including lighting and atmosphere. It can reinterpret supplied artwork in comic, anime, or painted styles. The combination lets a team develop an initial concept and then examine how a selected image works in different treatments.
What it's good for
Early design reviews can use generated drafts to discuss a proposed scene or visual theme. A chosen draft can then be edited to test a different mood, giving reviewers alternatives tied to the same starting image.
Existing illustrations can also become themed presentation graphics or social artwork through changes in style and lighting. Reference-guided editing provides a visual basis for exploring the intended treatment.
Run FLUX 2 Klein 4B on Protoface
Use FLUX 2 Klein 4B 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










