Img2Videoper second
$0.03
使用 Framepack AI 从图像生成高质量、更长的视频。通过 接入 Framepack API,立即创建一致的视频序列!
定价按生成视频的秒数计算。
$0.03
Capabilities from the production model page.
Framepack 视频 API 支持多模态输入,将图像与文本提示转化为高质量视频。
支持长视频生成与灵活时长选项,可在 30 FPS 下生成 10–30 秒视频。
采用抗漂移与抗遗忘等训练方法,确保生成视频在全时长内保持一致性与质量。
利用下一帧预测进行自回归式图生视频生成,兼顾效率与质量。
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)模型,可将静态图像转化为视频,并针对长视频生成进行训练。你可以通过 Framepack AI API 开始使用,或在 Framepack AI 视频生成试用台 中体验演示!
价格为每生成 1 秒视频 $0.03。只需为你请求的时长付费,可在 10–30 秒之间灵活选择。
你可以通过 URL 或 base64 字符串提供起始图像,并可选提供结束图像。建议使用清晰、光线充足的图片;人脸与人物主体通常效果更佳。
不支持退款。但首次注册 PiAPI Workspace 会获得免费额度,可先体验试用台与 API(尤其是按量付费服务)后再决定是否付费。
请发送邮件至 support@piapi.ai — 我们很乐意进一步交流产品与合作!
More questions? See the API docs.
Framepack API