
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
generate(参考视频/扩展视频)
POST
/pika/pro/generate
Last modified:2024-10-29 21:45:50
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
callback_url
string
required
prompt
string
required
sfx
boolean
required
style
string
required
video
string
required
options
object
required
frameRate
integer
optional
parameters
object
optional
Example
{
"callback_url": "http://baidu.com",
"prompt": "customize your prompt here",
"sfx": false,
"style": "anime",
"video": "https://cdn.pika.art/v1/0c12fde0-7673-473e-914f-739c10a206e1/hi_seed8273816615918298.mp4",
"options": {
"frameRate": 20,
"parameters": {
"guidanceScale": 16,
"motion": 2,
"negativePrompt": "ugly",
"seed": 144124
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/pika/pro/generate' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"callback_url":"http://baidu.com",
"prompt": "customize your prompt here",
"sfx": false,
"style":"anime",
"video":"https://cdn.pika.art/v1/0c12fde0-7673-473e-914f-739c10a206e1/hi_seed8273816615918298.mp4",
"options": {
"frameRate": 20,
"parameters": {
"guidanceScale": 16,
"motion": 2,
"negativePrompt": "ugly",
"seed": 144124
}
}
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2024-10-29 21:45:50