FLUX 2 Dev generates images from text and revises existing imagery, supporting lighting, wardrobe, and background changes while retaining the image's overall look.

FLUX 2 Dev Edit API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-dev \
-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 Dev Text to Image API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/flux-2-dev \
-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.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 |
Edit options
Text to Image options
FLUX 2 Dev
FLUX 2 Dev combines image generation with text-guided editing. A written description establishes an original scene, while supplied imagery and an edit description provide the basis for revisions. This supports a connected workflow from initial concept to variations of a selected asset.
Editing can change lighting or color, replace clothing and props, or update background details. It is designed to retain the established composition and recognizable appearance as those elements change, making it useful when the main subject and framing already serve the project.
What it's good for
Campaign teams can develop a visual direction from text, then use a chosen image to explore seasonal treatments. Product imagery can receive a different atmosphere or setting while keeping the central presentation familiar.
For illustrated concepts, revisions can focus on a character's wardrobe or the surrounding scene. These variations give art directors concrete alternatives to review while maintaining continuity with the selected composition.
Run FLUX 2 Dev on Protoface
Use FLUX 2 Dev 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










