Video
Request schema for Wan text-to-video generation.
Uses Wan-AI/Wan2.5-T2V model for creating videos from text prompts.
Text description of the video to generate
A humanoid robot holding a flag that says 'RELAY', waving it proudly against a futuristic city skyline at sunsetVideo generation model. Available: 'Wan-AI/Wan2.5-T2V' (default)
Wan-AI/Wan2.5-T2VVideo resolution: '832x480', '480x832', '1280x720', '720x1280'
832x480Example: 832x480Video duration in seconds (5 or 10)
5Things to avoid in the video
blurry, low quality, distorted, watermarkURL of audio file to include in the video
Enable AI-powered prompt enhancement for better results
falseRandom seed for reproducible results
Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately, poll /v2/tasks/{task_address} for result. Default: false. Recommended: true for video (2-20 min runtime).
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Wan image-to-video generation.
Uses Wan-AI/Wan2.5-I2V model to generate videos from a source image and text prompt.
Text description to guide video generation
A cat slowly turning its head toward the camera and blinkingURL of the first frame image
https://images.pexels.com/photos/2071873/pexels-photo-2071873.jpegVideo resolution: '480p', '720p', '1080p'
720pExample: 720pVideo duration in seconds: 5 or 10
5Things to avoid in the video
blurry, low quality, distorted, watermarkURL of audio file to include in the video
Enable AI-powered prompt enhancement for better results
falseRandom seed for reproducible results
Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately, poll /v2/tasks/{task_address} for result. Default: false. Recommended: true for video (2-20 min runtime).
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Sora image-to-video generation.
Uses OpenAI Sora 2 model for high-quality I2V generation.
URL or base64 of the first frame image
https://images.pexels.com/photos/2071873/pexels-photo-2071873.jpegOptional text description to guide video generation
The cat slowly turns and looks at the cameraVideo duration in seconds: 4, 8, or 12
4Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately, poll /v2/tasks/{task_address} for result. Default: false. Recommended: true for video (2-20 min runtime).
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Sora text-to-video generation.
Text description of the video to generate
Video resolution (portrait or landscape)
720x1280Video duration in seconds: 4, 8, or 12
4Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Sora Pro text-to-video generation.
Text description of the video to generate
Video resolution
720x1280Video duration in seconds: 4, 8, or 12
4Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Sora Pro image-to-video generation.
URL or base64 of the first frame image
Optional text description to guide generation
Video resolution
720pVideo duration in seconds: 4, 8, or 12
4Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Kling text-to-video generation.
Text description of the video to generate
Video aspect ratio
16:9Video duration in seconds: 5 or 10
5Things to avoid in the video
Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Kling image-to-video generation.
Text description to guide video generation
Reference image URL or base64 encoded string
End frame image URL or base64 encoded string (optional)
Video aspect ratio
16:9Video duration in seconds: 5 or 10
5Things to avoid in the video
Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Wan 2.6 text-to-video generation.
Text description of the video to generate
Video resolution
1280x720Video duration in seconds: 5, 10, or 15
5Things to avoid in the video
URL of audio file to include in the video
Enable AI-powered prompt enhancement
trueRandom seed for reproducibility
Shot type: 'single' or 'multi'
Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Request schema for Wan 2.6 image-to-video generation.
Text description to guide video generation
URL of the first frame image
Video resolution: '720P' or '1080P'
1080PVideo duration in seconds: 5, 10, or 15
5Things to avoid in the video
URL of audio file to include in the video
Enable AI-powered prompt enhancement
trueRandom seed for reproducibility
Shot type: 'single' or 'multi'
Routing mode: 'auto' or 'direct' (video is direct-only)
autoReturn task_address immediately for polling
falseSuccessful Response
Task accepted (async mode).
Validation Error
Last updated