Pricing
Compare models →Pricing is based on the selected resolution and the number of supplied reference images (images).
The first image uses the base edit price for the selected resolution. Each additional image adds a resolution-dependent charge. A request with default settings (resolution 1k, one image) costs $0.035 per run.
| Resolution | 1 image | Each additional image | 2 images | 5 images | 10 images |
|---|---|---|---|---|---|
resolution=1k (1K) | $0.035 | $0.01 | $0.045 | $0.075 | $0.125 |
resolution=1.5k (1.5K) | $0.065 | $0.015 | $0.08 | $0.125 | $0.20 |
resolution=2k (2K) | $0.125 | $0.02 | $0.145 | $0.205 | $0.305 |
The columns are the number of supplied images (images.count=1, 2, 5, 10); "Each additional image" is the extra cost of going from images.count=1 to images.count=2 at the same resolution.
aspect_ratio, output_format, and seed do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The edit instruction. Refer to references as <Picture 1> through <Picture 10>. |
imagesRequired | array | Reference images to edit from (1 to 10 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.Items: 1–10JSON schema{
"items": {
"type": "string"
}
} |
aspect_ratio | string | The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.xxx-empty1:11:22:11:33:12:33:23:44:34:55:49:1616:99:2121:9JSON schema{
"x-clearable": true
} |
resolution | string | Total output resolution tier: 1K (~1 megapixel), 1.5K (~2.25 megapixels), or 2K (~4 megapixels).1k1.5k2k"1k" |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
loras | array | List of LoRAs to apply (max 3).Items: 0–3JSON schema{
"items": {
"properties": {
"path": {
"type": "string"
},
"scale": {
"default": 1,
"maximum": 4,
"minimum": 0,
"type": "number"
}
},
"required": [
"path"
],
"type": "object",
"x-order-properties": [
"path",
"scale"
]
}
} |
seed | integer | The random seed. -1 means random. |
README
Qwen Image 2.1 Image Edit LoRA
Qwen Image 2.1 Image Edit LoRA edits existing images with natural-language instructions, up to 10 reference images, and up to 3 custom LoRA weights. Address reference images directly in the prompt using <Picture 1> through <Picture 10>, then combine them with LoRAs for additional subject, style, or concept control.
Choose between 1K, 1.5K, and 2K output resolution depending on your quality and cost requirements.
Why Choose This?
- Prompt-based image editing
Modify existing images using natural-language instructions.
- Up to 10 reference images
Combine multiple visual references in a single editing workflow.
- Reference-aware prompting
Address supplied images directly as <Picture 1> through <Picture 10>.
- LoRA customization
Apply up to 3 custom LoRA weights in the same request.
- Up to 2K resolution
Generate edited results at 1K, 1.5K, or 2K.
- Flexible aspect ratios
Adjust the output composition for different creative workflows.
- Multiple output formats
Export edited images as jpeg, png, or webp.
- Native transparency
Generate images with a real alpha channel. Ask for transparency in the prompt and export as png or webp.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text instruction describing the desired edit. Refer to supplied images as <Picture 1> through <Picture 10> when needed. |
| images | Yes | Reference image URLs. Supports between 1 and 10 images. |
| loras | No | Up to 3 LoRA objects. Each item uses {path, scale}. |
| resolution | No | Output resolution: 1k, 1.5k, or 2k. Default: 1k. |
| aspect_ratio | No | Optional output aspect ratio. |
| output_format | No | Output image format: jpeg, png, or webp. Use png or webp to preserve transparency; jpeg fills transparent areas with white. |
| seed | No | Optional random seed for generation. Use -1 for a random seed. |
How to Use
- Upload reference images — Provide between
1and10images inimages.
- Write the editing prompt — Describe what should change and refer to specific inputs as
<Picture 1>,<Picture 2>, and so on.
- Add LoRAs optional — Provide up to
3LoRA files with individualscalevalues.
- Choose resolution — Select
1k,1.5k, or2k.
- Choose aspect ratio optional — Set the desired output composition.
- Choose output format optional — Select
jpeg,png, orwebp.
- Set seed optional — Use a fixed seed for reproducible results, or
-1for random generation.
- Submit — Generate and retrieve the edited image.
Transparent Backgrounds
This model generates transparency natively, so a cut-out subject comes back with a real alpha channel rather than a painted-in background.
- Ask for it in the prompt. Describe the image as transparent, for example:
This is an RGBA image with transparency. A cute cartoon dragon sticker. The image has alpha channel and the background is transparent.
- Set `output_format` to `png` or `webp`. Both carry the alpha channel.
Reference images keep their own transparency as well, so you can edit an existing cut-out and get a cut-out back.
jpeg cannot store transparency, so transparent areas are filled with white. Prompts that do not ask for transparency return a fully opaque image in every format.
Pricing
Pricing is based on the selected resolution and the number of supplied reference images (images).
The first image uses the base edit price for the selected resolution. Each additional image adds a resolution-dependent charge. A request with default settings (resolution 1k, one image) costs $0.035 per run.
| Resolution | 1 image | Each additional image | 2 images | 5 images | 10 images |
|---|---|---|---|---|---|
resolution=1k (1K) | $0.035 | $0.01 | $0.045 | $0.075 | $0.125 |
resolution=1.5k (1.5K) | $0.065 | $0.015 | $0.08 | $0.125 | $0.20 |
resolution=2k (2K) | $0.125 | $0.02 | $0.145 | $0.205 | $0.305 |
The columns are the number of supplied images (images.count=1, 2, 5, 10); "Each additional image" is the extra cost of going from images.count=1 to images.count=2 at the same resolution.
aspect_ratio, output_format, and seed do not add separate charges.
Best Use Cases
- LoRA-guided image editing — Combine text instructions with custom LoRAs for stronger subject or style control.
- Multi-reference editing — Use several images to guide characters, products, objects, environments, or composition.
- Character consistency — Combine reference images and LoRAs to reinforce recurring character appearance.
- Style-guided edits — Apply custom visual directions while preserving elements from existing images.
- Product and marketing edits — Combine multiple product or scene references with customized visual styles.
- Creative prototyping — Test different reference combinations, LoRAs, and edit instructions quickly.
Pro Tips
- Refer to every important input explicitly as
<Picture 1>,<Picture 2>, and so on.
- Clearly state which reference controls each subject, object, style, or scene element.
- Describe both what should change and what should remain unchanged.
- Keep LoRA combinations focused to avoid competing visual directions.
- Use fewer reference images when multiple inputs provide redundant or conflicting guidance.
- Use
1Kfor lower-cost iteration before moving to higher resolutions.
- Choose
pngwhen you want to avoid lossy compression or need a transparent background.
- Set a fixed
seedwhen comparing LoRA, prompt, or reference changes.
Notes
promptandimagesare required.
imagessupports between1and10reference images.
- References can be addressed as
<Picture 1>through<Picture 10>.
lorassupports up to3items.
- Each LoRA item uses the
{path, scale}format.
resolutiondefaults to1k.
- Supported resolutions are
1k,1.5k, and2k.
- Supported output formats are
jpeg,png, andwebp.
pngandwebppreserve transparency;jpegfills transparent areas with white.
seed=-1selects a random seed.
- Additional reference images increase the price based on resolution.
Related Models
- Qwen Image 2.1 Text-to-Image — Generate images directly from text prompts.
- Qwen Image 2.1 Text-to-Image LoRA — Generate images from text prompts with LoRA customization.
- Qwen Image 2.1 Edit — Edit images with text instructions and up to 10 reference images.
- Qwen Image 2.1 Edit LoRA — Edit images with multi-reference guidance and LoRA customization.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Qwen Image 2.1 Image Edit LoRA API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image-2.1/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": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/yhq843ini355.jpg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"loras": [],
"seed": 0
}Qwen Image 2.1 Image Edit LoRA API — Frequently asked questions
What is the Qwen Image 2.1 Edit Lora API?
Qwen Image 2.1 Edit Lora is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. Qwen Image 2.1 Image Edit LoRA supports image editing with up to 10 reference images and up to 3 custom LoRAs, with 1K, 1.5K, or 2K output for reference-guided edits, custom styles, character consistency, and production workflows. Ready-to-use REST inference 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 2.1 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-2.1/edit-lora.
How much does Qwen Image 2.1 Edit Lora cost per run or per second?
Qwen Image 2.1 Edit Lora starts at $0.035 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 2.1 Edit Lora accept?
Key inputs: prompt, images, aspect_ratio, resolution, 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/qwen-image-2.1/edit-lora.
How long does Qwen Image 2.1 Edit Lora take to generate?
Reported generation time on OpenSIAI is around 12 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 2.1 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.
