Pricing
Compare models →Pricing is based on the selected resolution and the number of supplied reference images.
The first image uses the base edit price for the selected resolution. Each additional image adds a resolution-dependent charge. The default request (1k, one image) costs $0.03 per run.
Price per request by resolution and number of reference images:
| Resolution | 1 image | 2 images | 5 images | 10 images |
|---|---|---|---|---|
| 1K | $0.03 | $0.04 | $0.07 | $0.12 |
| 1.5K | $0.06 | $0.075 | $0.12 | $0.195 |
| 2K | $0.12 | $0.14 | $0.20 | $0.30 |
Extra charge for each additional image beyond the first (the price of 2 images minus the price of 1 image):
| Resolution | Each additional image |
|---|---|
| 1K | $0.01 |
| 1.5K | $0.015 |
| 2K | $0.02 |
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" |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
Qwen Image 2.1 Image Edit
Qwen Image 2.1 Image Edit edits existing images with natural-language instructions and supports up to 10 reference images in a single request. Address references directly in the prompt using <Picture 1> through <Picture 10> to specify which image should guide each part of the edit.
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>.
- Up to 2K resolution
Generate edited results at 1K, 1.5K, or 2K.
- Flexible aspect ratios
Adjust the output composition for different creative and publishing 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.
- Seed control
Use a fixed seed for more reproducible results, or -1 for a random seed.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text instruction describing the desired edit. Reference supplied images as <Picture 1> through <Picture 10> when needed. |
| images | Yes | Reference image URLs. Supports between 1 and 10 images. |
| aspect_ratio | No | Optional output aspect ratio. |
| resolution | No | Output resolution: 1k, 1.5k, or 2k. Default: 1k. |
| 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 images as
<Picture 1>,<Picture 2>, and so on.
- Choose aspect ratio optional — Set the desired output composition.
- Choose resolution — Select
1k,1.5k, or2k.
- 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.
The first image uses the base edit price for the selected resolution. Each additional image adds a resolution-dependent charge. The default request (1k, one image) costs $0.03 per run.
Price per request by resolution and number of reference images:
| Resolution | 1 image | 2 images | 5 images | 10 images |
|---|---|---|---|---|
| 1K | $0.03 | $0.04 | $0.07 | $0.12 |
| 1.5K | $0.06 | $0.075 | $0.12 | $0.195 |
| 2K | $0.12 | $0.14 | $0.20 | $0.30 |
Extra charge for each additional image beyond the first (the price of 2 images minus the price of 1 image):
| Resolution | Each additional image |
|---|---|
| 1K | $0.01 |
| 1.5K | $0.015 |
| 2K | $0.02 |
aspect_ratio, output_format, and seed do not add separate charges.
Best Use Cases
- Multi-reference image editing — Combine multiple images to guide a single edited result.
- Character and subject edits — Use reference images to guide appearance, clothing, objects, or visual identity.
- Product editing — Combine product references with an existing scene or composition.
- Style-guided edits — Use additional images to guide visual style, color, or design direction.
- Composition changes — Modify scenes while referencing specific visual elements from multiple inputs.
- Creative prototyping — Test different reference combinations and editing instructions quickly.
Pro Tips
- Refer to each image explicitly using
<Picture 1>,<Picture 2>, and so on.
- Clearly describe which image should control each subject, object, style, or scene element.
- Keep the editing instruction specific about what should change and what should remain unchanged.
- Use fewer reference images when they provide overlapping 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 prompt or reference changes.
Notes
promptandimagesare required.
imagessupports between1and10reference images.
- References can be addressed as
<Picture 1>through<Picture 10>.
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 the selected 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 existing images with text instructions and up to 10 references.
- 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 API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image-2.1/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/251120/6784e7f4b50aebc7e17fe396/b3kkemounkq0.jpg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"seed": 0
}Qwen Image 2.1 Image Edit API — Frequently asked questions
What is the Qwen Image 2.1 Edit API?
Qwen Image 2.1 Edit is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. Qwen Image 2.1 Image Edit performs reference-guided image editing with up to 10 input images and 1K, 1.5K, or 2K output, supporting multi-reference composition, visual consistency, creative edits, 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 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.
How much does Qwen Image 2.1 Edit cost per run or per second?
Qwen Image 2.1 Edit starts at $0.03 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 accept?
Key inputs: prompt, images, aspect_ratio, resolution, seed, 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-2.1/edit.
How long does Qwen Image 2.1 Edit take to generate?
Reported generation time on OpenSIAI is around 11 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 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.
