
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI格式
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
generate(文本)
POST
/pika/pro/generate
主要是style参数有些变化
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
style
enum<string>
风格
Allowed values:
InflateMeltExplodeSquishCrushCake-ifyTa-daDeflateCrumbleDissolveLevitateDecapitateEye-pop
Example:
Inflate
ratio
string
画面尺寸
prompt
string
描述词
sfx
boolean
开启音效
options
object
配置项
frameRate
integer
帧
camera
object
镜头控制
parameters
object
参数
model
number
模型版本
Example
{
"callback_url": "http://baidu.com",
"prompt": "一只小猫",
"style": "Inflate",
"ratio": "16:9",
"sfx": true,
"model": 1.5,
"options": {
"frameRate": 20,
"camera": {
"pan": "right",
"tilt": "up",
"rotate": "cw",
"zoom": "in"
},
"parameters": {
"guidanceScale": 16,
"motion": 2,
"negativePrompt": "ugly",
"seed": 144124
}
}
}
Responses
🟢200成功
application/json
Body
code
integer
required
msg
string
required
data
object
required
task_id
string
任务ID
exec_time
number
required
ip
string
required
Examples
🟠404失败
Modified at 2025-02-05 11:34:33