Video API
Unified Routes
text
GET /v1/models
POST /v1/videos
GET /v1/videos/{task_id}
GET /v1/videos/{task_id}/content
POST /v1/videos/{video_id}/remix
POST /v1/video/generations
GET /v1/video/generations/{task_id}Query Available Models
Query available models with the token under its current group:
bash
curl https://logox.top/v1/models \
-H "Authorization: Bearer sk-logox-your-key"Notes
After changing the Base URL, calls work the same way as the corresponding official API.
Video tasks are usually asynchronous:
- Create a task.
- Query task status.
- Read content or result URL after completion.
Video Generation Example
bash
curl https://logox.top/v1/videos \
-H "Authorization: Bearer sk-logox-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "sora-2",
"prompt": "A silver sports car driving through city streets on a rainy night",
"size": "1280x720"
}'