Pricing
Compare models →| Item | Cost |
|---|---|
| Per image | $0.021 |
Simple flat-rate pricing regardless of image size or LoRA count.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The editing instruction. |
imagesRequired | array | List of reference image URLs (1-3 images).Items: 0–3JSON schema{
"items": {
"type": "string"
}
} |
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 image in pixels (width*height).Minimum: 256 · Maximum: 2048 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
FLUX.2 Klein 9B Edit LoRA
FLUX.2 Klein 9B Edit LoRA is a powerful image editing model with full LoRA support. With 9B parameters, it delivers higher quality edits and better prompt understanding. Upload images, describe your edits, and optionally apply custom LoRA adapters for personalized styles.
Why Choose This?
- Enhanced editing quality
9B parameter model delivers richer detail and better prompt interpretation than the 4B variant.
- Text-guided editing
Describe edits in natural language — transform styles, modify content, apply effects, and more.
- LoRA support
Apply custom LoRA adapters for personalized styles, characters, or visual aesthetics.
- Multi-image input
Upload multiple reference images for context-aware editing.
- Flexible output sizing
Optionally set output size, or leave empty to match input image dimensions.
- Prompt Enhancer
Built-in tool to automatically improve your prompts for better results.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired edit |
| images | Yes | Source images to edit (can add multiple) |
| loras | No | List of LoRA adapters to apply |
| size | No | Output dimensions (empty = same as input image) |
| seed | No | Random seed for reproducibility (-1 for random) |
LoRA Format
Each LoRA in the loras array has:
- path (required) — URL to the LoRA weights file
- scale (optional) — Weight multiplier, default 1
How to Use
- Write your prompt — describe the edit you want (e.g., "make it a real picture", "add sunset lighting").
- Upload images — add source images using "+ Add Item" button.
- Add LoRAs (optional) — click "+ Add Item" to include custom LoRA adapters.
- Set size (optional) — specify output dimensions or leave empty to match input.
- Set seed — use -1 for random, or specify a number for reproducibility.
- Run — submit and download the edited image.
Pricing
| Item | Cost |
|---|---|
| Per image | $0.021 |
Simple flat-rate pricing regardless of image size or LoRA count.
Best Use Cases
- Style Transfer — Transform images with custom LoRA styles.
- Reality Enhancement — Convert illustrations or renders to photorealistic images.
- Character Consistency — Apply character LoRAs while editing images.
- High-Quality Retouching — When 4B quality isn't enough for professional work.
- Production Editing — Balanced quality and cost for professional content.
Pro Tips
- Be specific in your prompt — clearly describe what should change.
- Use LoRAs to add consistent styles across multiple edits.
- Leave size empty to preserve original image dimensions.
- Start with LoRA scale 1.0 and adjust based on results.
- Use the same seed to compare different prompts or LoRA combinations.
Notes
- If size is not specified, output matches input image dimensions.
- 9B model offers better detail than 4B at slightly higher cost.
- For best results, use high-quality source images.
Related Models
- FLUX.2 Klein 9B Edit — Standard version without LoRA support.
- FLUX.2 Klein 4B Edit LoRA — Lighter 4B version at lower cost.
- FLUX.2 Klein 9B Text-to-Image LoRA — Text-to-image generation with LoRA support.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Klein 9B Edit LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-klein-9b/edit-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",
"images": [],
"loras": [],
"size": "example",
"seed": 0
}FLUX 2 Klein 9B Edit LoRA Image API — Frequently asked questions
What is the Flux 2 Klein 9b Edit Lora API?
Flux 2 Klein 9b Edit Lora is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.2 [klein] 9B Edit with LoRA support is a high-quality image editing model with 9B parameters, offering precise modifications using natural language instructions and personalized styles via custom LoRA adapters. 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 Edit 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-2-klein-9b/edit-lora.
How much does Flux 2 Klein 9b Edit Lora cost per run or per second?
Flux 2 Klein 9b Edit Lora 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 9b Edit Lora accept?
Key inputs: prompt, images, seed, loras. 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/edit-lora.
How long does Flux 2 Klein 9b Edit Lora take to generate?
Reported generation time on OpenSIAI is around 16 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 Edit 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.
