Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Use the API docs and the request example above to iterate on prompts and settings before wiring them into your product.
AI 广告视频生成器会根据产品图片、脚本、演员参考、Logo、画幅和时长等输入创建短广告视频,帮助你快速把 campaign ideas 变成可测试的视频创意。
不需要。产品图片和脚本是核心输入。如果不上传演员,工具会用产品镜头、生活方式场景、字幕和视觉叙事生成产品重点广告。
可以。Logo 上传是可选的。如果提供 Logo,prompt 会在视频接近结尾的位置与最终 CTA 一起展示。
不需要。你可以使用按量付费 credits 按需生成。PiAPI 也为有持续生成需求的用户和团队提供订阅计划。
可以。你可以上传服务参考图,而不是实体产品图,例如干净客厅、诊所内景、沙龙场景、餐厅菜品、健身课程、门店外观或完成效果。
使用清晰、光线充足、干扰少的图片。产品图片应清楚展示物品;服务图片应展示广告要推广的环境、结果或客户体验。
TikTok、Instagram Reels 和 YouTube Shorts 使用 9:16。YouTube、网站和商业片风格视频使用 16:9。Instagram、Facebook 和 LinkedIn 信息流广告使用 1:1。
当前 Playground 支持 5 秒、10 秒和 15 秒。短片适合快速 hook;10-15 秒能容纳更多卖点和 CTA。
使用 30 MB 以下的 JPG、PNG、WebP 或 BMP 图片。每边应大于 300 px、小于 6000 px,画幅比例在 0.4 到 2.5 之间。
会。Playground 会在上传前将 Logo 标准化到方形 PNG 画布,帮助避免 Logo 过宽或过矮导致的问题。
More questions? See the API docs.
AI Advertisement Video Generator