infery
← All models

Wan 2.5 Text to Video

wan-25-preview-text-to-video

Video generationby Alibaba

Wan 2.5 text-to-video model.

Example

Details

Accepts
text + image

Pricing

Price
6.25 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 describing the desired video motion. Max 1500 characters.
durationstringenum: 5, 10Duration of the generated video in seconds. Choose between 5 or 10 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 or 10 seconds), the audio is truncated to the first 5 or 10 seconds, and the rest is discarded. If the audio is shorter than the video, the remaining par…
image_urlstringURL of the image to use as the first frame. Must be publicly accessible or base64 data URI.
resolutionstringenum: 480p, 720p, 1080pVideo resolution. Valid values: 480p, 720p, 1080p
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.
aspect_ratiostringenum: 16:9, 9:16, 1:1The aspect ratio of the generated video

Output

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