Build powerful AI video generation into your applications. Access ByteDance's state-of-the-art video models via simple REST APIs. Create cinematic videos from text prompts or images with multi-shot coherence, native sound synthesis, and character consistency.
Join Discord and DM an admin with "Get free API credits" + your email to receive free trial credits; or email [email protected] instead.
Simple RESTful APIs for video generation
Use AI assistants like Claude Code, Cursor, or Codex to integrate the API in minutes.
Get your API Key
Go to Settings > API Keys and create a new API key
Download API documentation
Download the complete API docs as Markdown file
Share with AI assistant
Paste the docs and let AI implement the integration
Generate videos from text prompts. Describe the scene, motion, style, and format you want to create.
curl -X POST "https://image-to-video.net/api/v1/jobs/createTask" \
-H "Authorization: Bearer sk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"model": "official-kling-v3-0",
"inputs": {
"prompt": "A majestic dragon flying over snowy mountains",
"duration": "5s",
"aspectRatio": "16:9",
"resolution": "720p"
}
}'{
"code": 200,
"message": "success",
"data": {
"taskId": "abc123xyz"
}
}model - Model ID (use "seedance-2-0")inputs.prompt - Text description of the video (required for text-to-video, optional for image-to-video)inputs.duration - Video length: 4s, 5s, 8s, 10s, or 15sinputs.aspectRatio - Aspect ratio: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9inputs.resolution - 480p, 720p, 1080pinputs.urls - Array of 1-2 image URLs for image-to-video480p - official resolution label720p - official resolution label1080p - official resolution labelaspectRatio.When status is 'fail', the response includes an errorCode field for programmatic handling:
CONTENT_POLICYContent violates platform policy. Please modify your prompt or image and try again.GENERATION_FAILEDVideo generation failed due to technical reasons. Please retry.INVALID_PARAMSInvalid request parameters. Please check the API documentation.Choose a subscription or pay-as-you-go credit pack. Credits can be used across supported Image To Video generation workflows, with model credit costs shown before you run a generation.
适合初次体验Image To Video AI的用户
专为视频创作者打造的热门套餐
专为打造高产量AI视频项目的重度用户打造
付款完成后,您将永久拥有在本平台创作的所有内容的完整所有权。
为您的AI生成内容下载商业使用授权证书,仅限付费订阅用户使用。
想要对我们的AI视频生成套餐计划提出反馈意见? 提交反馈 或发送邮件至 [email protected]
Everything you need to know about the Image To Video API
Can't find the answer you're looking for? Our support team is here to help.
Start in the browser with free starter credits. Upload a photo, write a prompt, choose a model, and compare short AI video outputs without installing local software.