Pricing
Compare models →$0.035 per generated image.
Each request generates one image at the fixed price above.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imagesRequired | array | List of URLs of input images for editing. The maximum number of images is 2.Items: 0–2JSON schema{
"items": {
"type": "string"
}
} |
size | string | Optional output size in pixels (width*height), for example 1280*1280. If omitted, the model preserves the aspect ratio of the last input image.Minimum: 384 · Maximum: 2560 |
negative_prompt | string | The negative prompt for the generation. |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
WAN 2.5 Image Edit
WAN 2.5 Image Edit edits an existing image using natural-language instructions. Upload an image, describe the changes you want, and optionally specify the output size for the edited result.
Why Choose This?
- Text-guided image editing — Describe changes to objects, colors, lighting, materials, or visual style.
- Source-image guidance — Use an existing image as the basis for the edit.
- Flexible output sizing — Specify custom output dimensions within the supported pixel range.
- Style and appearance changes — Adjust mood, materials, colors, and other visual elements through prompts.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Source image to edit. Image dimensions must be between 384 and 5000 pixels. |
| prompt | Yes | Text instruction describing the desired changes. |
| size | No | Custom output dimensions. Total output pixel count must be between 589824 and 1638400 pixels. When omitted, the output follows the aspect ratio of the last input image. |
How to Use
- Upload an image — Provide the source image you want to edit.
- Describe the changes — Specify what should be added, removed, restyled, or adjusted.
- Set the output size optional — Choose custom dimensions within the supported pixel range.
- Submit — Generate and retrieve the edited image.
Pricing
$0.035 per generated image.
Each request generates one image at the fixed price above.
Best Use Cases
- Marketing visuals — Adjust campaign images, layouts, colors, or visual elements.
- Product imagery — Modify product presentation, backgrounds, materials, or styling.
- Social content — Edit thumbnails, covers, posts, and other visual assets.
- Creative variations — Explore different appearances and styles from the same source image.
Pro Tips
- Describe the requested changes clearly and specifically.
- Mention important elements that should remain consistent when needed.
- Use concise instructions for color, lighting, materials, and object changes.
- Choose an output size that matches the intended layout or publishing format.
Notes
- Image URLs must be publicly accessible.
- When
sizeis specified, total output pixels must be between589824and1638400.
- When
sizeis omitted, the output follows the aspect ratio of the last input image.
Recommended Resolutions
| Aspect Ratio | Exact (W×H) | Exact Pixels | Rounded (W×H, ÷64) | Rounded Pixels |
|---|---|---|---|---|
| 1:1 | 1024 × 1024 | 1,048,576 | 1024 × 1024 | 1,048,576 |
| 3:2 | 1254 × 836 | 1,048,344 | 1216 × 832 | 1,011,712 |
| 4:3 | 1182 × 887 | 1,048,434 | 1152 × 896 | 1,032,192 |
| 16:9 | 1365 × 768 | 1,048,320 | 1344 × 768 | 1,032,192 |
| 21:9 | 1564 × 670 | 1,047,880 | 1536 × 640 | 983,040 |
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Wan 2.5 Image Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/alibaba/wan-2.5/image-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/251121/6784e7f4b50aebc7e17fe396/vi0t8qihzk4j.jpg"
],
"size": "example",
"negative_prompt": "A cinematic ocean wave at sunrise, highly detailed",
"seed": 0
}Wan 2.5 Image Edit API — Frequently asked questions
What is the Wan 2.5 Image Edit API?
Wan 2.5 Image Edit is a Alibaba model for image editing, exposed as a REST API on OpenSIAI. Refine existing visuals with WAN 2.5 image-edit using prompt-driven adjustments and stylistic upgrades for photos and graphics. 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 Wan 2.5 Image 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/alibaba/wan-2.5/image-edit.
How much does Wan 2.5 Image Edit cost per run or per second?
Wan 2.5 Image Edit 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 Wan 2.5 Image Edit accept?
Key inputs: prompt, images, seed, negative_prompt. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/alibaba/wan-2.5/image-edit.
How long does Wan 2.5 Image Edit take to generate?
Reported generation time on OpenSIAI is around 45 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 Wan 2.5 Image Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Alibaba). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
