Pricing
Compare models →| Model | Price per image |
|---|---|
| OpenSI-ai/flux-schnell | $0.003 |
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 |
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 — OpenSI-ai/flux-schnell
OpenSI-ai/flux-schnell is an ultra-fast text-to-image model designed for high-throughput generation and rapid iteration. It’s ideal when you want to explore ideas quickly, batch-generate variations, or power real-time creative workflows with consistent, production-friendly latency.
What it’s good at
- Fast text-to-image generation for rapid prompt iteration
- High-throughput batches (great for grids, A/B testing, and variations)
- Concepting & ideation (style exploration, composition discovery)
- Lightweight production use where speed matters more than maximum fidelity
Inputs
- prompt (required): your text description
- image (optional): reference image (if enabled in your deployment)
- mask_image (optional): mask for inpainting / local edits (if enabled)
- strength (optional): how strongly the model follows the reference/mask edit intent
- size: output resolution (width/height)
- num_images: number of images to generate
- seed: random seed (-1 for random)
- output_format: output format (e.g., jpeg)
- enable_base64_output (API only): return base64 instead of a URL
- enable_sync_mode (API only): wait for generation to finish before returning
Recommended settings
- Quick iterations: keep prompts short and specific, generate multiple candidates (num_images > 1)
- More control: lock the seed, then tweak one prompt element at a time
- Editing/inpainting: start with strength ~0.6–0.85, then adjust based on how much change you want
Use cases
- Marketing creative drafts: generate dozens of on-brand concept options fast
- Game & animation concept art: rapid character/prop/environment exploration
- Design exploration: packaging, posters, thumbnails, UI mood boards
- Prompt prototyping: build “prompt recipes” before switching to higher-fidelity models
- Batch generation pipelines: large-scale variation sweeps for selection and ranking
Pricing
| Model | Price per image |
|---|---|
| OpenSI-ai/flux-schnell | $0.003 |
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX Schnell Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-schnell 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/l3euziq33r4f.jpg",
"mask_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"strength": 0.8,
"size": "1024*1024",
"num_images": 1,
"seed": 0,
"output_format": "jpeg"
}FLUX Schnell Text-to-Image API — Frequently asked questions
What is the Flux Schnell API?
Flux Schnell is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.1 [schnell] is a 12B rectified flow transformer for high-quality text-to-image generation via API. 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 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.
How much does Flux Schnell cost per run or per second?
Flux Schnell starts at $0.003 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 accept?
Key inputs: prompt, image, size, seed, mask_image, num_images. 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.
How long does Flux Schnell 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 Schnell 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.
