cURL command to launch the video creation curl -X POST \
'https://rollideo.com/create/video' \
-H 'Content-Type: application/json' -H 'x-api-key: YOUR_SECRET_KEY' \
-d '{
"text_segments": [
{
"api_source_type": "picture",
"picture": "https://i.postimg.cc/3r4RL5YX/ocean1.jpg",
"textforvideo": "This is the first segment of the video.",
"voice_id": "Joanna"
}
]
}'
cURL command to check the status of the video creation, the command above has returned the task_id curl -X POST \
'https://rollideo.com/task/video' \
-H 'Content-Type: application/json' -H 'x-api-key: YOUR_SECRET_KEY' \
-d '{
"task_id": "34uic4cd-6d7b-49e1-aza9-d9fe6748c1eb"
}'