Lipsyncs
Generate Preivew of lipsync
API Documentation
Link to videos
Links
Lipsyncs
Lipsyncs v2
Text to Speech
AI Shorts
AI Editing
Custom Templates
Avatar
Workspace
Lipsyncs
Generate Preivew of lipsync
This endpoint generates a preiview of lipsync video before redering the final video. Generating a video preview through this endpoint costs 1 credit for every 30 seconds.
POST
/
api
/
lipsyncs
/
preview
curl --request POST \
--url https://api.creatify.ai/api/lipsyncs/preview/ \
--header 'Content-Type: application/json' \
--header 'X-API-ID: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "<string>",
"text": "<string>",
"audio": "<string>",
"creator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aspect_ratio": "16x9",
"green_screen": true,
"webhook_url": "<string>",
"accent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"no_caption": true,
"no_music": true,
"caption_style": "normal-black",
"caption_offset_x": "<string>",
"caption_offset_y": "<string>",
"background_asset_image_url": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"text": "<string>",
"creator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"output": "<string>",
"video_thumbnail": "<string>",
"aspect_ratio": "16x9",
"green_screen": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"credits_used": 123,
"progress": "<string>",
"failed_reason": "<string>",
"media_job": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"is_hidden": true,
"audio_url": "<string>",
"webhook_url": "<string>",
"accent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"preview": "<string>",
"preview_audio": "<string>",
"no_caption": true,
"no_music": true,
"caption_style": "normal-black",
"caption_offset_x": "<string>",
"caption_offset_y": "<string>",
"background_asset_image_url": "<string>"
}
About preview Field in the Response
The preview field provides a link to preview the video. This link allows you to preview the video before rendering it, you can put it in an iframe to show the video in your application. Example: The preview field in the response will look like this:
"https://app.creatify.ai/preview?layout=videos/20241024/f0c1e1f1-be05-48e0-91d8-3d26ed633d5b.json"
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Body
Response
200 - application/json
The response is of type object
.
curl --request POST \
--url https://api.creatify.ai/api/lipsyncs/preview/ \
--header 'Content-Type: application/json' \
--header 'X-API-ID: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "<string>",
"text": "<string>",
"audio": "<string>",
"creator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aspect_ratio": "16x9",
"green_screen": true,
"webhook_url": "<string>",
"accent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"no_caption": true,
"no_music": true,
"caption_style": "normal-black",
"caption_offset_x": "<string>",
"caption_offset_y": "<string>",
"background_asset_image_url": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"text": "<string>",
"creator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"output": "<string>",
"video_thumbnail": "<string>",
"aspect_ratio": "16x9",
"green_screen": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"credits_used": 123,
"progress": "<string>",
"failed_reason": "<string>",
"media_job": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"is_hidden": true,
"audio_url": "<string>",
"webhook_url": "<string>",
"accent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"preview": "<string>",
"preview_audio": "<string>",
"no_caption": true,
"no_music": true,
"caption_style": "normal-black",
"caption_offset_x": "<string>",
"caption_offset_y": "<string>",
"background_asset_image_url": "<string>"
}