Public API v1

List voice ids for the OpenAI-compatible endpoint

Changed on

The companion to POST /v1/audio/speech. OpenAI has no such endpoint — its six voice names are a constant — but a VieNeu voice id is not guessable, so the OpenAI-compatible clients that support a custom base URL look for this route to populate their voice picker. Returns a bare { voices: [...] } list of ids, which is the shape those clients expect. GET /v1/voices is the richer version (names, gender, region, your own cloned voices).

get/api/v1/audio/voices

Request

  • Base URL
    https://api.vieneu.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Query parameters

engine'v4'

Return only the voices available on this engine.

Response

Bare voice ids, in the shape OpenAI-compatible clients expect.

voicesstring[] required

Bare voice ids, the shape OpenAI-compatible clients expect.

Example response

{
  "voices": [
    "Ngọc Lan",
    "Trúc Ly"
  ]
}

Changes

    • breaking

      removed the enum value v3 from the query request parameter engine

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status