POSThttps://tryferra.co/api/public/v1/video/function
Execute video-related functions like loading available voices.
Authorization
Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.
Body
functionNamestringrequiredFunction to execute
identifierstringrequiredVideo type identifier
paramsobjectAdditional parameters
Request
curl -X POST 'https://tryferra.co/api/public/v1/video/function' \
-H 'Authorization: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"functionName": "loadVoices",
"identifier": "image-text-slides"
}'Responses
200Function executed successfully
{
"voices": [
{
"id": "string",
"name": "string"
}
]
}Get Available Voices
To get the list of available voices for video generation:
{
"functionName": "loadVoices",
"identifier": "image-text-slides"
}