Pricing
Compare models →Just $0.03 per run.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imagesRequired | array | List of URLs of input images for editing (1-9 images).Items: 0–9JSON schema{
"items": {
"type": "string"
}
} |
size | string | The size of the generated image in pixels (width*height).Minimum: 272 · Maximum: 4096 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
Wan 2.7 Image Edit
Wan 2.7 Image Edit is a prompt-driven image editing model that makes targeted changes to existing images while preserving their original structure, subject identity, and composition. Upload one or more reference images, describe the edit in plain language, and get an updated image back — no masking, no manual selections required.
It's built for fast creative iteration: changing clothing, colors, materials, background mood, adding or removing objects, and applying style adjustments without rebuilding the entire scene from scratch.
Why Choose This?
- Natural-language editing
Describe what to change and what to keep — the model follows your intent accurately for common creative workflows.
- Multi-image reference support
Upload 1 to 3 input images for style, subject, or background guidance and fusion edits.
- Composition preservation
Designed to preserve subject identity, pose, and overall structure while applying localized changes.
- Seed control
Fix a seed for repeatable outputs and more consistent iteration across prompt variations.
Parameters
| Parameter | Required | Description |
|---|---|---|
| images | Yes | One or more input images to edit (1–3 images, uploaded files or public URLs). |
| prompt | Yes | Edit instruction describing what to change and what to keep. |
| size | No | Output dimensions. Defaults to the original image size if not specified. |
| seed | No | Integer for reproducibility. Use a fixed seed to iterate with smaller prompt changes. -1 for random. |
How to Use
- Upload your image(s) — provide the main image to edit. Add up to 3 images for style or background reference.
- Write your prompt — describe both what to change and what must stay the same. For example: "Replace the background with a rainy Tokyo street at night, keep the person's face and pose unchanged."
- Set size (optional) — specify output dimensions, or leave empty to match the original image size.
- Set seed (optional) — fix a seed to make iterations more comparable and reproducible.
- Submit — preview the output and iterate step by step if needed.
Pricing
Just $0.03 per run.
Best Use Cases
- Fashion & Apparel — Swap clothing styles, colors, or materials while preserving pose and identity.
- Background Replacement — Change scene environment or mood without affecting the subject.
- Product Editing — Adjust product colors, materials, or settings for variant photography.
- Style Transfer — Apply artistic or visual style shifts to an existing image.
- Creative Iteration — Rapidly explore visual variations from a single source image.
Pro Tips
- Structure your prompt in two parts: what to change, and what to keep. Example: "Change the jacket to leather, keep the face and pose unchanged."
- If edits spill into areas you want to preserve, strengthen constraints: "keep the face unchanged", "keep the background intact", "do not alter the text."
- Use a fixed seed to make iterative prompt refinements more comparable across runs.
- If outputs look inconsistent, simplify your prompt and iterate with smaller changes.
- Use multiple reference images when you need the model to draw from different sources for style, subject, or background.
Notes
- Both images and prompt are required fields.
- Output size defaults to the original image dimensions if size is not specified.
- Output size range is 512–4096 pixels per dimension, with total pixels between 768×768 and 2048×2048 and aspect ratio between 1:8 and 8:1.
Related Models
- Wan 2.7 Image Edit Pro — Pro version with 4K support for higher-resolution editing.
- Wan 2.6 Image Edit — Previous generation Wan image-edit model with a similar prompt-driven workflow.
- Qwen Image Edit — General-purpose AI image editing with strong prompt adherence for everyday creative and product workflows.
- Google Nano Banana Pro Edit — High-fidelity image editing with strong composition preservation and reliable text handling.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Wan 2.7 Image Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/alibaba/wan-2.7/image-edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Edit the product photo to create a clean premium e-commerce hero image: replace the background with a soft light gray studio backdrop, remove dust and scratches, straighten the object, enhance material texture and subtle reflections, keep the original shape and branding unchanged, and add natural soft shadowing for a realistic professional look.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/24/bb1d04594f38.jpeg"
],
"size": "example",
"seed": 0
}Wan 2.7 Image Edit API — Frequently asked questions
What is the Wan 2.7 Image Edit API?
Wan 2.7 Image Edit is a Alibaba model for image editing, exposed as a REST API on OpenSIAI. WAN 2.7 Image Edit performs prompt-driven image editing with support for multiple-image references. 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.7 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.7/image-edit.
How much does Wan 2.7 Image Edit cost per run or per second?
Wan 2.7 Image 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 Wan 2.7 Image Edit accept?
Key inputs: prompt, images, seed. 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.7/image-edit.
How long does Wan 2.7 Image Edit 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 Wan 2.7 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.
