alibaba/wan2.7-videoedit

wan2.7-videoedit
Docs
Schema

[Core Function] Wan 2.7 Video Editing is an instruction-based video modification model. [Strengths] It supports complex video editing tasks like content replacement using reference images, and replicating actions, effects, and camera movements. [Best For] Highly recommended for: modifying existing video footage, style transfer on videos, and targeted element replacement. [Limitations] Do NOT use this model to generate a brand new video from scratch; it requires an input video. [Routing] Use this model by default whenever a user wants to edit, alter, or restyle an existing video.

$0.1000~$0.1400/sec
video-to-video

Input

Text prompt describing desired video modifications (supports Chinese and English, up to 5000 characters)
Input video URL (HTTP/HTTPS/OSS) or Base64 encoded data (required)
Hint: Drag and drop files, paste from clipboard (Ctrl/Cmd+V), or provide a URL.
Negative prompt describing unwanted content
Audio handling mode (auto: intelligent decision based on prompt, origin: preserve original audio)
auto
Video duration in seconds (2-10 = truncate to specified length)
5
Enable intelligent prompt rewriting (improves quality for short prompts but increases processing time)
Video aspect ratio (defaults to input video ratio if not specified)
ratio
Reference image URLs for style transfer (optional, max 4). Combined with video_url, the total media count must be ≤ 5
Hint: Drag and drop files, paste from clipboard (Ctrl/Cmd+V), or provide a URL.
Video resolution tier
1080P
Random seed for reproducibility (note: results may vary even with same seed)

Result

No results yet

Run the model to preview the output here.

Next:

README

Parameters

Name Description Type Required Enums
prompt Text prompt describing desired video modifications (supports Chinese and English, up to 5000 characters) string No -
video_url Input video URL (HTTP/HTTPS/OSS) or Base64 encoded data (required) string Yes -
negative_prompt Negative prompt describing unwanted content string No -
audio_setting Audio handling mode (auto: intelligent decision based on prompt, origin: preserve original audio) string No auto, origin
duration Video duration in seconds (2-10 = truncate to specified length) integer No 2, 3, 4, 5, 6, 7, 8, 9, 10
prompt_extend Enable intelligent prompt rewriting (improves quality for short prompts but increases processing time) boolean No true, false
ratio Video aspect ratio (defaults to input video ratio if not specified) string No 16:9, 9:16, 1:1, 4:3, 3:4
reference_images Reference image URLs for style transfer (optional, max 4). Combined with video_url, the total media count must be ≤ 5 string[] No -
resolution Video resolution tier string No 720P, 1080P
seed Random seed for reproducibility (note: results may vary even with same seed) integer No -

Pricing

Unit: $/sec

