Pricing
Compare models →| Item | Cost |
|---|---|
| Per image | $0.01 |
Simple flat-rate pricing regardless of image size.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | |
size | string | The size of the generated image in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 2048 |
seed | integer |
README
FLUX.2 Klein 9B Text-to-Image
FLUX.2 Klein 9B Text-to-Image is a powerful text-to-image generation model with 9B parameters. Describe your vision in text and get high-quality images with strong prompt adherence — delivering better detail and understanding than the 4B variant at an affordable price.
Why Choose This?
- Enhanced quality
9B parameter model delivers richer detail and better prompt understanding than the 4B variant.
- Strong prompt adherence
Accurately interprets detailed prompts to generate images that match your description.
- Flexible sizing
Custom width and height controls for any aspect ratio.
- Prompt Enhancer
Built-in tool to automatically improve your prompts for better results.
- Balanced performance
More capable than 4B while remaining fast and affordable.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate |
| width | No | Output width in pixels (default: 1024) |
| height | No | Output height in pixels (default: 1024) |
| seed | No | Random seed for reproducibility (-1 for random) |
How to Use
- Write your prompt — describe the image including subject, style, lighting, and mood.
- Set size — adjust width and height for your desired dimensions.
- Set seed — use -1 for random, or specify a number for reproducibility.
- Run — submit and download the generated image.
Pricing
| Item | Cost |
|---|---|
| Per image | $0.01 |
Simple flat-rate pricing regardless of image size.
Best Use Cases
- High-Quality Generation — When 4B quality isn't enough but full-size models are overkill.
- Production Work — Balanced quality and cost for professional content.
- Creative Projects — Detailed illustrations, concept art, and visual designs.
- Batch Generation — Affordable pricing enables large-scale image production.
- Rapid Prototyping — Fast generation for creative iteration.
Pro Tips
- Be specific in your prompts — include subject, style, lighting, colors, and atmosphere.
- Use the same seed to reproduce identical outputs or compare prompt variations.
- Start with 1024x1024 for balanced quality, adjust dimensions for specific needs.
- Need custom styles? Try FLUX.2 Klein 9B Text-to-Image LoRA.
Notes
- 9B model offers better detail than 4B at slightly higher cost.
- For best results, write detailed, descriptive prompts.
Related Models
- FLUX.2 Klein 9B Text-to-Image LoRA — With LoRA support for custom styles.
- FLUX.2 Klein 4B Text-to-Image — Lighter 4B version at lower cost.
- FLUX.2 Klein 9B Edit — Image editing model.
- FLUX.2 Pro — Flagship-quality text-to-image generation.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Klein 9B Text to Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-klein-9b/text-to-image 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",
"size": "1024*1024",
"seed": 0
}FLUX 2 Klein 9B Text to Image API — Frequently asked questions
What is the Flux 2 Klein 9b Text To Image API?
Flux 2 Klein 9b Text To Image is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. FLUX.2 [klein] 9B is a high-quality text-to-image model with 9B parameters, offering enhanced realism and crisper text generation. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Flux 2 Klein 9b Text To Image 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-2-klein-9b/text-to-image.
How much does Flux 2 Klein 9b Text To Image cost per run or per second?
Flux 2 Klein 9b Text To Image starts at $0.01 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 2 Klein 9b Text To Image accept?
Key inputs: prompt, size, seed. 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-2-klein-9b/text-to-image.
How long does Flux 2 Klein 9b Text To Image take to generate?
Reported generation time on OpenSIAI is around 8 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 2 Klein 9b Text To Image 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.
