| Model | Price |
|---|---|
| sora2-video | $0.08/s |
{
"model": "sora2",
"task_type": "sora2-video",
"input": {
"prompt": "A casual street interview on a busy New York City sidewalk in the afternoon. The interviewer holds a plain, unbranded microphone and asks: Have you seen OpenAI's new Sora2 model It is a super good model. Person replies: Yeah I saw it, it's already available on PiAPI. It's crazy good.",
"aspect_ratio": "16:9",
"duration": 4
},
"config": {
"webhook_config": {
"endpoint": "https://webhook.site/74ff2ef5-7120-493c-a0ff-123e2554e754",
"secret": ""
}
}
}curl --location --request POST 'https://api.piapi.ai/api/v1/task' \
--header 'X-API-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "sora2",
"task_type": "sora2-video",
"input": {
"prompt": "A casual street interview on a busy New York City sidewalk in the afternoon. The interviewer holds a plain, unbranded microphone and asks: Have you seen OpenAI'\''s new Sora2 model It is a super good model. Person replies: Yeah I saw it, it'\''s already available on PiAPI. It'\''s crazy good.",
"aspect_ratio": "16:9",
"duration": 4
},
"config": {
"webhook_config": {
"endpoint": "https://webhook.site/74ff2ef5-7120-493c-a0ff-123e2554e754",
"secret": ""
}
}
}'{
"code": 200,
"data": {
"task_id": "4eba5893-2a39-4218-b5aa-bb9f3c4a26b2",
"model": "sora2",
"task_type": "sora2-video",
"status": "pending",
"config": {
"service_mode": "",
"webhook_config": {
"endpoint": "https://webhook.site/74ff2ef5-7120-493c-a0ff-123e2554e754",
"secret": ""
}
},
"input": {
"prompt": "A casual street interview on a busy New York City sidewalk in the afternoon. The interviewer holds a plain, unbranded microphone and asks: Have you seen OpenAI's new Sora2 model It is a super good model. Person replies: Yeah I saw it, it's already available on PiAPI. It's crazy good.",
"aspect_ratio": "16:9",
"duration": 4
},
"output": null,
"meta": {
"created_at": "2025-10-29T02:33:03.28237536Z",
"started_at": "0001-01-01T00:00:00Z",
"ended_at": "0001-01-01T00:00:00Z",
"usage": {
"type": "llm",
"frozen": 0,
"consume": 3200000
},
"is_using_private_pool": false
},
"detail": null,
"logs": [],
"error": {
"code": 0,
"raw_message": "",
"message": "",
"detail": null
}
},
"message": "success"
}