Pricing
Compare models →Default settings (5 s, 720p, no references), per run: $0.50
Price per request by duration and resolution. The first two columns are without any reference media; the last two columns use 1 reference video.
| Duration | 720p, no reference | 1080p, no reference | 720p, 1 reference video | 1080p, 1 reference video |
|---|---|---|---|---|
| 2 s | $0.20 | $0.30 | $0.70 | $1.05 |
| 3 s | $0.30 | $0.45 | $0.80 | $1.20 |
| 4 s | $0.40 | $0.60 | $0.90 | $1.35 |
| 5 s | $0.50 | $0.75 | $1.00 | $1.50 |
| 6 s | $0.60 | $0.90 | $1.10 | $1.65 |
| 8 s | $0.80 | $1.20 | $1.30 | $1.95 |
| 10 s | $1.00 | $1.50 | $1.50 | $2.25 |
Billing Rules
- Duration: the price grows with the clip length in
duration(2-10 seconds). - References: when a request includes at least one reference video, reference image, or the optional
image, 5 extra seconds are billed on top of the selected duration. For example, a 5 s clip with 1 reference video at 720p costs $1.00, the same as a 5 s clip with 1 reference image at 720p: $1.00. - Number of references: the charge does not depend on how many references you add. 1 reference video costs $1.00 per run at default settings, and 5 reference videos cost $1.00.
- Resolution: 1080p costs 1.5× the 720p price for the same duration and references. For example, a 5 s clip with 1 reference video costs $1.00 at 720p and $1.50 at 1080p.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. Refer to reference media as Image 1, Image 2, ... and Video 1, Video 2, ...; images and videos are counted separately, each in array order. E.g. with 2 videos and 1 image: 'Video 1 smiles at Video 2, Video 2 holds Image 1 in a cafe'. |
image | string | URL to a single reference image. |
reference_videos | array | Array of reference video URLs (max 5). Combined count of reference_images and reference_videos must be between 1 and 5. Refer to them in the prompt as Video 1, Video 2, ... in array order.Items: 0–5JSON schema{
"x-aliases": [
"videos"
]
} |
reference_images | array | Array of reference image URLs (max 5). Combined count of reference_images and reference_videos must be between 1 and 5. Refer to them in the prompt as Image 1, Image 2, ... in array order; images are counted separately from videos.Items: 0–5JSON schema{
"items": {
"type": "string"
}
} |
negative_prompt | string | The negative prompt for the generation. |
resolution | string | The resolution of the generated video.720p1080p"720p" |
aspect_ratio | string | The aspect ratio of the generated video.16:99:161:14:33:4"16:9" |
duration | integer | The duration of the generated media in seconds (2-10s).Default: 5Minimum: 2 · Maximum: 10 |
enable_prompt_expansion | boolean | If set to true, the prompt optimizer will be enabled.Default: false |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
Wan 2.7 Reference-to-Video
Wan 2.7 Reference-to-Video generates new video scenes guided by reference videos and an optional reference image, maintaining consistent characters, styles, and visual identity. Upload one or more reference videos, describe the scene you want, and the model produces a coherent, character-consistent video that brings your references into a new context.
- Need to generate from a single image? Try Wan 2.7 Image-to-Video
Why Choose This?
- Multi-video reference support
Upload multiple reference videos to combine characters or visual elements from different sources into a single new scene.
- Character-consistent generation
The model preserves the identity, appearance, and style of characters from your reference videos throughout the generated clip.
- Optional reference image
Provide an additional still image to further guide the visual composition or introduce a new element.
- Negative prompt support
Specify what you don't want in the output for more precise scene control.
- Prompt expansion
Enable enable_prompt_expansion to let the model automatically enrich and optimize your prompt before generation.
- Resolution options
Generate at 720p or 1080p to match your delivery requirements.
Parameters
| Parameter | Required | Description |
|---|---|---|
| reference_images | No | Reference image URLs (max 5). Combined with reference_videos, total must be 1-5. |
| reference_videos | No | Reference video URLs (max 5). The earlier name videos is still accepted. Combined with reference_images, total must be 1-5. |
| prompt | Yes | Text description of the desired scene and action. Reference characters as "Video 1", "Video 2" etc. |
| image | No | Optional reference image to supplement the video references. |
| negative_prompt | No | Elements to exclude from the generated video. |
| resolution | No | Output resolution: 720p (default) or 1080p. |
| aspect_ratio | No | Output aspect ratio. Default: 16:9. |
| duration | No | Clip length in seconds. Default: 5. |
| enable_prompt_expansion | No | Enable automatic prompt optimization before generation. Default: off. |
| seed | No | Random seed for reproducible results. Use -1 for a random seed. |
How to Use
- Upload your reference videos — provide one or more source videos via URL or drag-and-drop. Click Add Item to add more.
- Write your prompt — describe the new scene, referencing characters by position (e.g., "The characters in Video 1 and Video 2 are sitting in front of the TV and playing video games together.").
- Upload reference image (optional) — provide a still image to supplement the visual references.
- Add negative prompt (optional) — specify elements you want to exclude from the output.
- Select resolution — 720p for standard output, 1080p for higher-quality results.
- Select aspect ratio — choose the format that fits your target platform.
- Set duration — choose your desired clip length in seconds.
- Enable prompt expansion (optional) — let the model automatically enrich your prompt before generation.
- Set seed (optional) — fix the seed to reproduce a specific result in future runs.
- Submit — generate, preview, and download your video.
Prompt Indexing Rule
Refer to reference media as Image 1, Image 2, ... and Video 1, Video 2, ... (capitalized, with a space). Images and videos are counted separately, each in the order you upload them. For example, with 2 videos and 2 reference images:
- Video 1 = first video
- Video 2 = second video
- Image 1 = first reference image
- Image 2 = second reference image
Example prompt: "Video 2 holds Image 1 and plays a gentle folk song in a cafe, Video 1 smiles while watching Video 2"
Pricing
Default settings (5 s, 720p, no references), per run: $0.50
Price per request by duration and resolution. The first two columns are without any reference media; the last two columns use 1 reference video.
| Duration | 720p, no reference | 1080p, no reference | 720p, 1 reference video | 1080p, 1 reference video |
|---|---|---|---|---|
| 2 s | $0.20 | $0.30 | $0.70 | $1.05 |
| 3 s | $0.30 | $0.45 | $0.80 | $1.20 |
| 4 s | $0.40 | $0.60 | $0.90 | $1.35 |
| 5 s | $0.50 | $0.75 | $1.00 | $1.50 |
| 6 s | $0.60 | $0.90 | $1.10 | $1.65 |
| 8 s | $0.80 | $1.20 | $1.30 | $1.95 |
| 10 s | $1.00 | $1.50 | $1.50 | $2.25 |
Billing Rules
- Duration: the price grows with the clip length in
duration(2–10 seconds).
- References: when a request includes at least one reference video, reference image, or the optional
image, 5 extra seconds are billed on top of the selected duration. For example, a 5 s clip with 1 reference video at 720p costs $1.00, the same as a 5 s clip with 1 reference image at 720p: $1.00.
- Number of references: the charge does not depend on how many references you add. 1 reference video costs $1.00 per run at default settings, and 5 reference videos cost $1.00.
- Resolution: 1080p costs 1.5× the 720p price for the same duration and references. For example, a 5 s clip with 1 reference video costs $1.00 at 720p and $1.50 at 1080p.
Best Use Cases
- Character-Driven Storytelling — Place characters from multiple reference videos into entirely new scenarios.
- Fan Content & IP Crossovers — Combine characters from different sources into a single coherent scene.
- Marketing & Brand Video — Generate new scenes featuring consistent brand characters or spokespeople from reference footage.
- Creative Concepting — Rapidly prototype multi-character scenes for pitching and storyboarding.
- Social Media Content — Create novel, character-consistent short-form video from existing footage.
Pro Tips
- Use "Video 1", "Video 2" etc. in your prompt to refer to specific reference videos in order.
- The more distinct and clear each reference video is, the better the character consistency in the output.
- Use negative_prompt to prevent unintended blending of visual styles between reference videos.
- Enable prompt expansion for shorter or less detailed prompts to get richer output automatically.
- Start with 720p to test your scene composition before committing to a 1080p final render.
Notes
- Both videos and prompt are required fields; all other parameters are optional.
- Ensure video and image URLs are publicly accessible if using links rather than direct uploads.
- Please ensure your content complies with usage policies.
- At least one
reference_imageorreference_videois required.
- The total number of
reference_imageandreference_videoitems must not exceed5.
- Subject reference images or videos should contain only one main subject.
reference_videocan provide subject and voice-timbre reference; empty-scene videos are not recommended.
Related Models
- Wan 2.7 Image-to-Video — Animate a single reference image into a cinematic video clip.
- Wan 2.7 Text-to-Video — Generate video from text prompts without reference footage.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Wan 2.7 Reference to Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/alibaba/wan-2.7/reference-to-video 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://static.website-files.org/assets/video-generator/landing/showcase/03image1-c78e296fd3ea.webp",
"reference_videos": [],
"reference_images": [
"https://static.website-files.org/assets/video-generator/landing/showcase/03image1-c78e296fd3ea.webp",
"https://static.website-files.org/assets/video-generator/landing/showcase/03image2-2e057c254142.webp",
"https://static.website-files.org/assets/video-generator/landing/showcase/03image3-5c78b9a49368.webp",
"https://static.website-files.org/assets/video-generator/landing/showcase/03image4-a33352c02ab0.webp"
],
"negative_prompt": "A cinematic ocean wave at sunrise, highly detailed",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5,
"enable_prompt_expansion": false,
"seed": 0
}Wan 2.7 Reference to Video API — Frequently asked questions
What is the Wan 2.7 Reference To Video API?
Wan 2.7 Reference To Video is a Alibaba model for reference-guided video generation, exposed as a REST API on OpenSIAI. WAN 2.7 Reference-to-Video turns character, prop, or scene references from images or videos into new video shots with preserved identity, style, and layout plus smooth, coherent motion. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Wan 2.7 Reference To Video 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/reference-to-video.
How much does Wan 2.7 Reference To Video cost per run or per second?
Wan 2.7 Reference To Video starts at $0.1 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 Reference To Video accept?
Key inputs: prompt, image, aspect_ratio, resolution, duration, 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/reference-to-video.
How long does Wan 2.7 Reference To Video take to generate?
Reported generation time on OpenSIAI is around 231 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 Reference To Video 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.