curl --location --request POST 'https://dev.your-api-server.com/v1/video/storyboard' \
--header 'Authorization: {{access_token}}' \
--header 'X-Pictory-User-Id: {{X-Pictory-User-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"videoName": "Santa Claus", //Desired video file name
"videoDescription": "Santa Claus is coming to town", //*optional*
"language": "en", //Text language: English only
"audio": {
"autoBackgroundMusic": true, //Automatically add background music
"backGroundMusicVolume": 0.5, //Decimal range: 0 (mute) to 1 (full). 0.5 = 50% volume
"aiVoiceOver": {
"speaker": "Jackson", //English voices. See Pictory WebApp'\''s Audio -> Voice-over.
"speed": 100, //Speed: 50% (slow) to 200% (fast); 100% is normal
"amplifyLevel": 0 //AI voice volume: -1 (mute), 0 (normal), up to 1 (double volume)
}
},
"scenes": [
{
"text": "In the North Pole, beneath the shimmering stars, Santa Claus, with a merry twinkle in his eyes, gears up for his Christmas ride. His workshop buzzes as elves craft toys, while Santa, in his festive red suit, checks his list of children worldwide. Come Christmas Eve, Santa and his reindeer, guided by Rudolph'\''s bright nose whisk through the sky with Santa'\''s sleigh brimming with gifts. At every stop, Santa descends chimneys, leaves presents, and heartily nibbles on cookies. With the break of dawn, Santa returns home leaving behind a world infused with Christmas magic and love.",
"voiceOver": true, //AI voice reads the text
"splitTextOnNewLine": false, //Split scenes on '\''\n'\'' in text
"splitTextOnPeriod": true //Split scenes at periods
}
]
}'