Pricing
Compare models →- $0.025 per image
- Each generated image is billed individually.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imageRequired | string | The image to generate an image from. |
size | string | The size of the generated media in pixels (width*height).Minimum: 256 · Maximum: 1536 |
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"
]
}
} |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
Qwen-Image-Edit-LoRA
Qwen-Image-Edit with LoRA is a 20B MMDiT-based next-gen image editing model, Built on 20B Qwen-Image, it brings precise bilingual text editing (Chinese & English) while preserving style, and supports both semantic and appearance-level editing.
Key Features
- Precise bilingual text editing:
Directly add, delete, or modify text in Chinese or English, while preserving font, size, kerning, and style.
- LoRA integration:
Import up to 3 external LoRA weights (.safetensors), each with its own blending scale, for tailored effects.
- Style preservation:
Maintains palette, lighting, and overall artistic intent even under substantial edits.
- SOTA benchmark results:
Achieves state-of-the-art performance across multiple public image editing benchmarks.
Limits and Performance
- Max resolution per job: up to 1536 × 1536 pixels
- Max LoRAs: 3 per job (with individual scaling controls)
- Output formats: JPEG / PNG / WEBP
- Processing speed: ~6–12 seconds per image
- Input: Requires image + prompt (can include editing instructions and/or text edits)
Pricing
- $0.025 per image
- Each generated image is billed individually.
How to Use
- Upload or paste a link to your source image.
- Write a prompt describing desired edits (appearance or semantic).
- (Optional) Add up to 3 LoRAs:
- Provide LoRA path/URL.
- Adjust scale for each (0.1–1.0 recommended).
- Adjust size (width & height, up to 1536×1536).
- (Optional) Add a seed for reproducibility.
- Run the job → preview results → refine with prompt or LoRA scaling.
Pro tips for best results
- Use appearance editing for clean local changes (e.g., shirt color).
- Use semantic editing for creative/global changes (e.g., pose, style transfer).
- For text edits, clearly specify text content + style in the prompt.
- Combine LoRAs for hybrid results, but keep scale balanced (too high may distort).
- Lock the seed when testing multiple LoRAs to compare effects consistently.
Note
- If you did not upload the image locally, please ensure that the image URL is accessible! A successfully accessible image will display a preview in the interface.
Reference
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Qwen Image Edit LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image/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",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/vi0t8qihzk4j.jpg",
"size": "example",
"loras": [],
"seed": 0,
"output_format": "jpeg"
}Qwen Image Edit LoRA Image API — Frequently asked questions
What is the Qwen Image Edit Lora API?
Qwen Image Edit Lora is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. Qwen-Image-Edit LoRA (20B) enables bilingual Chinese/English image-to-image editing with style preservation and semantic and appearance edits. Ready-to-use REST API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Qwen Image 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/qwen-image/edit-lora.
How much does Qwen Image Edit Lora cost per run or per second?
Qwen Image Edit Lora starts at $0.025 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 Qwen Image Edit Lora accept?
Key inputs: prompt, image, seed, loras, output_format. 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/qwen-image/edit-lora.
How long does Qwen Image Edit Lora take to generate?
Reported generation time on OpenSIAI is around 14 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 Qwen Image 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.
