POST
/
generations
/
make
curl --request POST \
  --url https://voz-pra-video-api.fly.dev/api/generations/make \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "voiceId": "<string>",
  "externalId": "<string>",
  "callbackUrl": "<string>",
  "format": "WAV"
}'
{
  "text": "<string>",
  "voiceId": "<string>",
  "externalId": "<string>",
  "callbackUrl": "<string>",
  "format": "WAV"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Dados necessários para gerar o áudio
text
string
required
voiceId
string
required
externalId
string
required
callbackUrl
string
required
format
enum<string>
default:WAV
Available options:
WAV,
MP3,
OGG

Response

200
application/json
Solicitação de geração aceita
text
string
required
voiceId
string
required
externalId
string
required
callbackUrl
string
required
format
enum<string>
default:WAV
Available options:
WAV,
MP3,
OGG