Pricing
Compare models →Each run costs $0.04.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imageRequired | string | The image to generate an image from. |
aspect_ratio | string | The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.xxx-empty21:916:94:33:21:12:33:49:169:21JSON schema{
"x-placeholder": "Select Aspect Ratio",
"x-clearable": true
} |
README
FLUX.1 Kontext [pro]
FLUX.1 Kontext [pro] is a 12 billion parameter rectified flow transformer capable of editing images based on text instructions.
Key Features
- Change existing images based on an edit instruction.
- Have character, style and object reference without any finetuning.
- Robust consistency allows users to refine an image through multiple successive edits with minimal visual drift.
Pricing
Each run costs $0.04.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX Kontext Pro Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-kontext-pro 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",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/ruimbndg7jj1.jpg",
"aspect_ratio": "21:9"
}FLUX Kontext Pro Image Editing API — Frequently asked questions
What is the Flux Kontext Pro API?
Flux Kontext Pro is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.1 Kontext [pro] offers improved prompt adherence and accurate typography generation for consistent, high-quality edits at speed. Ready-to-use REST 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 Pro 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-pro.
How much does Flux Kontext Pro cost per run or per second?
Flux Kontext Pro starts at $0.04 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 Pro accept?
Key inputs: prompt, image, aspect_ratio. 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-pro.
How long does Flux Kontext Pro take to generate?
Reported generation time on OpenSIAI is around 14 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 Pro 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.
