curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-avatar",
"prompt": "Portrait subject speaking calmly to camera under soft studio lighting",
"images": ["https://example.com/avatar-portrait.jpg"]
}'
{
"task_id": "task_01HXYZABCDEF",
"status": "queued"
}
{ "error": { "message": "Invalid request", "type": "invalid_request_error", "code": "bad_request" } }
{ "error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" } }
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{ "error": { "message": "Forbidden", "type": "permission_error", "code": "forbidden" } }
{ "error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" } }
{ "error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" } }
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-avatar",
"prompt": "Portrait subject speaking calmly to camera under soft studio lighting",
"images": ["https://example.com/avatar-portrait.jpg"]
}'
{
"task_id": "task_01HXYZABCDEF",
"status": "queued"
}
{ "error": { "message": "Invalid request", "type": "invalid_request_error", "code": "bad_request" } }
{ "error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" } }
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{ "error": { "message": "Forbidden", "type": "permission_error", "code": "forbidden" } }
{ "error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" } }
{ "error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" } }
Kling
Kling Avatar Video Generation
Check Kling Avatar (kling-avatar) availability on OmniMux via POST /v1/video/generations or explore live lip-sync and digital human alternatives like LTX 2.3 and MiniMax H3.
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-avatar",
"prompt": "Portrait subject speaking calmly to camera under soft studio lighting",
"images": ["https://example.com/avatar-portrait.jpg"]
}'
{
"task_id": "task_01HXYZABCDEF",
"status": "queued"
}
{ "error": { "message": "Invalid request", "type": "invalid_request_error", "code": "bad_request" } }
{ "error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" } }
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{ "error": { "message": "Forbidden", "type": "permission_error", "code": "forbidden" } }
{ "error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" } }
{ "error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" } }
POST
/
v1
/
video
/
generations
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-avatar",
"prompt": "Portrait subject speaking calmly to camera under soft studio lighting",
"images": ["https://example.com/avatar-portrait.jpg"]
}'
{
"task_id": "task_01HXYZABCDEF",
"status": "queued"
}
{ "error": { "message": "Invalid request", "type": "invalid_request_error", "code": "bad_request" } }
{ "error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" } }
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{ "error": { "message": "Forbidden", "type": "permission_error", "code": "forbidden" } }
{ "error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" } }
{ "error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" } }
- Create:
POST /v1/video/generationswithmodelset tokling-avatar - Async: poll Video task with returned
task_id - Live catalog note: Confirm whether
kling-avataris currently active on your token via the OmniMux console orGET /v1/modelsbefore integrating. For live photo + audio lip-sync and digital human workflows, see LTX digital human (ltx-2-3-kj) and MiniMax H3 Video Line (minimax-h3-video, groupminimax-h3-video-digital-human) - Persist result URLs promptly (upstream links may expire)
Identity
| Field | Value |
|---|---|
| Series | Video series |
| Brand | Kling |
| model | kling-avatar |
Live Lip-Sync & Digital Human Alternatives
| Model ID | Endpoint | Capabilities | Guide |
|---|---|---|---|
ltx-2-3-kj | POST /v1/video/generations | Photo + audio lip-sync (nodeInfoList) | LTX digital human |
minimax-h3-video | POST /v1/videos | Digital human (minimax-h3-video-digital-human group, portrait + speech audio) | MiniMax H3 Video Line |
Endpoint
| Method | Path |
|---|---|
POST | /v1/video/generations |
GET | /v1/video/generations/{task_id} |
https://api.omnimux.ai
Authorizations
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | yes | Bearer sk-... (API key) |
Body
No dedicated model contract is published forkling-avatar on this gateway; confirm supported parameters with your active channel or GET /v1/models.
| Field | Type | Required | Description |
|---|---|---|---|
model | string | yes | kling-avatar (when enabled in your live catalog) |
prompt | string | conditional | Scene or motion instruction |
seconds / duration | number | no | Duration in seconds (bounded) |
size / resolution | string | no | Resolution (model-specific) |
image / images | string/array | no | Reference portrait image URLs |
Response
200 (create)
| Field | Type | Description |
|---|---|---|
task_id | string | Task id for polling |
status | string | e.g. queued / processing / completed |