Skip to main content
AlibabaMediumHigh

Wan 2.7 T2V

Alibaba Wan 2.7 text-to-video model. Supports up to 15 seconds, audio synchronization for voice/music, multilingual prompts, and prompt expansion, at 720p or 1080p.

1740 credits
per second, tiered by resolution
Text-to-video generation up to 15 seconds
Audio synchronization for voice and music (auto-generated or user-supplied)
Multilingual prompt support
Automatic prompt expansion for short prompts
720p/1080p output with multiple aspect ratios

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "wan-video/wan-2.7-t2v",
  "input": {
    "prompt": "A chef in a busy kitchen explains a recipe while chopping vegetables, warm natural lighting.",
    "audio": "https://example.com/narration-ko.mp3",
    "resolution": "1080p",
    "duration": 8
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for video generation
negative_promptstringNo-Negative prompt โ€” describes content that should not appear in the video
audiostringNo-Audio file (wav/mp3, 3-30s, โ‰ค15MB) for voice/music synchronization. If not provided, the model auto-generates matching audio.
resolutionstringNo1080pOutput video resolution
720p1080p
aspect_ratiostringNo16:9Aspect ratio of the generated video
16:99:161:14:33:4
durationintegerNo5Duration of the generated video in seconds
enable_prompt_expansionbooleanNotrueAutomatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency.
seedintegerNo-Random seed for reproducible generation. Range: 0-2147483647

How to Provide File Input

There are 3 ways to provide files for the audio parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=wan-video/wan-2.7-t2v" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:audio=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "wan-video/wan-2.7-t2v",
  "input": {
    "prompt": "your prompt here",
    "audio": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Multilingual voice-synced clip

Generate a video with dialogue synchronized to an uploaded audio track.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "wan-video/wan-2.7-t2v",
  "input": {
    "prompt": "A chef in a busy kitchen explains a recipe while chopping vegetables, warm natural lighting.",
    "audio": "https://example.com/narration-ko.mp3",
    "resolution": "1080p",
    "duration": 8
  }
}'

Auto-generated audio from a short prompt

Let the model expand a short prompt and auto-generate matching audio.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "wan-video/wan-2.7-t2v",
  "input": {
    "prompt": "A drummer performing an energetic solo on stage.",
    "enable_prompt_expansion": true,
    "resolution": "720p",
    "duration": 5
  }
}'

Tips & Best Practices

1Leave `audio` empty to let the model auto-generate matching sound instead of sourcing your own track.
2Keep `enable_prompt_expansion` on for short prompts โ€” it improves quality at the cost of some latency.
3Duration can go up to 15 seconds โ€” longer clips are billed proportionally more at the per-second rate.
4Use `negative_prompt` to steer away from unwanted artifacts like text overlays or watermarks.

Use Cases

Multilingual voice-synced marketing or narration clips
Music-video style content with synchronized audio
Longer-form (up to 15s) narrative shots from a single prompt
Rapid prototyping using short prompts with automatic expansion