Pricing
Compare models →Billing is per generated image: the cost of a run is the number of images (num_images) multiplied by the price of one image. With default settings (num_images = 1), a run costs $0.025.
| num_images (images per run) | Cost per run |
|---|---|
| num_images = 1 (1 image) | $0.025 |
| num_images = 2 (2 images) | $0.05 |
| num_images = 3 (3 images) | $0.075 |
| num_images = 4 (4 images) | $0.10 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | The image to generate an image from. |
size | string | The size of the generated media in pixels (width*height).Minimum: 256 · Maximum: 1536 |
num_inference_steps | integer | The number of inference steps to perform.Default: 28Minimum: 1 · Maximum: 50 |
guidance_scale | number | The guidance scale to use for the generation.Default: 2.5Minimum: 0 · Maximum: 20 |
num_images | integer | The number of images to generate.Default: 1Minimum: 1 · Maximum: 4 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
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"
]
}
} |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
FLUX Kontext Dev LoRA Ultra Fast — OpenSI-ai/flux-kontext-dev-lora-ultra-fast
FLUX Kontext Dev LoRA Ultra Fast is a low-latency image-to-image editing model that supports LoRA adapters directly in the request. Provide a source image plus a natural-language edit instruction, and optionally attach up to 3 LoRAs to steer style, identity consistency, or domain aesthetics—optimized for rapid iteration and production workflows.
Key capabilities
- Ultra-fast instruction-based image editing from a single input image
- LoRA-enabled inference: apply up to 3 LoRAs via input parameters
- Strong preservation when you explicitly state what must remain unchanged
- Great for iterative editing: quick refinements across multiple passes with minimal drift
Typical use cases
- Fast retouching + consistent styling using a “house look” LoRA
- Batch product edits (color variants, background swaps) with brand LoRAs
- Text edits on packaging/signage while keeping typography/perspective consistent
- Rapid A/B testing by switching LoRAs instead of rewriting prompts
Pricing
Billing is per generated image: the cost of a run is the number of images (num_images) multiplied by the price of one image. With default settings (num_images = 1), a run costs $0.025.
| num_images (images per run) | Cost per run |
|---|---|
| num_images = 1 (1 image) | $0.025 |
| num_images = 2 (2 images) | $0.05 |
| num_images = 3 (3 images) | $0.075 |
| num_images = 4 (4 images) | $0.10 |
Inputs and outputs
Input:
- One source image (upload or public URL)
- One edit instruction (prompt)
- Optional: up to 3 LoRA items
Output:
- One or more edited images (controlled by num_images)
Parameters
Core:
- prompt: Edit instruction describing what to change and what to preserve
- image: Source image
- width / height: Output resolution
- num_inference_steps: More steps can improve fidelity but increases latency
- guidance_scale: Higher values follow the prompt more strongly; too high may over-edit
- num_images: Number of variations generated per run
- seed: Fixed value for reproducibility; -1 for random
- output_format: jpeg or png
- enable_base64_output: Return BASE64 instead of a URL (API only)
- enable_sync_mode: Wait for generation and return results directly (API only)
LoRA (up to 3 items):
- loras: A list of LoRA entries (max 3)
- path: owner/model-name or a direct.safetensors URL
- scale: LoRA strength (start around 0.6–1.0 and adjust)
Prompting guide
Use a clear “preserve + edit + constraints” structure and let LoRAs control the look:
Template:
Keep [what must stay]. Change [what to edit]. Ensure [constraints]. Apply LoRA style consistently without altering identity.
Example prompts
- Keep the person’s face, hairstyle, and pose unchanged. Replace the background with a clean studio backdrop. Match lighting direction and shadow softness.
- Keep the product shape and label layout unchanged. Replace only the label text with “OpenSIAI”, preserving font style, size, and perspective.
- Remove the background clutter and keep the main subject sharp. Preserve natural skin texture while reducing shine.
Best practices
- Start with one LoRA first; add a second/third only when needed.
- If the output is over-stylized, reduce LoRA scale and/or guidance_scale.
- For consistent batches, reuse the same LoRA set + scales and fix seed for comparisons.
- Match width/height to the original aspect ratio to avoid distortions.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX Kontext Dev LoRA Ultra Fast LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-kontext-dev-lora-ultra-fast 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/251118/6784e7f4b50aebc7e17fe396/1vhxynk0eum7.jpg",
"size": "example",
"num_inference_steps": 28,
"guidance_scale": 2.5,
"num_images": 1,
"seed": 0,
"loras": [],
"output_format": "jpeg"
}FLUX Kontext Dev LoRA Ultra Fast LoRA Image API — Frequently asked questions
What is the Flux Kontext Dev Lora Ultra Fast API?
Flux Kontext Dev Lora Ultra Fast is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. Ultra-fast FLUX.1 Kontext [dev] endpoint with LoRA support for rapid image editing and brand/style adaptation using pre-trained LoRA. 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 Dev Lora Ultra Fast 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-dev-lora-ultra-fast.
How much does Flux Kontext Dev Lora Ultra Fast cost per run or per second?
Flux Kontext Dev Lora Ultra Fast starts at $0.025 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 Dev Lora Ultra Fast accept?
Key inputs: prompt, image, size, seed, guidance_scale, num_inference_steps. 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-dev-lora-ultra-fast.
How long does Flux Kontext Dev Lora Ultra Fast take to generate?
Reported generation time on OpenSIAI is around 27 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 Dev Lora Ultra Fast 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.
