Pricing
Compare models →Each run costs the same flat price, whatever the aspect ratio or seed.
| Case | Price |
|---|---|
| Per run (default settings) | $0.08 |
| Per run, aspect ratio 1:1 | $0.08 |
| Per run, aspect ratio 16:9 | $0.08 |
| Per run, aspect ratio 9:16 | $0.08 |
| 4 runs (default settings) | $0.32 |
Total cost = number of runs × the per-run price.
Example: 4 runs → $0.32
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
seed | integer | The random seed to use for the generation. |
aspect_ratio | string | The aspect ratio of the generated image. Defaults to 1:1.21:916:94:33:21:12:33:49:169:21"1:1" |
README
FLUX Kontext Max (Text-to-Image) — OpenSI-ai/flux-kontext-max/text-to-image
FLUX Kontext Max is a high-quality text-to-image model built for prompt-faithful generation with strong composition control and cinematic detail. Write a clear scene description (subject, setting, action, camera, lighting, mood), and it produces polished, production-ready images—great for story frames, concept art, marketing visuals, and realistic or stylized illustration work.
Key capabilities
- High-fidelity text-to-image generation with strong prompt adherence
- Cinematic composition control (framing, lens feel, lighting, atmosphere)
- Handles complex scenes (multiple elements, detailed environments, coherent styling)
- Consistent output quality suitable for professional creative workflows
Pricing
Each run costs the same flat price, whatever the aspect ratio or seed.
| Case | Price |
|---|---|
| Per run (default settings) | $0.08 |
| Per run, aspect ratio 1:1 | $0.08 |
| Per run, aspect ratio 16:9 | $0.08 |
| Per run, aspect ratio 9:16 | $0.08 |
| 4 runs (default settings) | $0.32 |
Total cost = number of runs × the per-run price.
Example: 4 runs → $0.32
How to use
- Write a prompt describing the scene and desired look.
- Choose an aspect ratio for your target layout (e.g., 16:9 for cinematic, 1:1 for avatars).
- Set a seed for repeatable results (optional), then generate.
Parameters
- prompt (required): The text description of what to generate
- seed: Fixed value for reproducibility; leave empty or random for variation
- aspect_ratio: Output aspect ratio (e.g., 16:9, 1:1, 9:16)
- enable_sync_mode: Wait for generation and return results directly (API only)
Prompting guide
A reliable prompt structure:
- Subject: who/what is in the image
- Action: what is happening
- Scene: where + time + atmosphere
- Camera: framing, lens vibe, movement (if relevant)
- Lighting: key light, contrast, color temperature
- Style: realistic, film still, illustration, etc.
Example pattern:
A [shot type] of [subject] [action] in [scene]. [Lighting + mood]. [Camera/framing]. [Style cues].
Example prompts
- A cinematic close-up of a detective under flickering fluorescent lights, rain streaks on the window behind, shallow depth of field, tense atmosphere, film still look.
- Wide shot of a futuristic street market at dusk, neon reflections on wet pavement, dense crowd silhouettes, volumetric light beams, high detail, cinematic composition.
- Studio product photo of a minimalist smartwatch on a glossy black surface, softbox lighting, crisp reflections, premium advertising style, ultra clean background.
Best practices
- Keep the first sentence simple and concrete, then add constraints and style cues.
- Use camera and lighting language to steer composition more reliably than abstract adjectives.
- For consistent iteration, fix seed and adjust one variable at a time (prompt wording).
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX Kontext Max Text to Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-kontext-max/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",
"seed": 0,
"aspect_ratio": "1:1"
}FLUX Kontext Max Text to Image API — Frequently asked questions
What is the Flux Kontext Max Text To Image API?
Flux Kontext Max Text To Image is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.1 Kontext [max] is a text-to-image model with max performance and greatly improved prompt adherence for accurate 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 Kontext Max 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-kontext-max/text-to-image.
How much does Flux Kontext Max Text To Image cost per run or per second?
Flux Kontext Max Text To Image starts at $0.08 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 Kontext Max Text To Image accept?
Key inputs: prompt, aspect_ratio, 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-kontext-max/text-to-image.
How long does Flux Kontext Max Text To Image take to generate?
Reported generation time on OpenSIAI is around 8 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 Kontext Max 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.
