← All models
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
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility. If None, a random seed is chosen. |
| promptrequired | string | The text prompt describing the desired video motion. Max 1500 characters. |
| duration | stringenum: 5, 10 | Duration 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_url | string | URL of the image to use as the first frame. Must be publicly accessible or base64 data URI. |
| resolution | stringenum: 480p, 720p, 1080p | Video resolution. Valid values: 480p, 720p, 1080p |
| negative_prompt | — | Negative prompt to describe content to avoid. Max 500 characters. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | Whether to enable prompt rewriting using LLM. |
| aspect_ratio | stringenum: 16:9, 9:16, 1:1 | The aspect ratio of the generated video |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for generation |
| video | — | The generated video file |
| actual_prompt | — | The actual prompt used if prompt rewriting was enabled |