Pricing
Compare models →Simple per-image billing:
- $0.024 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: 2048 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
FLUX.2 [dev] — Edit
FLUX.2 [dev] Edit is the lean editing companion to FLUX.2 [dev] Text-to-Image: a lightweight, open-source model that updates existing images quickly while keeping their core look intact. It is built for day-to-day production tasks where you need reliable edits at scale without burning GPU budget.
Built for
- Quick visual tweaks to existing assets
- Consistent updates to product, UI, or brand imagery
- High-volume editing in cost-sensitive pipelines
- Workflows already using FLUX.2 [dev] for generation
- LoRA-based domain or brand customisation on a small footprint
Lean editing engine for everyday pipelines
Instead of regenerating images from scratch, FLUX.2 [dev] Edit focuses on local changes. You feed it an image plus an edit prompt (and, when supported, a mask or strength setting); it modifies only the requested areas, keeping layout, characters, and overall style stable so assets remain recognisable across versions.
Key benefits
• Prompt-guided adjustments
Change lighting, colour, clothing, props, or background details with short text instructions, replacing manual retouching and pixel-level editing.
• Consistent look and feel
Refresh campaigns, seasonal variants, or A/B test creatives while preserving character identity, composition, and brand language across all outputs.
• Open and integration-friendly
Built on the same open FLUX.2 stack, making it straightforward to plug into internal tools, debug behaviour, or extend with custom logic.
• Small, efficient footprint
The compact dev architecture keeps inference costs low, which is ideal for batch processing, automation, and always-on backend services.
• Flexible I/O
Accepts standard image formats and returns JPEG or PNG, so edited results fit directly into web, design, and post-production workflows.
• Repeatable results
Seed control plus fixed prompts make it easy to recreate previous edits or generate controlled variations for QA, experimentation, and asset refreshes.
Pricing
Simple per-image billing:
- $0.024 per edited image
FLUX.2 family on OpenSIAI
Combine FLUX.2 [dev] Edit with the rest of the FLUX.2 lineup for a full generate-and-refine 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 Flex Text-to-Image – more flexible, style-rich generation for creative exploration.
- FLUX.2 Flex Edit – powerful image editing with a broader stylistic range.
- FLUX.2 Pro Text-to-Image – higher-capacity model for maximum-quality hero shots and demanding production use.
- FLUX.2 Pro Edit – premium editing for detailed, high-fidelity transformations.
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 Dev Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-dev/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/98u2oa5o45jw.jpg"
],
"size": "example",
"seed": 0
}FLUX 2 Dev Edit API — Frequently asked questions
What is the Flux 2 Dev Edit API?
Flux 2 Dev Edit is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.2 [dev] Edit enables 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 Dev 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-dev/edit.
How much does Flux 2 Dev Edit cost per run or per second?
Flux 2 Dev Edit starts at $0.024 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 Dev 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-dev/edit.
How long does Flux 2 Dev Edit take to generate?
Reported generation time on OpenSIAI is around 22 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 Dev 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.
