Skip to main content
POST
/
video
/
function
Video function
curl --request POST \
  --url https://api.postiz.com/public/v1/video/function \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "functionName": "loadVoices",
  "identifier": "image-text-slides"
}
'
{
  "voices": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Get Available Voices

To get the list of available voices for video generation:
{
  "functionName": "loadVoices",
  "identifier": "image-text-slides"
}

Authorizations

Authorization
string
header
required

Your Postiz API key

Body

application/json
functionName
string
required

Function to execute

identifier
string
required

Video type identifier

params
object

Additional parameters

Response

200 - application/json

Function executed successfully

voices
object[]