# Wan 3.0 Image To Video > AI model for generating video content ## Overview - **Model ID**: `wan3.0-i2v` - **Category**: video - **Provider**: alibaba_cloud - **Source Type**: Closed Source Model - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.ai/generations/b95b6afd-f80f-4b2b-90eb-f499627fe341.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/image-to-video` - **Method**: POST ### Parameters - **`init_image`** (required): Add the image to convert it to video using prompt - Type: array - **`model_id`** (optional): Model_id for selecting the model from mutiple models - Type: text - **`prompt`** (required): Enter a prompt to define the actions you want your image to perform. - Type: textarea - **`duration`** (required): - Type: number (range: 4-30) - **`resolution`** (required): Resolution is the amount of detail video display can show. - Type: select (options: 480P, 720P, 1080P) - **`aspect_ratio`** (required): Select the Aspect ratio - Type: select (options: 16:9, 9:16, 1:1, 4:3, 3:4) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/video-fusion/image-to-video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "wan3.0-i2v", "prompt": "Fantasy epic style: a heavy war bow long-range dragon hunt in golden-red sunset and ash-storm tones. A female dragon hunter in a dark green cloak with scorched edges stands atop a broken city wall; her cheek bears a thin old scar, her gaze locked onto a diving young dragon in the distance. Her shoulder and back lines are clear, leather armor covered by carved metal pauldrons, thick forearm guards, and a quiver of black-feathered heavy armor-piercing arrows at her waist. Her left arm is fully extended to steady the longbow, right hand drawing the string to the corner of her mouth; trapezius, latissimus dorsi, and ribs show clear strain under full draw, and the bow hand trembles slightly. The war bow is dark laminated wood with bone inlay, limbs curved exaggeratedly, string vibrating at high frequency; the arrow shaft is thick, the head barbed with tiny rune engravings, black feathers trembling in the side wind. At release the fingertips snap open cleanly, the bow rebounds violently, and the string produces a low whoosh. Within 15 seconds she first dodges a dragon-flame sweep behind a collapsed tower edge, ash rolling past her cloak, then kneels steadily to use a wall gap as a natural shooting window, judging between the dragon’s wing rhythm and the wind flag; a close-up shows her holding her breath, jaw tight, pupils locked on the scale-gap over the dragon’s chest. The arrow leaves the string and speeds almost straight through dust for two seconds, then drops slightly over extreme distance; half-side tracking shows the heavy arrow trailing distorted wake and spark-like rune residue, passing a broken flag and chipping wall stones before striking precisely the scale seam at the young dragon’s right wing root. Hard scales explode with sparks and fragments, then the arrow penetrates halfway, tail vibrating violently; the dragon is jerked off course, right wing folding out of balance, its huge body smashing into a siege tower below, beams and iron hoops bursting, dust and feather-ash shooting skyward. In the ending she turns and draws a second arrow, cloak flying in the high wind, layers of burning embers, gravel, dragon-scale shards, and sunset dust. Use telephoto compression for the long-range hit, close-ups of fingertips and eyes before release, high-speed mid-flight tracking, and local slow-motion on impact. 8K realistic CG quality, epic volumetric light, sand particles, readable scale reflections, and wall debris detail.", "duration": "5", "resolution": "480P", "aspect_ratio": "16:9" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/video-fusion/image-to-video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "wan3.0-i2v", "prompt": "Fantasy epic style: a heavy war bow long-range dragon hunt in golden-red sunset and ash-storm tones. A female dragon hunter in a dark green cloak with scorched edges stands atop a broken city wall; her cheek bears a thin old scar, her gaze locked onto a diving young dragon in the distance. Her shoulder and back lines are clear, leather armor covered by carved metal pauldrons, thick forearm guards, and a quiver of black-feathered heavy armor-piercing arrows at her waist. Her left arm is fully extended to steady the longbow, right hand drawing the string to the corner of her mouth; trapezius, latissimus dorsi, and ribs show clear strain under full draw, and the bow hand trembles slightly. The war bow is dark laminated wood with bone inlay, limbs curved exaggeratedly, string vibrating at high frequency; the arrow shaft is thick, the head barbed with tiny rune engravings, black feathers trembling in the side wind. At release the fingertips snap open cleanly, the bow rebounds violently, and the string produces a low whoosh. Within 15 seconds she first dodges a dragon-flame sweep behind a collapsed tower edge, ash rolling past her cloak, then kneels steadily to use a wall gap as a natural shooting window, judging between the dragon’s wing rhythm and the wind flag; a close-up shows her holding her breath, jaw tight, pupils locked on the scale-gap over the dragon’s chest. The arrow leaves the string and speeds almost straight through dust for two seconds, then drops slightly over extreme distance; half-side tracking shows the heavy arrow trailing distorted wake and spark-like rune residue, passing a broken flag and chipping wall stones before striking precisely the scale seam at the young dragon’s right wing root. Hard scales explode with sparks and fragments, then the arrow penetrates halfway, tail vibrating violently; the dragon is jerked off course, right wing folding out of balance, its huge body smashing into a siege tower below, beams and iron hoops bursting, dust and feather-ash shooting skyward. In the ending she turns and draws a second arrow, cloak flying in the high wind, layers of burning embers, gravel, dragon-scale shards, and sunset dust. Use telephoto compression for the long-range hit, close-ups of fingertips and eyes before release, high-speed mid-flight tracking, and local slow-motion on impact. 8K realistic CG quality, epic volumetric light, sand particles, readable scale reflections, and wall debris detail.", "duration": "5", "resolution": "480P", "aspect_ratio": "16:9" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/video-fusion/image-to-video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "wan3.0-i2v", "prompt": "Fantasy epic style: a heavy war bow long-range dragon hunt in golden-red sunset and ash-storm tones. A female dragon hunter in a dark green cloak with scorched edges stands atop a broken city wall; her cheek bears a thin old scar, her gaze locked onto a diving young dragon in the distance. Her shoulder and back lines are clear, leather armor covered by carved metal pauldrons, thick forearm guards, and a quiver of black-feathered heavy armor-piercing arrows at her waist. Her left arm is fully extended to steady the longbow, right hand drawing the string to the corner of her mouth; trapezius, latissimus dorsi, and ribs show clear strain under full draw, and the bow hand trembles slightly. The war bow is dark laminated wood with bone inlay, limbs curved exaggeratedly, string vibrating at high frequency; the arrow shaft is thick, the head barbed with tiny rune engravings, black feathers trembling in the side wind. At release the fingertips snap open cleanly, the bow rebounds violently, and the string produces a low whoosh. Within 15 seconds she first dodges a dragon-flame sweep behind a collapsed tower edge, ash rolling past her cloak, then kneels steadily to use a wall gap as a natural shooting window, judging between the dragon’s wing rhythm and the wind flag; a close-up shows her holding her breath, jaw tight, pupils locked on the scale-gap over the dragon’s chest. The arrow leaves the string and speeds almost straight through dust for two seconds, then drops slightly over extreme distance; half-side tracking shows the heavy arrow trailing distorted wake and spark-like rune residue, passing a broken flag and chipping wall stones before striking precisely the scale seam at the young dragon’s right wing root. Hard scales explode with sparks and fragments, then the arrow penetrates halfway, tail vibrating violently; the dragon is jerked off course, right wing folding out of balance, its huge body smashing into a siege tower below, beams and iron hoops bursting, dust and feather-ash shooting skyward. In the ending she turns and draws a second arrow, cloak flying in the high wind, layers of burning embers, gravel, dragon-scale shards, and sunset dust. Use telephoto compression for the long-range hit, close-ups of fingertips and eyes before release, high-speed mid-flight tracking, and local slow-motion on impact. 8K realistic CG quality, epic volumetric light, sand particles, readable scale reflections, and wall debris detail.", "duration": "5", "resolution": "480P", "aspect_ratio": "16:9" }) }) .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-i2v" # Find this model modelslab models detail --id wan3.0-i2v # Get model details modelslab generate image --prompt "..." --model wan3.0-i2v # Generate with model modelslab config set generation.default_model wan3.0-i2v # 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-i2v) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)