Pricing
Compare models →| Output | Price |
|---|---|
| Per image | $0.03 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
control_imageRequired | string | The URL of the control image for ControlNet guidance. |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 1536 |
num_inference_steps | integer | The number of inference steps to perform.Default: 28Minimum: 1 · Maximum: 50 |
guidance_scale | number | The guidance scale to use for the generation.Default: 3.5Minimum: 0 · Maximum: 20 |
controlnet_conditioning_scale | number | The conditioning scale for ControlNet. Higher values make the output follow the control image more closely.Default: 0.7Minimum: 0 · Maximum: 2 |
control_guidance_start | number | The fraction of total steps at which ControlNet guidance start.Default: 0Minimum: 0 · Maximum: 1 |
control_guidance_end | number | The fraction of total steps at which ControlNet guidance ends.Default: 0.8Minimum: 0 · Maximum: 1 |
loras | array | List of LoRAs to apply (max 3).Items: 0–3JSON schema{
"items": {
"properties": {
"path": {
"description": "URL or the path to the LoRA weights.",
"type": "string"
},
"scale": {
"default": 1,
"description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
"maximum": 4,
"minimum": 0,
"type": "number"
}
},
"required": [
"path"
],
"type": "object",
"x-order-properties": [
"path",
"scale"
]
}
} |
seed | integer | The random seed to use for the generation. |
num_images | integer | The number of images to generate.Default: 1Minimum: 1 · Maximum: 4 |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
FLUX ControlNet Union Pro 2.0 — OpenSI-ai/flux-controlnet-union-pro-2.0
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.
Key capabilities
- ControlNet-guided generation using a required control_image
- Strong structure fidelity: keeps pose/layout consistent across generations
- Prompt-driven styling: change appearance, materials, lighting, and mood while keeping geometry
- Fine control over when/how much control is applied via conditioning and guidance range
- LoRA support (up to 3) for consistent styles or specialized looks
Use cases
- Pose-locked character generation from a silhouette/pose control image
- Recreating the same composition in multiple art styles for A/B creative testing
- Storyboarding with consistent framing and character blocking
- Product mockups with fixed layout and controllable styling
- Batch generation with a “house style” using LoRAs while keeping geometry stable
Pricing
| Output | Price |
|---|---|
| Per image | $0.03 |
Inputs
- prompt (required): what to generate (subject, scene, style)
- control_image (required): the structural guide image
Parameters
Core:
- prompt: text instruction for content and style
- control_image: structural guidance image
- width / height: output size
- num_inference_steps: sampling steps (higher can improve detail but increases latency)
- guidance_scale: prompt adherence strength
- seed: fixed value for reproducibility; change for variation
- num_images: number of outputs per run
- output_format: jpeg or png
- enable_base64_output: return BASE64 instead of URL (API only)
- enable_sync_mode: wait for generation and return results directly (API only)
ControlNet:
- controlnet_conditioning_scale: strength of control_image guidance (higher = stricter structure)
- control_guidance_start: when control starts applying (0–1 timeline)
- control_guidance_end: when control stops applying (0–1 timeline)
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)
Prompting guide
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.
Example prompts
- Using the control image for pose, generate a robot giving a speech at a podium, cinematic lighting, shallow depth of field, high detail, realistic materials.
- Using the control image for layout, generate a fantasy wizard on a stage, glowing runes, volumetric fog, dramatic rim light, illustrated style.
- Using the control image for silhouette, generate a sleek product hero shot with glossy reflections and a clean studio background.
Reference
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX ControlNet Union Pro 2.0 API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-controlnet-union-pro-2.0 for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"control_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"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,
"loras": [],
"seed": 0,
"num_images": 1,
"output_format": "jpeg"
}FLUX ControlNet Union Pro 2.0 API — Frequently asked questions
What is the Flux Controlnet Union Pro 2.0 API?
Flux Controlnet Union Pro 2.0 is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. 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.
How do I call the Flux Controlnet Union Pro 2.0 API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI 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 Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/flux-controlnet-union-pro-2.0.
How much does Flux Controlnet Union Pro 2.0 cost per run or per second?
Flux Controlnet Union Pro 2.0 starts at $0.03 per run or per second. 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.
What inputs does Flux Controlnet Union Pro 2.0 accept?
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 /docs/docs-api/opensi-ai/flux-controlnet-union-pro-2.0.
How long does Flux Controlnet Union Pro 2.0 take to generate?
Reported generation time on OpenSIAI is around 21 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Flux Controlnet Union Pro 2.0 outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
