Convert your voiceovers into Videos
Convert your voiceovers into Videos
{
"width": 1280,
"height": 720,
"segments": [
{
"url": "https://...",
"type": "video",
"end_time": 5,
"start_time": 2
},
{
"url": "https://...",
"type": "image",
"end_time": 12,
"start_time": 7
}
],
"youtube_url": "https://www.youtube.com/watch?v=0JgVr5N44yY",
"voiceover_url": "https://."
}
[
{
"job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
}
]
Send your requests to the following URL using the specified HTTP method.
POST https://eranol.com/api/v1/ffmpeg/audio/to-videoSend the following JSON payload in the request body. Adjust the values to match your use case.
{
"width": 1280,
"height": 720,
"segments": [
{
"url": "https://...",
"type": "video",
"end_time": 5,
"start_time": 2
},
{
"url": "https://...",
"type": "image",
"end_time": 12,
"start_time": 7
}
],
"youtube_url": "https://www.youtube.com/watch?v=0JgVr5N44yY",
"voiceover_url": "https://."
}Use the following cURL command to make a request to this API endpoint. Replace YOUR_API_KEY with your actual API key from the dashboard.
curl -X POST "https://eranol.com/api/v1/ffmpeg/audio/to-video" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"width":1280,"height":720,"segments":[{"url":"https://...","type":"video","end_time":5,"start_time":2},{"url":"https://...","type":"image","end_time":12,"start_time":7}],"youtube_url":"https://www.youtube.com/watch?v=0JgVr5N44yY","voiceover_url":"https://."}'Below is an example of a successful JSON response from this endpoint.
[
{
"job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
}
]A successful request will return one of the following HTTP status codes.