# Wan 3.0 Text To Video > AI model for generating video content ## Overview - **Model ID**: `wan3.0-t2v` - **Category**: video - **Provider**: alibaba_cloud - **Source Type**: Closed Source Model - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.ai/generations/15e5fd51-906a-404e-bda5-3c477eddbfb1.png` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/video-fusion/text-to-video` - **Method**: POST ### Parameters - **`prompt`** (required): Describe the prompt for the video to be generated. - Type: textarea - Example: Please enter Prompt here. - **`duration`** (required): please select how long the video needed to be genetated in sec. - Type: number (range: 4-30) - **`aspect_ratio`** (required): The aspect ratio of the generated video — 16:9 is wide - Type: select (options: 16:9, 9:16, 1:1, 4:3, 3:4) - **`model_id`** (optional): - Type: text - **`resolution`** (required): Resolution is the amount of detail video display can show. - Type: select (options: 480P, 720P, 1080P) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/video-fusion/text-to-video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "wan3.0-t2v", "prompt": "A 15-second 16:9 surreal high-altitude fashion concept film set above a sea of clouds, where a vintage black wrought-iron single bed floats among bright, billowing cumulus with no ground support, like a private room suspended in the sky. A cool, composed adult female model lies on the bed in a look blending minimal business wear, vintage aviation uniform, and avant-garde fashion: loose gray-blue suit trousers, a white pointed-collar shirt, a black cropped leather jacket, a dark burgundy silk scarf and leather gloves, and burgundy pointed high-heel ankle boots, her hair slicked back into a low bun, wearing narrow black sunglasses and clean, cold makeup. The mattress is covered by a light-colored sheet with abstract hand-drawn marks, old newspaper, and collage textures, and the bed is scattered with still-life objects like books, folders, a small chessboard, a white sphere, and a vintage camera. The film shows the model waking, turning, stretching, and half-sitting up on the floating bed, showcasing clothing, leather, boots, gloves, and neckline details from varied angles; her movements are extremely slow yet physically tense. Gray analog noise, black-and-white negative flashes, defocus, and motion smear interrupt the imagery, while the camera combines extreme low-angle wide shots, aerial long shots, and body close-ups to emphasize the rhythmic contrast between rapid camera scale shifts and the model's languid motion. The overall style is a high-end fashion brand concept film, cold European editorial fashion imagery, cloudscape dream, minimal absurdism.", "duration": "5", "aspect_ratio": "16:9", "resolution": "480P" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/video-fusion/text-to-video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "wan3.0-t2v", "prompt": "A 15-second 16:9 surreal high-altitude fashion concept film set above a sea of clouds, where a vintage black wrought-iron single bed floats among bright, billowing cumulus with no ground support, like a private room suspended in the sky. A cool, composed adult female model lies on the bed in a look blending minimal business wear, vintage aviation uniform, and avant-garde fashion: loose gray-blue suit trousers, a white pointed-collar shirt, a black cropped leather jacket, a dark burgundy silk scarf and leather gloves, and burgundy pointed high-heel ankle boots, her hair slicked back into a low bun, wearing narrow black sunglasses and clean, cold makeup. The mattress is covered by a light-colored sheet with abstract hand-drawn marks, old newspaper, and collage textures, and the bed is scattered with still-life objects like books, folders, a small chessboard, a white sphere, and a vintage camera. The film shows the model waking, turning, stretching, and half-sitting up on the floating bed, showcasing clothing, leather, boots, gloves, and neckline details from varied angles; her movements are extremely slow yet physically tense. Gray analog noise, black-and-white negative flashes, defocus, and motion smear interrupt the imagery, while the camera combines extreme low-angle wide shots, aerial long shots, and body close-ups to emphasize the rhythmic contrast between rapid camera scale shifts and the model's languid motion. The overall style is a high-end fashion brand concept film, cold European editorial fashion imagery, cloudscape dream, minimal absurdism.", "duration": "5", "aspect_ratio": "16:9", "resolution": "480P" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/video-fusion/text-to-video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "wan3.0-t2v", "prompt": "A 15-second 16:9 surreal high-altitude fashion concept film set above a sea of clouds, where a vintage black wrought-iron single bed floats among bright, billowing cumulus with no ground support, like a private room suspended in the sky. A cool, composed adult female model lies on the bed in a look blending minimal business wear, vintage aviation uniform, and avant-garde fashion: loose gray-blue suit trousers, a white pointed-collar shirt, a black cropped leather jacket, a dark burgundy silk scarf and leather gloves, and burgundy pointed high-heel ankle boots, her hair slicked back into a low bun, wearing narrow black sunglasses and clean, cold makeup. The mattress is covered by a light-colored sheet with abstract hand-drawn marks, old newspaper, and collage textures, and the bed is scattered with still-life objects like books, folders, a small chessboard, a white sphere, and a vintage camera. The film shows the model waking, turning, stretching, and half-sitting up on the floating bed, showcasing clothing, leather, boots, gloves, and neckline details from varied angles; her movements are extremely slow yet physically tense. Gray analog noise, black-and-white negative flashes, defocus, and motion smear interrupt the imagery, while the camera combines extreme low-angle wide shots, aerial long shots, and body close-ups to emphasize the rhythmic contrast between rapid camera scale shifts and the model's languid motion. The overall style is a high-end fashion brand concept film, cold European editorial fashion imagery, cloudscape dream, minimal absurdism.", "duration": "5", "aspect_ratio": "16:9", "resolution": "480P" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Integration Options ### CLI Install: `curl -fsSL https://modelslab.sh/install.sh | sh` or `brew install modelslab/tap/modelslab` ```bash modelslab auth login # Authenticate modelslab models search "wan3.0-t2v" # Find this model modelslab models detail --id wan3.0-t2v # Get model details modelslab generate image --prompt "..." --model wan3.0-t2v # Generate with model modelslab config set generation.default_model wan3.0-t2v # Set as default ``` - Website: https://modelslab.sh - GitHub: https://github.com/ModelsLab/modelslab-cli ### MCP Servers (Model Context Protocol) For Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible agent. - Generation: `https://modelslab.com/mcp/v7` (API key auth, 23 tools) - Agent Control Plane: `https://modelslab.com/mcp/agents` (Bearer token auth, 10 tools) Claude Code config (`~/.claude/settings.json`): ```json { "mcpServers": { "modelslab-v7": { "url": "https://modelslab.com/mcp/v7", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } ``` - Documentation: https://docs.modelslab.com/mcp-web-api/overview ### Agent Skills Install skill files directly into AI coding agents: ```bash npx skills add modelslab/skills --all # All skills npx skills add modelslab/skills --skill image-generation # Specific skill npx skills add modelslab/skills --all -a claude-code -a cursor # Target agents ``` - GitHub: https://github.com/ModelsLab/skills - Documentation: https://docs.modelslab.com/agent-skills ### SDKs - Python: `pip install modelslab` - TypeScript: `npm install modelslab` - PHP: `composer require modelslab/modelslab` - Go: `go get github.com/modelslab/modelslab-go` - Dart: `dart pub add modelslab` ## Links - [Model Playground](https://modelslab.com/models/alibaba_cloud/wan3.0-t2v) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)