Pricing
Compare models →| Model | Price per image | LoRA limit |
|---|---|---|
| OpenSI-ai/flux-schnell-lora | $0.005 | Up to 3 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | |
mask_image | string | The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing. |
strength | number | Strength indicates extent to transform the reference image.Default: 0.8Minimum: 0 · Maximum: 1 |
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"
]
}
} |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 1536 |
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. |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
FLUX.1 Schnell LoRA — OpenSI-ai/flux-schnell-lora
OpenSI-ai/flux-schnell-lora is a fast, high-throughput text-to-image model with LoRA support for style and identity control. Use it when you want Schnell-level speed, but also need consistent aesthetics across batches (brand looks, character styles, “same vibe” series).
Key capabilities
- LoRA-guided generation for consistent style, mood, or subject traits
- Ultra-fast iterations for prompt exploration and batch workflows
- Optional image + mask inputs for reference-based edits (when enabled)
- Up to 3 LoRAs per run (mix styles or add a single strong look)
Inputs
- Prompt (required): text description of the image you want
- Image (optional): reference image input (if available in your deployment)
- Mask image (optional): mask for local edits / inpainting (if available)
- Strength (optional): how strongly edits follow the image/mask intent
- LoRAs (optional): up to 3 LoRA items, each with:
- Path: LoRA identifier (for example, a LoRA repo/name)
- Scale: LoRA weight/strength
- Size: output width and height
- Num images: number of images to generate
- Seed: random seed for reproducibility
- Output format: jpeg, png, etc.
- Base64 output (API only): return base64 instead of a URL
- Sync mode (API only): wait for the result before returning
Recommended usage patterns
- One-LoRA “signature look”: start with a single LoRA and moderate scale, then iterate prompts for composition and lighting.
- Style blending: combine 2 LoRAs (e.g., lighting + texture) and keep scales conservative to avoid overcooking details.
- Consistency runs: fix the seed, lock the LoRA set, then vary only one prompt element per iteration.
Use cases
- Brand creative at scale: generate a whole campaign’s visuals in one consistent style
- Character/style series: keep the same “feel” across thumbnails, posters, or profile sets
- Product mock concepts: explore layouts quickly while preserving a chosen aesthetic
- Rapid A/B exploration: batch variations under a stable LoRA look for easy comparison
- Creator workflows: build a repeatable visual identity without sacrificing speed
Pricing
| Model | Price per image | LoRA limit |
|---|---|---|
| OpenSI-ai/flux-schnell-lora | $0.005 | Up to 3 |
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX Schnell LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-schnell-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",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251120/6784e7f4b50aebc7e17fe396/om47bxpj3zwn.jpg",
"mask_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"strength": 0.8,
"loras": [],
"size": "1024*1024",
"num_images": 1,
"seed": 0,
"output_format": "jpeg"
}FLUX Schnell LoRA Image API — Frequently asked questions
What is the Flux Schnell Lora API?
Flux Schnell Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.1 [schnell] is a 12B-parameter rectified flow transformer that generates images from text prompts and supports LoRA adapters. 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 Schnell 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-schnell-lora.
How much does Flux Schnell Lora cost per run or per second?
Flux Schnell Lora starts at $0.005 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 Schnell Lora accept?
Key inputs: prompt, image, size, seed, loras, mask_image. 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-schnell-lora.
How long does Flux Schnell Lora take to generate?
Reported generation time on OpenSIAI is around 25 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 Schnell 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.
