# 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. - **Provider**: replicate - **Model ID**: wan-video/wan-2.7-t2v - **Category**: video_generation - **Credits**: 1740 per request - **Pricing Type**: input_based ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `duration` (integer, optional): Duration of the generated video in seconds (Default: `5`; Range: min: 2, max: 15) - `aspect_ratio` (string, optional): Aspect ratio of the generated video (Default: `16:9`; Options: `16:9`, `9:16`, `1:1`, `4:3`, `3:4`) - `seed` (integer, optional): Random seed for reproducible generation. Range: 0-2147483647 - `negative_prompt` (string, optional): Negative prompt — describes content that should not appear in the video (Default: ``) - `audio` (string, optional): Audio file (wav/mp3, 3-30s, ≤15MB) for voice/music synchronization. If not provided, the model auto-generates matching audio. - `prompt` (string, **required**): Text prompt for video generation - `resolution` (string, optional): Output video resolution (Default: `1080p`; Options: `720p`, `1080p`) - `enable_prompt_expansion` (boolean, optional): Automatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency. (Default: `True`) ## Example Request ```json { "model": "wan-video/wan-2.7-t2v", "input": { "prompt": "your prompt here" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags wan, alibaba, video-generation, text-to-video, audio-sync, multilingual ## Documentation https://replicate.com/wan-video/wan-2.7-t2v