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 一起呈現。
不需要。你可以使用 pay-as-you-go 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