API ReferenceVideos APISora
Sora · Create Video
Submit a Sora video generation task; returns a task ID and the initial status. Use the task ID to query progress
Last updated:
Videos — Veo (OpenAI-compatible)
POST /videos
Authentication
Store your API key in AICENTOS_API_KEY; the shell examples expand it in the Authorization: Bearer header.
The API Key obtained under "Token Management" in the console
Location: header
Request Body
application/json
TypeScript type definition
Use the request body type in TypeScript
Response Body
application/json
export AICENTOS_API_KEY="sk-your-aicentos-api-key"
curl -X POST "https://aicentos.com/v1/videos" \
-H "Authorization: Bearer $AICENTOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "veo-3.1-fast-generate-preview", "prompt": "a DJ mixing tracks", "size": "1920x1080", "seconds": "8" }'{
"id": "string",
"task_id": "string",
"status": "queued"
}