Base URL
/api/v1/. You can change the host by setting endpoint in config.toml.
Starting the API server
- Swagger UI: http://localhost:8080/docs
- ReDoc: http://localhost:8080/redoc
Response format
Every endpoint returns a JSON envelope:status with a descriptive message.
Async task model
Video generation is asynchronous. Requests to generation endpoints return atask_id immediately. Poll GET /api/v1/tasks/{task_id} to track progress.
4 = processing, 1 = success, -1 = failed.
Endpoints
Video Generation
Generate full videos, subtitles only, or audio only
Task Management
Query, list, and delete generation tasks
Scripts & Terms
Generate scripts and search terms via LLM
Media Management
Upload and list background music and video materials