{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-reference/ai_video_generator.yaml","sidebar":"sidebar-reference/sidebars.yaml"},"props":{"definitionId":"reference/ai_video_generator.yaml","dynamicMarkdocComponents":[],"baseSlug":"/reference/ai_video_generator","seo":{"title":"AI Video Generator","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"itemId":"","disableAutoScroll":true,"metadata":{"type":"openapi","title":"AI Video Generator","description":"# Overview\nYouCam AI Video Generator transforms text prompts and images into captivating videos with ease. Powered by advanced AI technology, it creates realistic motion effects that bring your ideas and photos to life. With a wide selection of professionally optimized templates, you can quickly turn still images into engaging, high quality video content.\n\nTo create an AI video from an image, start with a photo that features a clean background and a clearly visible portrait. Simply upload your image and let YouCam AI Video Generator do the rest, transforming your text prompts and photo into a dynamic video in just moments.\n\nUse cases:\n\n![](https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/webp_Animate%20Photo_047_d9e1cff579.jpg)\n\n![](https://bcw-media.s3.ap-northeast-1.amazonaws.com/AI_Dance_Video_61cf4c58d1.png)\n\n![](https://bcw-media.s3.ap-northeast-1.amazonaws.com/241216_AI_Kiss_image05_c3b7f1ac5b.jpg)\n\n\n## File Specs & Errors\n\n* Supported Formats & Dimensions\n\n|AI Feature|Supported Dimensions|Supported File Size|Supported Formats|\n|  ----  | ----  | ----  | ----  |\n| V1.0 Image to Video (Standard) |Input: >= 300*300px with aspect ratio between 1:2.5 ~ 2.5:1. Output: Up to 720p 30fps|Input: <10MB. Output: 5 seconds or 10 seconds|jpg/jpeg/png|\n| V1.0 Image to Video (Professional) |Input: >= 300*300px with aspect ratio between 1:2.5 ~ 2.5:1. Output: Up to 1080p 30fps|Input: <10MB. Output: 5 seconds or 10 seconds|jpg/jpeg/png|\n| V2.0 Image to Video | Input images must have a long side no greater than 4096 pixels and an aspect ratio between 1:2.5 and 2.5:1. <br> Supported output resolutions are 480p, 720p, and 1080p. If the input image’s short side exceeds the selected resolution, or if its long side is smaller than the target, the image will be automatically resized so that the short side matches the chosen resolution. |Input: <10MB. Output: 5 seconds or 10 seconds|jpg/jpeg/png|\n\n* Error Codes\n\n| Error Category | Scenario / Description | Suggested Action |\n| -------------- | ---------------------- | ---------------- |\n| Invalid request parameters | Request parameters are invalid or missing | Verify that all request parameters are correct |\n| | Invalid parameter values (e.g., incorrect key or illegal value) | Check the error message field in the response and update the request parameters |\n| | Invalid request method | Review the API documentation and use the correct HTTP method |\n| | Requested resource does not exist (e.g., model not found) | Refer to the response error message field and correct the request parameters|\n| Trigger strategy | Platform policy has been triggered | Check whether any platform policies were violated |\n| | Content security policy triggered  | Review and modify the input content, then resend the request |\n| | Request rate too high (rate limit exceeded)| Reduce request frequency, retry later, or contact customer service to increase limits |\n| | Concurrency or QPS exceeds quota   | Reduce request frequency, or retry later |\n| Internal error  | Internal server error | Retry later or contact customer service |\n| | Server temporarily unavailable | Retry later or contact customer service |\n| | Internal timeout due to request backlog| Retry later or contact customer service |\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.perfectcorp.com","port":4000,"ipAddress":"216.73.216.254"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"master"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/reference/ai_video_generator","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}