Dimension Pricing
resolution: 720P 0.1000
resolution: 1080P 0.1400
  • alibaba/wan2.7-image: [Core Function] Wan 2.7 Image is a fast, reasoning-enhanced image generation model. [Strengths] It includes the chain-of-thought reasoning and text rendering of the Pro version, but is optimized for speed, supporting up to 2K resolution. [Best For] Highly recommended for: fast iterations, conceptual design, and generating accurate images with text at standard resolutions. [Limitations] Do NOT use this model if you require 4K print-ready resolution. [Routing] Use this for standard, everyday high-quality image generation requests.
  • alibaba/wan2.7-image-pro: [Core Function] Wan 2.7 Image Pro is Alibaba’s flagship reasoning-enhanced image generation model. [Strengths] It features built-in chain-of-thought reasoning (Thinking Mode), exceptional prompt accuracy, native 12-language text rendering, and generates ultra-high-resolution 4K images. [Best For] Highly recommended for: print-ready large-format posters, complex logical prompts, and generating images containing specific text/typography. [Limitations] Do NOT use this model if you need to generate batch images rapidly (use Wan 2.7 Image instead) or if you specifically need negative prompts (use Qwen Image 2.0 Pro). [Routing] Use this model by default for high-end, 4K, or text-heavy image generation tasks.
  • alibaba/wan2.7-image-edit: [Core Function] Wan 2.7 Image Edit is a fast, reasoning-enhanced image editing model. [Strengths] Provides the robust editing capabilities of the Wan 2.7 architecture with faster turnaround times. [Best For] Highly recommended for: standard image modifications and style transfers. [Limitations] Do NOT use if you need absolute maximum fidelity or negative prompt support. [Routing] Use for standard, fast image editing tasks.
  • alibaba/wan2.7-image-pro-edit: [Core Function] Wan 2.7 Image Pro Edit is Alibaba’s flagship reasoning-enhanced image editing model. [Strengths] It supports interactive editing, character-consistent multi-image generation, and complex multi-reference modifications with deep reasoning. [Best For] Highly recommended for: professional image retouching, consistent character sheets, and complex structural edits. [Limitations] Do NOT use this model if you specifically need to use negative prompts to exclude elements during editing (use Qwen Image 2.0 Pro Edit instead). [Routing] Use this by default for high-end image editing and multi-reference consistent character generation.
  • alibaba/wan2.7-r2v: [Core Function] Wan 2.7 Reference-to-Video is a highly capable character/entity reference video model. [Strengths] It natively supports entity reference, voice customization, and playbook-based video generation from a single storyboard. [Best For] Highly recommended for: creating consistent video series, brand mascot animation, and storyboard-driven storytelling. [Limitations] Do NOT use this model for simple, single-image direct animation (use I2V instead). [Routing] Use this by default for complex character consistency and storyboard generation tasks on Alibaba.
  • alibaba/wan2.7-t2v: [Core Function] Wan 2.7 T2V is Alibaba’s flagship text-to-video generation model. [Strengths] It generates high-fidelity video directly from text with support for custom aspect ratios, audio generation, and intricate semantic adherence. [Best For] Highly recommended for: high-quality commercial video generation, professional storytelling, and dynamic cinematic sequences. [Limitations] Do NOT use this model if the user specifically requests the streamlined ‘HappyHorse’ workflow. [Routing] Use this model by default for high-end text-to-video requests on the Alibaba platform.
  • alibaba/wan2.7-i2v: [Core Function] Wan 2.7 I2V is Alibaba’s flagship multimodal image-to-video model. [Strengths] It supports multimodal input (text, image, audio, video) for first-frame, start-and-end-frame (FL2V), and video continuation tasks. [Best For] Highly recommended for: complex image animation, cinematic transitions, and video extension workflows. [Limitations] Do NOT use this model if you only need a quick, simple animation where HappyHorse might be faster. [Routing] Use this model by default for complex image-to-video or video continuation tasks.
  • alibaba/happyhorse-1.1-t2v: [Core Function] HappyHorse 1.1 T2V is Alibaba’s latest streamlined text-to-video model. [Strengths] It generates 720P/1080P video with native audio support, 3-15 second duration, and an expanded set of aspect ratios including 4:5, 5:4, 9:21, and 21:9. [Best For] Highly recommended for: fast HappyHorse text-to-video generation, social video formats, and high-throughput content creation. [Limitations] It does not expose custom audio controls; use Wan 2.7 T2V when custom audio input is required. [Routing] Prefer this model when the user explicitly requests HappyHorse text-to-video or wants the latest HappyHorse generation quality.
  • bytedance/seedance-2.0-t2v: [Core Function] Seedance 2.0 T2V is ByteDance Dreamina Seedance 2.0 text-to-video. [Strengths] Supports 480p/720p/1080p/4k, 24 fps, 4-15s MP4 output. Text-only input — do not pass images, video, or audio. [Routing] Use for high-fidelity text-to-video when quality or 4k output is requested.
  • xai/grok-imagine-video: [Core Function] Grok Imagine Video is xAI’s text-to-video generation model. [Strengths] It excels at generating short, dynamic video clips directly from a text prompt, with controllable duration, aspect ratio, and resolution. [Best For] Highly recommended for: short social clips, animated concepts, and dynamic scene generation from a description. [Limitations] Do NOT use this model when you have a starting image or reference subjects, or when you need resolutions above 720p or clips longer than 15 seconds; it is limited to 480p/720p and 15s. [Routing] Use this model when the user wants a video from text only. If a starting image is provided, route to the Image-to-Video model; for reference-driven character video, use Reference-to-Video.
  • xai/grok-imagine-video-1.5-i2v: [Core Function] Grok Imagine Video 1.5 I2V animates a single starting image into a video using the Grok Imagine 1.5 generation backbone. [Strengths] It excels at producing motion from one starting frame with the improved 1.5 model. [Best For] Highly recommended for: animating a photo or illustration when the 1.5 generation backbone is preferred. [Limitations] Do NOT use this model for text-only generation, for resolutions above 1080p, or for clips longer than 15 seconds; it requires a starting image and is limited to 480p/720p/1080p and 15s. [Routing] Use this model when the user provides one starting image and prefers the 1.5 backbone.
  • bytedance/seedance-2.0-i2v: [Core Function] Seedance 2.0 I2V is ByteDance’s flagship unified multimodal video generation model. [Strengths] It supports complex mixed references (multiple images, audio clips) and generates up to 15s of multi-shot audio-video output with dual-channel audio. [Best For] Highly recommended for: high-end complex video generation, multi-shot narratives, and mixed-reference cinematic production. [Limitations] Do NOT use this model if you only need a very basic legacy generation without complex references. [Routing] Use this model by default for any complex, multi-reference, or high-fidelity image-to-video tasks.
  • alibaba/happyhorse-1.1-i2v: [Core Function] HappyHorse 1.1 I2V is Alibaba’s latest streamlined first-frame image-to-video model. [Strengths] It turns a single image into high-quality 720P/1080P video with native audio support and 3-15 second duration; output aspect ratio follows the first frame image. [Best For] Highly recommended for: rapid image animation, product motion previews, and simple character or scene animation. [Limitations] It does not accept an explicit ratio parameter; use T2V or R2V when you need a fixed generated aspect ratio. [Routing] Prefer this model when the user provides one image and requests HappyHorse image animation.
  • alibaba/happyhorse-1.1-r2v: [Core Function] HappyHorse 1.1 R2V is Alibaba’s latest reference-image-to-video model. [Strengths] It uses 1-9 reference images to preserve subject or character appearance while generating new video actions, supports 720P/1080P output, 3-15 second duration, and expanded aspect ratios including 4:5, 5:4, 9:21, and 21:9. [Best For] Highly recommended for: character-consistent storytelling, reference-based product shots, and multi-image subject composition. [Limitations] Do NOT use if the user simply wants to animate a single image exactly as provided; use HappyHorse I2V instead. [Routing] Use when the user provides one or more reference images and asks for a newly generated HappyHorse video.
  • bytedance/seedance-2.0-v2v: [Core Function] Seedance 2.0 V2V is ByteDance’s flagship multimodal video-to-video model. [Strengths] It allows powerful editing and stylization of input videos by supporting mixed references (text, images, video, and audio) and producing multi-shot 15s outputs. [Best For] Highly recommended for: complex video-to-video transformations, restyling existing footage, and creating dynamic multi-shot edits. [Limitations] Do NOT use this model for simple still-image generation (use Seedream instead). [Routing] Use this model by default for any video editing or video-to-video generation tasks.
  • xai/grok-imagine-video-edit: [Core Function] Grok Imagine Video Edit applies a prompt-guided transformation to an input video. [Strengths] It excels at restyling and modifying an existing video while keeping its original duration and aspect ratio. [Best For] Highly recommended for: restyling clips, applying visual effects, and prompt-driven video edits. [Limitations] Do NOT use this model to change the duration, aspect ratio, or resolution; the output preserves the input video’s duration and aspect ratio, and those parameters are not configurable. Input video constraints (e.g. format/length) are enforced by the upstream provider. [Routing] Use this model when the user provides a video and wants it edited/restyled. To make a video longer, use Video Extend.
  • xai/grok-imagine-video-extend: [Core Function] Grok Imagine Video Extend continues an existing video, generating additional footage beyond its end. [Strengths] It excels at seamlessly extending a clip with new prompt-guided motion. [Best For] Highly recommended for: lengthening short clips, continuing a scene, and adding follow-on action. [Limitations] Do NOT use the duration parameter expecting it to set the total video length; it only controls the length of the appended segment (2-10 seconds). Input video constraints are enforced by the upstream provider. [Routing] Use this model when the user wants to make a video longer. To restyle or modify an existing video, use Video Edit.

More in this series