API介绍
来自 Pika 的视频生成模型
API调试台
登录后,探索更多精彩功能! 点击登录
API列表 (9)
| API描述 | 接口地址 | 请求方法 | 稳定性 | 参数说明 |
|---|---|---|---|---|
Fetch(获取任务结果) | GET | 稳定 | 查看详情 | |
文档详情 获取视频生成任务结果 价格:0 PTC/次 请求参数 Path参数idstring必需 示例值: pika_xxxxHeader参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}} | ||||
1.5 pikaffects(图生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:720p-5s 0.7 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 multipart/form-dataimagestring必需 示例值: cmMtdXBsb2FkLTE3NDM5OTcwNjAwNzgtMjM=/matancohengrumi_a_red_owl_sitting_on_a_branch_in_a_cyan_and_pin_23ea8543-843d-476b-b20d-ddf016d6098e.pngpromptTextstring可选 A text description that guides the generative process. This is required for text-to-video generation 示例值: A fluffy penguinnegativePromptstring可选 示例值: blurry, low qualityseedinteger可选 示例值: 12345pikaffectstring必需 Love Bomb 示例值: Love Bombcallbackstring可选 回调,获取后返回200 | ||||
Turbo Generate(文字生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:0.3 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 application/jsonpromptTextstring必需 A text description that guides the generative process. This is required for text-to-video generation negativePromptenum<string>可选 Pikaffect is a special effect that can be applied to videos. It is only available for modelVersion 1.5. 枚举值: ExplodeMeltInflateSquishCake-ifyCrushseedinteger必需 aspectRationumber可选 0.4 <= x <= 2.5 回调,获取后返回200string可选 回调,获取后返回200 | ||||
Turbo Generate(图生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:0.3 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 multipart/form-dataimagestring必需 promptTextstring可选 A text description that guides the generative process. This is required for text-to-video generation 示例值: A fluffy penguinnegativePromptstring可选 seedinteger可选 callbackstring可选 回调,获取后返回200 | ||||
2.1 Generate(文字生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:0.6 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 application/jsonpromptTextstring必需 A text description that guides the generative process. This is required for text-to-video generation negativePromptenum<string>可选 Pikaffect is a special effect that can be applied to videos. It is only available for modelVersion 1.5. 枚举值: ExplodeMeltInflateSquishCake-ifyCrushseedinteger必需 aspectRationumber可选 0.4 <= x <= 2.5 回调,获取后返回200string可选 回调,获取后返回200 | ||||
2.1 Generate(图生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:0.6 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 multipart/form-dataimagestring必需 promptTextstring可选 A text description that guides the generative process. This is required for text-to-video generation 示例值: A fluffy penguinnegativePromptstring可选 seedinteger可选 callbackstring可选 回调,获取后返回200 | ||||
2.2 Generate(文字生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:720p-5s 0.3 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 application/jsonpromptTextstring必需 A text description that guides the generative process. This is required for text-to-video generation negativePromptenum<string>可选 Pikaffect is a special effect that can be applied to videos. It is only available for modelVersion 1.5. 枚举值: ExplodeMeltInflateSquishCake-ifyCrushseedinteger必需 aspectRationumber可选 0.4 <= x <= 2.5 resolutionstring必需 default:1080p, 720p optional durationstring必需 default:5, 10 optional 回调,获取后返回200string可选 回调,获取后返回200 | ||||
2.2 Generate(图生成视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:720p-5s 0.3 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 multipart/form-dataimagestring必需 promptTextstring可选 A text description that guides the generative process. This is required for text-to-video generation 示例值: A fluffy penguinnegativePromptstring可选 seedinteger可选 resolutionstring可选 default:1080p, 720p optional durationstring可选 default:5, 10 optional callbackstring可选 回调,获取后返回200 | ||||
Pikascenes(生成场景视频) | POST | 稳定 | 查看详情 | |
文档详情 来自pika的视频生成模型 价格:720p-5s 0.45 PTC/次 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Content-Typestring可选 示例值: application/jsonBody参数 multipart/form-dataimagesstring必需 ingredientsModeenum<string>必需 A text description that guides the generative process. This is required for text-to-video generation 枚举值: creativeprecisepromptTextstring可选 negativePromptstring可选 seedinteger可选 resolutionstring可选 default:1080p, 720p optional durationinteger可选 default:5, 10 optional aspectRationumber可选 callbackstring可选 回调,获取后返回200 | ||||
API价格表
| 模型 | 说明 | 302.AI价格 |
|---|
1.5 pikaffects(图生成视频) | 图生成视频 720p-5s |
|
Turbo Generate(文字生成视频) | 文字生成视频 |
|
Turbo Generate(图生成视频) | 图生成视频 |
|
2.1 Generate(文字生成视频) | 文字生成视频 |
|
2.1 Generate(图生成视频) | 图生成视频 |
|
2.2 Generate(文字生成视频) | 720p-5s |
|
2.2 Generate(文字生成视频) | 720p-10s |
|
2.2 Generate(文字生成视频) | 1080p-5s |
|
2.2 Generate(文字生成视频) | 1080p-10s |
|
2.2 Generate(图生成视频) | 720p-5s |
|
2.2 Generate(图生成视频) | 720p-10s |
|
2.2 Generate(图生成视频) | 1080p-5s |
|
2.2 Generate(图生成视频) | 1080p-10s |
|
Pikascenes(生成场景视频) | 720p-5s |
|
Pikascenes(生成场景视频) | 720p-10s |
|
Pikascenes(生成场景视频) | 1080p-5s |
|
Pikascenes(生成场景视频) | 1080p-10s |
|
Fetch | 获取任务结果 |
|
猜你喜欢
Lightricks
起









