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
أكثر خططنا شعبية لمنشئي الفيديوهات
للمستخدمين القويين الذين يقومون ببناء مشاريع فيديو ذكاء اصطناعي بكميات عالية
تحتفظ بالملكية الكاملة لكل محتوى تقوم بإنشائه على هذه المنصة، إلى الأبد، بمجرد إكمال الدفع.
قم بتنزيل شهادة رخصة الاستخدام التجارية لمحتواك المنشأ بالذكاء الاصطناعي، متاحة حصريًا لملاك الاشتراك المدفوع.
هل تود مشاركة الملاحظات حول خطط إنشاء الفيديوهات بالذكاء الاصطناعي لدينا؟ إرسال الملاحظات أو ارسل لنا بريدًا إلكترونيًا على [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.