Create a Video
⚙️ Get your video in no time!
After adding an actor and writing the script, complete the following steps:
- Select the
voiceId
that will voiceover your script in the video. We provide over 450 voices, 65 languages, and 110 dialects from leading AI providers. See the list of voices here.
Info
Optionally, you can use
voiceOverId
instead of aVoiceId
andScript
. TheVoiceOverId
is in the UUID4 format, such as 00000000-0000-0000-0000-000000000000.
- Set the
videoFormat
of video that you want to create. For example, "mp4".
A request example set up the video is shown below:
Caution:
Don't forget to replace the placeholder "YOUR API KEY" with your unique API key in the header. If you haven't obtained one yet, please contact us at [email protected], and we will provide one as soon as possible.
curl --request POST \
--url https://api.yepic.ai/v1/videos \
--header 'X-Api-Key: YOUR_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"videoTitle": "string",
"videoFormat": "mp4",
"slides": [
{
"backgroundColor": "string",
"soundtrack": {
"assetId": "string",
"volume": 0
},
"transition": {
"type": "fade"
},
"overlays": [
{
"type": "AvatarOverlay"
},
{
"type": "CircleOverlay"
},
{
"type": "EllipseOverlay"
},
{
"type": "ImageOverlay"
},
{
"type": "RectangleOverlay"
},
{
"type": "TextOverlay"
},
{
"type": "VideoOverlay"
}
]
}
],
"videoHeight": 0,
"videoWidth": 0
}
'
📌 Need help?
Updated 10 days ago