Pricing
Compare models →| Item | Cost |
|---|---|
| Per image | $0.02 |
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 Base 4B Edit LoRA
FLUX.2 Klein Base 4B Edit LoRA is a lightweight yet powerful image editing model with full LoRA support. Upload images, describe your edits, and optionally apply up to 3 custom LoRA adapters for personalized styles — all with fast generation and affordable pricing.
Why Choose This?
- Text-guided editing
Describe edits in natural language — transform styles, modify content, apply effects, and more.
- LoRA support
Apply up to 3 custom LoRA adapters for personalized styles, characters, or visual aesthetics.
- Multi-image input
Upload up to 4 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.
- Lightweight and fast
4B parameter model optimized for quick turnaround at affordable pricing.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired edit |
| images | Yes | Source images to edit (up to 4 images) |
| loras | No | List of LoRA adapters to apply (up to 3) |
| 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 up to 4 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.02 |
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.
- Creative Retouching — Apply artistic edits with natural language and LoRA combinations.
- Batch Editing — Affordable pricing enables large-scale image editing.
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
- Maximum 4 images can be uploaded per generation.
- Up to 3 LoRAs can be applied simultaneously.
- If size is not specified, output matches input image dimensions.
- For best results, use high-quality source images.
Related Models
- FLUX.2 Klein Base 4B Edit — Standard version without LoRA support.
- FLUX.2 Pro — Flagship-quality text-to-image generation.
- Qwen Image Edit 2511 — Image editing with bilingual text support.
Reference
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
FLUX 2 Klein Base 4B Edit LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-2-klein-base-4b/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 Base 4B Edit LoRA Image API — Frequently asked questions
What is the Flux 2 Klein Base 4b Edit Lora API?
Flux 2 Klein Base 4b Edit Lora is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. FLUX.2 [klein] Base 4B Edit with LoRA support enables precise image-to-image editing with natural language instructions, multi-reference support, and LoRA customization. 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 4b 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-base-4b/edit-lora.
How much does Flux 2 Klein Base 4b Edit Lora cost per run or per second?
Flux 2 Klein Base 4b Edit Lora starts at $0.02 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 4b 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-base-4b/edit-lora.
How long does Flux 2 Klein Base 4b Edit Lora take to generate?
Reported generation time on OpenSIAI is around 40 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 4b 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.
