infery
← All models

Wan v2.6 Text to Video

wan/v2.6/text-to-video

Video generationby Alibaba

Wan 2.6 text-to-video model.

Example

Details

Accepts
text

Pricing

Price
12.5 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
promptrequiredstringThe text prompt for video generation. Supports Chinese and English, max 1500 characters. For multi-shot videos, use format: 'Overall description. First shot [0-3s] content. Second shot [3-5s] content.'
durationstringenum: 5, 10, 15Duration of the generated video in seconds. Choose between 5, 10, or 15 seconds.
audio_url URL of the audio to use as the background music. Must be publicly accessible. Limit handling: If the audio duration exceeds the duration value (5, 10, or 15 seconds), the audio is truncated to the first N seconds, and the rest is discarded. If the audio is shorter than the video, the remaining part…
resolutionstringenum: 720p, 1080pVideo resolution tier. Wan 2.6 T2V only supports 720p and 1080p (no 480p).
multi_shotsbooleanWhen true, enables intelligent multi-shot segmentation for coherent narrative videos. Only active when enable_prompt_expansion is True. Set to false for single-shot generation.
aspect_ratiostringenum: 16:9, 9:16, 1:1, 4:3, 3:4The aspect ratio of the generated video. Wan 2.6 supports additional ratios.
negative_promptNegative prompt to describe content to avoid. Max 500 characters.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleanWhether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time.

Output

FieldTypeDescription
seedintegerThe seed used for generation
videoThe generated video file
actual_promptThe actual prompt used if prompt rewriting was enabled