Pricing
Compare models →Simple per-image billing:
- $0.12 per edited image
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imagesRequired | array | List of URLs of input images for editing. The maximum number of images is 3.Items: 0–3JSON schema{
"items": {
"type": "string"
}
} |
size | string | The size of the generated media in pixels (width*height).Minimum: 256 · Maximum: 1536 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
FLUX.2 [flex] — Image-to-Image Edit
FLUX.2 [flex] Edit is a configurable image editing model built on FLUX.2 [flex], aimed at teams that need fine control over how edits are applied. It can work with one or multiple reference images and lets you tune quality–speed trade-offs, making it a good fit for style-heavy, budget-conscious production workflows.
Act Well On
- Multi-image product and lifestyle compositions
- Brand asset refinement with style or reference images
- Typography and layout touch-ups in existing designs
- E-commerce and marketing visuals that need frequent updates
Why it looks great?
• Multi-image aware composition
Combine several reference images in a single edit when building product collages or style transfers. You can point to specific references by index (for example, “use the background from image 2 and the typography from image 4”) or simply describe them in the prompt.
• Adjustable quality and speed
Control inference steps based on how complex the edit is: quick colour swaps or minor clean-up can run with fewer steps, while dense multi-image edits can use higher settings for extra detail.
• Guidance control for edits
Decide how strictly the model should follow your instructions versus preserving the original look. Dial guidance lower for looser, creative reinterpretations; raise it when you want near-literal edits.
• Strong text and layout handling
Well suited for fixing signage, labels, and UI text inside images, keeping typography sharp while updating wording, colours, or layout.
• Natural language plus hex colour control
Describe edits in plain language (“make the jacket match the blue from our brand palette”) and use hex codes when you need exact corporate colours for products, UI elements, or backgrounds.
• LoRA- and pipeline-friendly
Works smoothly with LoRA adapters for brand or domain-specific styles, and its configurable nature makes it easy to slot into larger editing pipelines that need both flexibility and cost control.
• Output ready for production
Exports JPEG so edited assets can go straight into design tools, websites, or print-oriented workflows without extra conversion.
Pricing
Simple per-image billing:
- $0.12 per edited image
FLUX.2 family on OpenSIAI
Mix and match FLUX.2 models for a full generate-and-edit workflow:
- [FLUX.2 [dev] Text-to-Image](/models/opensi-ai/flux-2-dev/text-to-image) – lightweight base model optimised for speed and LoRA training.
- [FLUX.2 [dev] Edit](/models/opensi-ai/flux-2-dev/edit) – fast, style-consistent edits on existing images with a lean architecture.
- [FLUX.2 [flex] Text-to-Image](/models/opensi-ai/flux-2-flex/text-to-image) – versatile, style-rich generation with broader aesthetics at high speed.
- [FLUX.2 [pro] Text-to-Image](/models/opensi-ai/flux-2-pro/text-to-image) – higher-capacity model for maximum-quality hero shots and demanding production work.
- [FLUX.2 [pro] Edit](/models/opensi-ai/flux-2-pro/edit) – premium editing for detailed, high-fidelity transformations on critical assets.
More Image Tools on OpenSIAI
- Nano Banana Pro – Google’s Gemini-based text-to-image model for sharp, coherent, prompt-faithful visuals that work great for ads, keyframes, and product shots.
- Seedream V4 – ’s style-consistent, multi-image generator ideal for posters, campaigns, and large batches of on-brand illustrations.
- Qwen Edit Plus – an enhanced Qwen-based image editor for precise inpainting, cleanup, and local style changes while preserving overall composition.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Flex Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-flex/edit 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",
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/yhq843ini355.jpg"
],
"size": "example",
"seed": 0
}FLUX 2 Flex Edit API — Frequently asked questions
What is the Flux 2 Flex Edit API?
Flux 2 Flex Edit is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.2 [flex] Edit delivers precise image-to-image editing from Black Forest Labs—apply natural-language instructions and exact hex color control for consistent, studio-quality results. 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 2 Flex Edit 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-2-flex/edit.
How much does Flux 2 Flex Edit cost per run or per second?
Flux 2 Flex Edit starts at $0.12 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 2 Flex Edit accept?
Key inputs: prompt, images, seed. 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-2-flex/edit.
How long does Flux 2 Flex Edit take to generate?
Reported generation time on OpenSIAI is around 26 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 2 Flex Edit 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.
