GET
/
api
/
studio-avatar
/
generated-video
/
{videoId}
curl --location --request GET 'https://api-prd.vidlab7.com/api/studio-avatar/generated-video/{videoId}' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <YOUR_API_KEY>' \
{
    "success": true,
    "data": {
        "id": "1dde35ce-1ebf-45c5-a694-84dfcc7cfb1f",
        "script": "abc",
        "voiceId": "ab7f4aaa-6485-472c-b2ad-101caf68e6ba",
        "avatarId": "93ef9c57-a442-4c66-8b56-0de4ef5bbe84",
        "status": "PROCESSING",
        "alignment": {"characters": ["s"], "character_start_times_seconds": [0], "character_end_times_seconds": [0.1]},
        "normalized_alignment": {"characters": ["s"], "character_start_times_seconds": [0], "character_end_times_seconds": [0.1]},
        "webhookUrl": "https://e748-5-53-245-196.ngrok-free.app/api/studio-avatar/test-webhook",
        "videoUrl": "",
        "requestId": "50c8db34-00d3-436e-9c2d-a422ce0d8d90"
    }
}

Headers

x-api-key
string
required
Your VidLab7 API key used for authentication.
Content-Type
string
The content type of the request body. Always application/json.

Parameters

videoId
string
required
The id of the generated video. This comes back as id when video is sent for generation from both create single video and create videos.
curl --location --request GET 'https://api-prd.vidlab7.com/api/studio-avatar/generated-video/{videoId}' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <YOUR_API_KEY>' \
{
    "success": true,
    "data": {
        "id": "1dde35ce-1ebf-45c5-a694-84dfcc7cfb1f",
        "script": "abc",
        "voiceId": "ab7f4aaa-6485-472c-b2ad-101caf68e6ba",
        "avatarId": "93ef9c57-a442-4c66-8b56-0de4ef5bbe84",
        "status": "PROCESSING",
        "alignment": {"characters": ["s"], "character_start_times_seconds": [0], "character_end_times_seconds": [0.1]},
        "normalized_alignment": {"characters": ["s"], "character_start_times_seconds": [0], "character_end_times_seconds": [0.1]},
        "webhookUrl": "https://e748-5-53-245-196.ngrok-free.app/api/studio-avatar/test-webhook",
        "videoUrl": "",
        "requestId": "50c8db34-00d3-436e-9c2d-a422ce0d8d90"
    }
}

Responses


200:

success
boolean
Indicates whether the request was successful
data
object
The color of the background in both light and dark mode