For the complete documentation index, see llms.txt. This page is also available as Markdown.

Speech Result

post

Retrieve an asynchronous speech task status or final result.

Authorizations
authorizationstringRequired
Body

Standard OpenAI speech generation response containing the generated speech and metadata.

idstringRequiredPattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$
Responses
200

Default Response

application/json
idstringRequired
statusstring · enumRequiredPossible values:
creatednumberRequired
finishednumberOptional
modelstringRequired
post/async/speech/result
POST /async/speech/result HTTP/1.1
Host: api.distribute.ai
authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "id": "text",
  "status": "CREATED",
  "created": 1,
  "finished": 1,
  "model": "text",
  "results": [
    {
      "url": "text"
    }
  ]
}

Last updated