Pricing
Compare models →| Item | Cost |
|---|---|
| Per image | $0.021 |
Billing Rules
- Pricing is fixed at $0.021 per generated image
sizeandseeddo not affect pricing- Flat-rate pricing applies regardless of image dimensions
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | |
imagesRequired | array | List of reference image URLs (1-3 images).Items: 0–3JSON schema{
"items": {
"type": "string"
}
} |
size | string | The size of the generated image in pixels (width*height).Minimum: 256 · Maximum: 2048 |
seed | integer |
README
OpenSIAI FLUX.2 Klein Base 9B Edit
OpenSIAI FLUX.2 Klein Base 9B Edit is a high-quality image editing model built for prompt-driven transformations, compositing, and style changes. Upload one or more source images, describe the edit in natural language, and generate polished results with stronger detail and better prompt understanding than the 4B variant.
Why Choose This?
- Higher-quality editing
The 9B parameter model delivers richer detail, stronger prompt adherence, and better overall edit quality than the 4B variant.
- Natural-language editing
Describe the change you want in plain language — transform style, replace elements, change mood, or combine multiple images.
- Multi-image support
Upload multiple reference images and perform compositing or cross-image edits such as “Put the person in image1 into image2.”
- Flexible output sizing
Optionally set output dimensions, or leave size empty to preserve the original input dimensions.
- Prompt Enhancer
Built-in prompt enhancement can help improve edit quality and clarity.
- Production-ready workflow
Suitable for high-quality creative editing, marketing visuals, and more complex multi-image transformations.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired edit. |
| images | Yes | Source images to edit. Multiple images are supported. |
| size | No | Output dimensions. Leave empty to match the input image dimensions. |
| seed | No | Random seed for reproducibility. Use -1 for random generation. |
How to Use
- Write your prompt — describe the edit you want, such as “Put the person in image1 into image2” or “Change this to watercolor style.”
- Upload your images — add one or more source images using the image input.
- Set size (optional) — specify output dimensions, or leave it empty to preserve the original dimensions.
- Set seed (optional) — use
-1for random generation, or enter a fixed seed for reproducible results.
- Submit — run the model and download the edited image.
Example Prompt
Put the person in image1 into image2, keep realistic lighting and proportions, and match the scene naturally.
Pricing
| Item | Cost |
|---|---|
| Per image | $0.021 |
Billing Rules
- Pricing is fixed at $0.021 per generated image
sizeandseeddo not affect pricing
- Flat-rate pricing applies regardless of image dimensions
Best Use Cases
- Image compositing — Combine subjects or objects from multiple images into one result.
- Style transfer — Transform images into different artistic or visual styles with strong fidelity.
- Professional editing — Use the 9B model when the 4B variant is not sufficient for production-quality work.
- Content transformation — Change lighting, mood, environment, or visual theme with more precision.
- Complex multi-image edits — Handle edits that require stronger scene understanding and better subject consistency.
Pro Tips
- Be specific about what should change and what should stay the same.
- Reference input images clearly in the prompt, such as
image1,image2, and so on.
- Leave
sizeempty when you want to preserve the original image dimensions.
- Use the same
seedwhen comparing different prompt variations on the same images.
- For complex edits, describe both the main transformation and any constraints like lighting, realism, or identity preservation.
Notes
- Both
promptandimagesare required.
- If
sizeis not specified, the output matches the input image dimensions.
- The 9B model offers better detail and stronger prompt understanding than the 4B variant.
- Need LoRA support? Try FLUX.2 Klein Base 9B Edit LoRA.
Related Models
- FLUX.2 Klein Base 9B Edit LoRA — Edit with LoRA support for custom styles and more specialized control.
- FLUX.2 Klein 4B Edit — Lighter 4B version with lower cost.
- FLUX.2 Klein Base 9B Text-to-Image — Generate images directly from text prompts.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Klein Base 9B Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-klein-base-9b/edit 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",
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/aprkzw5xyxhf.jpg"
],
"size": "example",
"seed": 0
}FLUX 2 Klein Base 9B Edit API — Frequently asked questions
What is the Flux 2 Klein Base 9b Edit API?
Flux 2 Klein Base 9b Edit is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.2 [klein] Base 9B Edit is a high-quality image editing model with 9B parameters, offering precise modifications using natural language instructions. 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 Base 9b Edit 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-base-9b/edit.
How much does Flux 2 Klein Base 9b Edit cost per run or per second?
Flux 2 Klein Base 9b Edit starts at $0.021 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 Base 9b Edit accept?
Key inputs: prompt, images, 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-base-9b/edit.
How long does Flux 2 Klein Base 9b Edit take to generate?
Reported generation time on OpenSIAI is around 46 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 Base 9b Edit 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.
