API Reference
List Video Models
Каталог доступных видеомоделей. Публичный (auth не требуется), как и /v1/models. Status codes: 200, 500
Response Body
application/json
application/json
curl -X GET "http://localhost:8080/v1/videos/models"{
"data": [
{
"id": "string",
"canonical_slug": "string",
"name": "string",
"created": 0,
"description": "string",
"hugging_face_id": "string",
"supported_resolutions": [
"string"
],
"supported_aspect_ratios": [
"string"
],
"supported_sizes": [
"string"
],
"supported_durations": [
0
],
"supported_frame_images": [
"string"
],
"generate_audio": true,
"seed": true,
"pricing_skus": {
"property1": "string",
"property2": "string"
},
"allowed_passthrough_parameters": [
"string"
]
}
]
}{
"code": "string",
"message": "string",
"param": "string",
"sequence_number": 0
}Download Video Content GET
Стримит содержимое сгенерированного видео. Status codes mirror OR GET /videos/{jobId}/content: 200, 400, 401, 404, 500, 502. "Not ready" и "expired" маппятся на 404 с error code в body. Server может эмитить 206 при Range runtime, но в OR schema — только 200.
Get Credits GET
Возвращает информацию о кредитах пользователя: общую сумму зачислений, общую сумму списаний и текущий баланс.