Authorization: Bearer ********************
{
"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
}
}
}
curl --location --request POST 'https://api.apicore.ai/pika/generate' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"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
}
}
}'
{
"code": 200,
"msg": "成功",
"data": {
"task_id": "d1828770-3b01-4fc6-995a-57d9b3cb5c20"
},
"exec_time": 0.588949,
"ip": "171.214.61.54"
}