Pricing
Compare models →| Output | Price |
|---|---|
| Per image | $0.005 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | The image to generate an image from. |
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_inference_steps | integer | The number of inference steps to perform.Default: 28Minimum: 1 · Maximum: 50 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
guidance_scale | number | The guidance scale to use for the generation.Default: 3.5Minimum: 0 · Maximum: 20 |
num_images | integer | The number of images to generate.Default: 1Minimum: 1 · Maximum: 4 |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
FLUX Dev Ultra Fast — OpenSI-ai/flux-dev-ultra-fast
FLUX Dev Ultra Fast is a lightweight, high-speed image generation and editing model built for rapid iteration. It supports both text-to-image generation and image-guided editing (image-to-image), with optional mask-based localized edits for targeted changes. This model is ideal when you need quick creative exploration, bulk variants, or fast prompt testing while maintaining strong visual quality.
Key capabilities
- Text-to-image generation for fast concepting
- Image-to-image editing for guided variations
- Masked editing (inpainting-style) for localized changes
- Adjustable strength to control how closely results follow the input image
- Custom output size, seed control, and standard image formats
- Efficient for high-volume runs and rapid experimentation
Use cases
- Rapid creative iterations for ads, thumbnails, and social content
- Style and composition exploration with quick turnaround
- Background swaps and wardrobe edits using a mask
- Product mockups and marketing variations (colorways, materials, packaging)
- Portrait enhancement workflows where speed matters (non-destructive variations)
Pricing
| Output | Price |
|---|---|
| Per image | $0.005 |
Inputs
- prompt (required): what to generate or how to edit
- image (optional): source image for image-to-image guidance
- mask_image (optional): region mask for localized edits
Parameters
- strength: how strongly the output is allowed to deviate from the input image (only for image-to-image)
- width / height: output size (e.g., 1024×1024)
- num_inference_steps: sampling steps
- guidance_scale: prompt adherence strength
- num_images: number of images to generate per run
- seed: random seed (-1 for random; set for reproducible results)
- output_format: jpeg / png / webp, etc.
- enable_base64_output: return BASE64 instead of URL (API only)
- enable_sync_mode: wait for upload and return directly (API only)
Prompting tips
- For photoreal shots, specify lens/lighting and keep subject details explicit.
- For edits, describe the change clearly and rely on the input image to preserve identity and layout.
- If using a mask, focus the prompt on what should change inside the masked region.
Example prompts
- A young couple standing side by side at a traditional wedding ceremony, warm smiles, intricate embroidered attire, realistic lighting, shallow depth of field, ultra-detailed, natural skin texture.
- Edit: keep the same pose and background, change the clothing to a modern black suit and white dress, clean studio lighting, photorealistic.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX Dev Ultra Fast Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-dev-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/onc2taa5gb9l.jpeg",
"mask_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"strength": 0.8,
"size": "1024*1024",
"num_inference_steps": 28,
"seed": 0,
"guidance_scale": 3.5,
"num_images": 1,
"output_format": "jpeg"
}FLUX Dev Ultra Fast Text-to-Image API — Frequently asked questions
What is the Flux Dev Ultra Fast API?
Flux Dev Ultra Fast is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.1 [dev] is a 12B rectified-flow transformer for high-quality text-to-image generation, optimized for ultra-fast inference. 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 Dev 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-dev-ultra-fast.
How much does Flux Dev Ultra Fast cost per run or per second?
Flux Dev Ultra Fast 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 Dev 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-dev-ultra-fast.
How long does Flux Dev Ultra Fast take to generate?
Reported generation time on OpenSIAI is around 19 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 Dev 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.
