Pricing
Compare models →Simple per-image billing:
- $0.03 per edited image
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The prompt describing the desired edits to the image. |
imagesRequired | array | List of URLs of input images for editing. The maximum number of images is 3.Items: 0–3JSON schema{
"items": {
"type": "string"
}
} |
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"
]
}
} |
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 with LoRA
FLUX.2 [dev] Edit LoRA is a lightweight, LoRA-aware editing model built on FLUX.2 [dev]. It’s designed to take an existing image and apply personalised, structure-preserving edits using natural language prompts plus up to 4 custom LoRA adapters—ideal when you want fast, consistent updates to assets you already have.
Ideal use cases
- Refreshing existing brand or product imagery with custom LoRAs
- Keeping characters consistent across many edited shots
- Rolling out seasonal or campaign variants from a stable asset library
- Post-processing generations from FLUX.2 [dev] Text-to-Image
- Teams that need low-cost, high-volume edits with style control
LoRA-guided editing on a compact engine
Starting from the same lean architecture as [FLUX.2 [dev] Edit](/models/opensi-ai/flux-2-dev/edit), Edit LoRA adds adapter hooks so your custom LoRAs can drive the look and feel of each edit. The base image anchors composition and identity, while LoRAs and prompts work together to adjust style, colours, and details—keeping edits fast and predictable even at scale.
Why teams pick this model
• Dev-class editing, upgraded with LoRAs
You keep the familiar behaviour of the original Edit model (local, prompt-based changes) and layer LoRAs on top for brand styles, art directions, or recurring characters—so everything stays on-model across campaigns.
• Multiple LoRAs in one pass
Attach up to four adapters at once, each with its own strength range (0–4). For example, combine a “character” LoRA, a “lighting/style” LoRA, and a “brand palette” LoRA while you update backgrounds, outfits, or props via text.
• Structure stays, style evolves
The model treats the input image as the anchor: faces, poses, and layout remain intact while textures, colours, and surface details are updated. That makes it ideal for catalogue refreshes and long-running series.
• Batch-friendly performance
Generate 1–4 edited variants per request using the same LoRA stack and prompt. This makes it easy to spin up A/B sets, platform variants, or bulk updates without manually tracking parameters per image.
• Open, integration-ready foundation
Built on the open FLUX.2 dev stack, so it plugs cleanly into your own LoRA training, storage, and deployment infrastructure, whether you manage LoRAs per client, per brand, or per project.
• Cost-efficient asset reuse
Because LoRAs are lightweight and edits are local, you can update large libraries of images at low cost—instead of regenerating everything from scratch or retraining a full model.
Pricing
Simple per-image billing:
- $0.03 per edited image
FLUX.2 [dev] family on OpenSIAI
- [FLUX.2 [dev] Text-to-Image](/models/opensi-ai/flux-2-dev/text-to-image) – base model without LoRA for the fastest, most lightweight generation.
- [FLUX.2 [dev] Text-to-Image with LoRA](/models/opensi-ai/flux-2-dev/text-to-image-lora) – personalised generation with up to 4 LoRAs per prompt.
- [FLUX.2 [dev] Edit](/models/opensi-ai/flux-2-dev/edit) – prompt-based editing of existing images using the plain dev backbone.
- [FLUX.2 [dev] Edit with LoRA](/models/opensi-ai/flux-2-dev/edit-lora) – this model, for LoRA-powered, structure-preserving edits on existing assets.
More LoRA-support image tools
- qwen-image/edit-plus-lora – combines Qwen’s strong semantic understanding with LoRA-based style control for precise, localised edits that keep the overall composition intact.
- FLUX Kontext LoRA – a FLUX.2 dev LoRA stack tuned for cleaner prompts, better context handling, and more coherent, production-friendly generations.
- SDXL-LoRA – a collection of SDXL LoRAs covering many styles and subjects, ideal for fast visual customisation without full-model fine-tuning.
LoRA resources
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Dev Edit LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-dev/edit-lora 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": [],
"loras": [],
"size": "example",
"seed": 0
}FLUX 2 Dev Edit LoRA Image API — Frequently asked questions
What is the Flux 2 Dev Edit Lora API?
Flux 2 Dev Edit Lora is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.2 [dev] Edit with LoRA support enables precise image-to-image editing with natural-language instructions, hex color control, and personalized styles via custom LoRA adapters. Extends FLUX.2 [dev] Edit with up to 4 LoRAs for consistent, brand-specific 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 Lora 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-lora.
How much does Flux 2 Dev Edit Lora cost per run or per second?
Flux 2 Dev Edit Lora 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 2 Dev Edit Lora accept?
Key inputs: prompt, images, seed, loras. 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-lora.
How long does Flux 2 Dev Edit Lora take to generate?
Reported generation time on OpenSIAI is around 28 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 Lora 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.
