Your VidLab7 API key used for authentication.
The content type of the request body. Always application/json
.
Parameters
The id of the generated video. This comes back as id when video is sent for generation.
curl --location --request GET 'https://api-prd.vidlab7.com/api/v1/fictional-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",
"mediaUrl": "https://your-media-url",
"mediaType": "image",
"status": "PROCESSING",
"webhookUrl": "https://your-webhook-url/example-endpoint",
"videoUrl": "https://example-video-url",
"requestId": "50c8db34-00d3-436e-9c2d-a422ce0d8d90"
}
}
Responses
200:
Indicates whether the request was successful
The color of the background in both light and dark mode
Unique identifier for the generated video
The script content used for the video
Identifier for the voice used in the video
URL where the media file can be accessed
Type of the media file. Can be either “image” or “video”
Current status of the video generation as ENUM with four possible states:
PENDING
PROCESSING
COMPLETED
FAILED
The url you can use to access your video.
The id of your video submission request.