Wan 2.6
Wan 2.6 is an official Wan video generation model family supporting text-to-video, image-to-video, and video-to-video workflows in one unified async API.
Wan 2.6 Text to Video API
Result
Results will appear here
Cost: $0.15/second
Wan 2.6 API Implementation Guide
Get API Key
Generate your API key from the dashboard and set it as an environment variable.
export MODELHUNTER_KEY="your_api_key"Make Your First Call
Follow the API documentation for complete code examples in cURL, JavaScript, and Python, including request format, polling, and error handling.
View API Documentation →Wan 2.6 Key Info
Capabilities
- Text to Video API
- Image to Video API
- Video to Video API
Pricing
Price per second by resolution
| 720p | 1080p |
|---|---|
| $0.1/second | $0.15/second |
$0.1/sec @720p, $0.15/sec @1080p
Output Formats
Wan 2.6 API Documentation
Run the playground first, then open the full API docs for integration details.
About
Generate videos directly from text prompts
Code Examples
1curl -X POST https://api.modelhunter.ai/api/v1/wan/text-to-video \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "wan/2-6-text-to-video",6"input": {7"prompt": "A futuristic cityscape at sunset with neon signs",8"duration": "5",9"resolution": "1080p"10}11}'
Schema
View Full API DocsInput
modelModel ID for this capability.
Value: wan/2-6-text-to-video
promptDescribe the video content to generate
durationVideo length in seconds
Options: 5, 10, 15
Default: 5
resolutionOutput resolution
Options: 720p, 1080p
Default: 1080p
webhookUrlURL to receive a webhook notification when the task completes.
metadataCustom key-value metadata to attach to the task for tracking.
Response (HTTP 202)
successWhether the request was accepted successfully.
data.idUnique task ID. Use this to poll GET /api/v1/tasks/{id} for results.
data.statusTask status: pending, processing, completed, failed.
data.typeGeneration type: text-to-video.
data.providerProvider name: wan.
data.modelModel ID used for generation.
data.created_atISO 8601 timestamp of when the task was created.
data.estimated_secondsEstimated time in seconds until the task completes.