š New Models Available: grok-4 now live!
ā Explore New Features
{
"callback_url": "http://baidu.com",
"prompt": "a cat",
"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.cometapi.com/pika/pro/generate' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"callback_url": "http://baidu.com",
"prompt": "a cat",
"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": "success",
"ip": "string",
"exec_time": 0,
"data": {
"task_id": "497f6eca-6276-4993-bfeb-53cbbbba6f68"
}
}