Pricing
Compare models →Simple per-image billing:
- $0.06 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 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
FLUX.2 [flex] — Text-to-Image
FLUX.2 [flex] is the creative workhorse of the FLUX.2 family: a configurable, style-forward text-to-image model that delivers professional visuals while leaving plenty of room for experimentation. It is designed for teams who want more control over aesthetics and behaviour than a strictly “locked” production model.
Where FLUX.2 [flex] fits best
- Style-driven exploration and concept art
- High-volume generation where visual diversity is important
- Brand and product imagery that needs frequent refinements
- Fine-tuning experiments for domain- or brand-specific looks
Creative-first generation with control knobs
Rather than fixing all sampling behaviour, FLUX.2 [flex] keeps the lean FLUX.2 core but exposes more room to steer style, strength, and interpretation. You get production-usable images at good speed, while being able to push colour, mood, and composition further than with purely “set-and-forget” pipelines.
What you can get from this?
• Wide stylistic latitude
Produces a broad range of looks and moods—from clean product shots to heavily stylised illustration—so a single prompt can be explored in multiple creative directions.
• Tunable quality–speed trade-off
Supports configuration of inference settings, letting you run quick drafts cheaply and then dial up quality for shortlisted ideas or final renders.
• Open, extensible foundation
Built on open FLUX.2 tooling and community contributions, making it straightforward to inspect, adapt, and embed flex deeply into custom stacks.
• Friendly to LoRA and custom training
Works well as a base for LoRA adapters or other lightweight fine-tuning, so you can lock in house styles, specific subjects, or niche domains without retraining a heavyweight model.
• Resource-conscious for large runs
The streamlined architecture keeps GPU usage moderate, which is ideal for batch jobs, internal tools, and cost-sensitive creative pipelines.
• Consistent, repeatable results
Seed control and stable behaviour make it easy to recreate favourite generations or generate controlled variations for A/B tests and iterative design work.
Pricing
Simple per-image billing:
- $0.06 per generated image
FLUX.2 family on OpenSIAI
Combine FLUX.2 [flex] with the rest of the FLUX.2 lineup for a complete creation and editing 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 the same lean architecture.
- [FLUX.2 [flex] Edit](/models/opensi-ai/flux-2-flex/edit) – powerful image editing with a broader stylistic range and precise prompt control.
- [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 use.
- [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 Text to Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-flex/text-to-image 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",
"seed": 0
}FLUX 2 Flex Text to Image API — Frequently asked questions
What is the Flux 2 Flex Text To Image API?
Flux 2 Flex Text To Image is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.2 [flex] from Black Forest Labs delivers fast, flexible text-to-image generation with enhanced realism, sharper text rendering, and built-in editing for rapid iteration: a ready-to-use REST inference API, best performance, no cold starts, and affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Flux 2 Flex Text To Image 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/text-to-image.
How much does Flux 2 Flex Text To Image cost per run or per second?
Flux 2 Flex Text To Image starts at $0.06 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 Text To Image accept?
Key inputs: prompt, size, 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/text-to-image.
How long does Flux 2 Flex Text To Image take to generate?
Reported generation time on OpenSIAI is around 20 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 Text To Image 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.
