Video Generation

Video Function

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

functionNamestringrequired

Function to execute

identifierstringrequired

Video type identifier

paramsobject

Additional 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"
}

Parts of these docs are adapted from open-source documentation under the MIT License (© 2023 Mintlify).