Pricing
Compare models →Simple per-image billing:
- $0.018 per generated image
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 2048 |
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. -1 means a random seed will be used. |
README
FLUX.2 [dev] — Text-to-Image with LoRA
FLUX.2 [dev] with LoRA support is the personalised version of the lean FLUX.2 [dev] Text-to-Image model. It keeps the fast, stable base behaviour, while letting you plug in up to 4 custom LoRA adapters to inject your own styles, characters, or brand identity into each generation.
Good for
- Rapid prototyping with personalised visual styles
- Brand-specific image generation at scale
- Character-consistent content (mascots, VTubers, OCs, etc.)
- Custom training workflows based on LoRA fine-tuning
- Teams that need both speed and fine-grained style control
LoRA-powered personalisation on a lean base
FLUX.2 [dev] + LoRA starts from the same lightweight, production-friendly dev model and adds adapter hooks for your own LoRAs. You can mix several adapters in one request, control their strengths independently, and still get the fast turnaround and predictable behaviour that make dev a good “default” engine.
Why Choose this
• Familiar dev behaviour, with extra style control
You get the same quick, reliable generations as [FLUX.2 [dev] Text-to-Image](/models/opensi-ai/flux-2-dev/text-to-image), plus the ability to load custom LoRAs for specific art styles, brand looks, or recurring characters.
• Up to 4 LoRAs in a single run
Attach as many as four adapters at once and give each one its own strength (0–4). Combine, for example, a character LoRA, a lighting/style LoRA, and a brand-colour LoRA in one prompt to keep everything consistent across outputs.
• Style-consistent batches
Generate 1–4 images per request with the same LoRA stack, making it easy to produce A/B variants, campaign sets, or social content packs that share a coherent visual identity.
• Open, transparent foundation
Built on the same open FLUX.2 stack as the base dev model, so integrating with your own LoRA training, management, and deployment tooling is straightforward.
• Cost-effective customisation
LoRA adapters add only a small overhead compared with full fine-tuning, which keeps per-image costs low even when you apply several custom styles.
Pricing
Simple per-image billing:
- $0.018 per generated 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] Edit](/models/opensi-ai/flux-2-dev/edit) – refine and update existing images with prompt-based edits.
- [FLUX.2 [dev] Edit LoRA](/models/opensi-ai/flux-2-dev/edit-lora) – image editing that also supports LoRA-based personalisation.
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 still preserve overall composition.
- FLUX Kontext LoRA – a FLUX.2 dev LoRA stack optimised for cleaner prompts, better context handling, and more coherent, production-friendly generations.
- SDXL-LoRA – a collection of SDXL LoRAs offering a wide range of ready-made styles and subjects, ideal for fast customisation without full fine-tuning.
LoRA resources
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Dev Text to Image LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-dev/text-to-image-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",
"size": "1024*1024",
"loras": [],
"seed": 0
}FLUX 2 Dev Text to Image LoRA Image API — Frequently asked questions
What is the Flux 2 Dev Text To Image Lora API?
Flux 2 Dev Text To Image Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.2 [dev] with LoRA support delivers fast, studio-quality text-to-image generation with enhanced realism, crisper text rendering, and personalized styles via custom LoRA adapters. Extends FLUX.2 [dev] with up to 4 LoRAs for brand-specific outputs. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Flux 2 Dev Text To Image 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/text-to-image-lora.
How much does Flux 2 Dev Text To Image Lora cost per run or per second?
Flux 2 Dev Text To Image Lora starts at $0.018 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 Text To Image Lora accept?
Key inputs: prompt, size, 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/text-to-image-lora.
How long does Flux 2 Dev Text To Image Lora take to generate?
Reported generation time on OpenSIAI is around 112 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 Text To Image 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.
