Img2Videoper second
$0.03
使用 Framepack AI 從圖片生成更長、更高品質的影片。透過 存取 Framepack API,立即打造一致的影片序列!
費用以生成影片的秒數計算。
$0.03
Capabilities from the production model page.
Framepack 影片 API 支援多模態輸入,將圖片與文字提示轉換為高品質影片。
支援長影片生成與彈性時長選擇,可在 30 FPS 下生成 10–30 秒影片。
採用 anti-drifting 與 anti-forgetting 等方法,確保影片在全時長保持一致性與品質。
使用下一幀預測進行自回歸式 I2V 生成,兼顧效率與品質。
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.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/framepack",
"task_type": "img2video",
"input": {
"start_image": "YOUR_IMAGE_URL",
"prompt": "The camera slowly zooms in on a calm portrait.",
"duration": 10
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"video_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run framepack \ start_image=YOUR_IMAGE_URL \ prompt="The camera slowly zooms in on a calm portrait." \ duration=10 ✓ Task completed! https://img.theapi.app/ephemeral/…
Framepack 是一種 I2V(image-to-video)模型,可將靜態圖片轉換為影片,並針對長影片生成訓練。你可以透過 Framepack AI API 開始使用,或在 Framepack AI 影片生成試用台 體驗示範!
價格為每生成 1 秒影片 $0.03。只需為你請求的時長付費,可在 10–30 秒之間彈性選擇。
你可以用 URL 或 base64 字串提供起始圖片,並可選提供結束圖片。建議使用清晰、光線充足的圖片;人臉與人物主體通常效果更佳。
不支援退款。但首次註冊 PiAPI Workspace 會獲得免費額度,可先體驗試用台與 API(尤其是「Pay-as-you-go」服務)再決定是否付費。
請寄信至 support@piapi.ai — 我們很樂意進一步交流產品與合作!
More questions? See the API docs.
Framepack API