Skip to main content
GET
/
api
/
v2
/
voices
/
{voice_id}
/
preview
Get voice audio preview
curl --request GET \
  --url https://api.heymilo.ai/api/v2/voices/{voice_id}/preview \
  --header 'X-API-KEY: <api-key>'
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "doc_url": "<string>",
    "errors": [
      {
        "code": "<string>",
        "message": "<string>",
        "param": "title"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.heymilo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

API key for authentication. Pass your key in the X-API-KEY header.

Headers

X-API-KEY
string
required

Path Parameters

voice_id
string
required

Response

Audio preview bytes.