Flux ControlNet Union Pro 2.0 enables simultaneous Canny, Depth, Soft Edge, Pose, and Grayscale conditioning for precise image control. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
대기 중

$0.03실행당·~33 / $1

A robot is giving a speech.

Realistic full-body shot of a detective in a classic 1940s outfit, wearing a fedora and trench coat, cigarette in mouth, standing beside a vintage car in a rain-soaked alley, warm orange streetlights casting dramatic shadows

A write boy blowing bubbles in the park on a sunny afternoon, vivid colors, cinematic composition, sharp focus, realistic skin textures, shallow depth of field

A smiling young woman in a sunlit field, wearing a flowing yellow dress, realistic lighting, bright colors, ultra-detailed face, high-resolution, photo-realistic

a red fox standing quietly in a foggy forest, early morning light, soft shadows, cinematic atmosphere, depth of field, ultra detailed fur, natural colors, no humans

a single goldfish swimming inside a floating glass orb, suspended in the air, surrounded by gentle water ripples, soft glowing background, photorealistic, highly detailed, no people

a person holding a transparent umbrella, walking in the rain, viewed from behind, city lights reflected on wet ground, night mood, soft bokeh, no face visible

a girl walking alone on a beach at sunset, seen from behind, footprints in the sand, golden light reflecting on the ocean, emotional tone, no face

a person sitting by a large window in a library, reading a book, viewed from behind, warm ambient lighting, soft dust in the air, calm atmosphere, no facial features

a boy riding a bicycle down a country road, viewed from behind, late afternoon, sun filtering through trees, motion blur on background, gentle atmosphere, no face visible
FLUX ControlNet Union Pro 2.0 is a ControlNet-guided image generation model that lets you lock in structure using a control image while still following your text prompt for style and details. Upload a control_image (e.g., pose/shape/edge-like guidance), describe what you want to create, and the model generates images that respect the control geometry—ideal for pose fidelity, layout consistency, and repeatable compositions. It also supports optional LoRAs (up to 3) to further steer style.
| Output | Price |
|---|---|
| Per image | $0.03 |
Core:
ControlNet:
LoRA (up to 3 items):
loras: list of LoRA entries (max 3)
path: owner/model-name or a direct.safetensors URL
scale: LoRA strength (start moderate and adjust)
A reliable pattern is “structure + subject + style”:
Template: Using the control image for pose/layout, generate [subject] in [scene]. Style: [style cues]. Lighting: [lighting cues]. Keep composition consistent with the control image.
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-controlnet-union-pro-2.0 with your input as JSON. The endpoint returns a prediction id. Start polling the result endpoint around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. On completed, read URLs from data.outputs. Examples for Flux Controlnet Union Pro 2.0 below.
# Submit the prediction
curl --fail-with-body --connect-timeout 10 --max-time 60 \
-X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-controlnet-union-pro-2.0" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"num_inference_steps": 28,
"guidance_scale": 3.5,
"controlnet_conditioning_scale": 0.7,
"control_guidance_start": 0,
"control_guidance_end": 0.8,
"seed": 0,
"num_images": 1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}'
# Wait at least 2 seconds, then poll. Safe GET requests may be retried.
curl --fail-with-body --connect-timeout 10 --max-time 30 \
--retry 4 --retry-all-errors --retry-delay 1 \
-X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# Start at 2 seconds and increase the interval for long-running tasks.
# Stop on completed, failed, cancelled, or timeout.// npm install wavespeed
const { Client } = require('wavespeed');
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
const client = new Client(apiKey, {
maxConnectionRetries: 5,
retryInterval: 1.0,
});
try {
const result = await client.run("wavespeed-ai/flux-controlnet-union-pro-2.0", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"num_inference_steps": 28,
"guidance_scale": 3.5,
"controlnet_conditioning_scale": 0.7,
"control_guidance_start": 0,
"control_guidance_end": 0.8,
"seed": 0,
"num_images": 1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}, {
timeout: 3600,
pollInterval: 2.0,
});
console.log(result.outputs);
} catch (error) {
console.error('Generation failed:', error);
process.exitCode = 1;
}# pip install wavespeed
import os
from wavespeed import Client
client = Client(
api_key=os.environ["WAVESPEED_API_KEY"],
max_connection_retries=5,
retry_interval=1.0,
)
try:
output = client.run(
"wavespeed-ai/flux-controlnet-union-pro-2.0",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"num_inference_steps": 28,
"guidance_scale": 3.5,
"controlnet_conditioning_scale": 0.7,
"control_guidance_start": 0,
"control_guidance_end": 0.8,
"seed": 0,
"num_images": 1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
},
timeout=3600.0,
poll_interval=2.0,
)
print(output["outputs"])
except Exception as error:
raise SystemExit(f"Generation failed: {error}") from errorFlux Controlnet Union Pro 2.0 is a WaveSpeedAI model for image editing, exposed as a REST API on WaveSpeedAI. Flux ControlNet Union Pro 2.0 enables simultaneous Canny, Depth, Soft Edge, Pose, and Grayscale conditioning for precise image control. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates production-oriented Python, JavaScript, and cURL examples with timeouts, transient-error handling, and safe GET retries. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/flux-controlnet-union-pro-2.0.
Flux Controlnet Union Pro 2.0 starts at $0.030 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `size`, `seed`, `guidance_scale`, `num_inference_steps`, `control_guidance_end`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/flux-controlnet-union-pro-2.0.
Average end-to-end generation time on WaveSpeedAI is around 6 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.
Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.