Saltar al contenido
Lumean

Descripciones en inglés

La interfaz de la sección está traducida a su idioma, pero las descripciones de operaciones, esquemas y errores solo existen en ruso y en inglés: aquí se muestra la versión en inglés.
GET/voices

Voice Catalogue

A page of the chosen provider's voices (provider: elevenlabs, heygen, cartesia, fishaudio, lumvoice) in a common shape: provider, voice_id, name, description, language, languages, gender, accent, age, tags, preview_url and details — the provider's native voice shape. Put voice_id into config.tts_settings.voice_id of a template of that provider's service (GET /services, field voice_provider).

Pages start at 1; per_page defaults to 30, the ceiling depends on the provider (ElevenLabs — 50). ElevenLabs returns total: null — page by has_more. A single voice — voice_id=…. The provider's filters and their values — GET /voices/filters.

The provider's service is closed to the key owner — 404 service_not_found, disabled — 404 service_disabled; the provider catalogue did not respond — 503 provider_unavailable.

Required key permission: voices.read.

Parámetros

Los valores se escriben directamente en la línea de la solicitud y la URL se arma sola. Abajo están el tipo, la obligatoriedad y los valores permitidos de cada parámetro.

GEThttps://api.lumean.app/api/public/voices
  • stringen la consultaobligatorio

    Voice provider: elevenlabs, heygen, cartesia, fishaudio or lumvoice. Providers with an open service are listed by GET /services (field voice_provider).

    Valores permitidos
  • stringen la consultaopcional≤ 32 caracteres

    Voice language (a language code; the allowed values of the provider are the language filter of GET /voices/filters).

  • stringen la consultaopcional≤ 32 caracteres

    Voice gender in the vocabulary of the provider (values are the gender filter of GET /voices/filters).

  • stringen la consultaopcional≤ 128 caracteres

    A single voice by its voice_id (a page of one element, or an empty one).

  • integeren la consultaopcional≥ 1

    Page number, starting at 1.

  • integeren la consultaopcional1..100

    How many records to return per page. The page meta sits in data next to the items list: current_page, last_page, per_page, total.

Respuestas posibles

200

Success. The payload is in data.

Ejemplo de cuerpo
{
  "success": true,
  "message": "Success",
  "data": {
    "provider": "cartesia",
    "items": [
      {
        "provider": "cartesia",
        "voice_id": "a0e99841-438c-4a64-b679-ae501e7d6091",
        "name": "Barbershop Man",
        "description": "Warm, friendly male voice for narration.",
        "language": "en",
        "languages": [
          "en"
        ],
        "gender": "masculine",
        "accent": null,
        "age": null,
        "tags": [],
        "preview_url": null,
        "details": {
          "voice_id": "a0e99841-438c-4a64-b679-ae501e7d6091",
          "name": "Barbershop Man",
          "language": "en",
          "gender": "masculine"
        }
      }
    ],
    "page": 1,
    "per_page": 30,
    "total": 1,
    "has_more": false
  }
}
Campos de la respuesta
successobligatorio

Success flag. Branch on the HTTP status code instead: any 2xx response carries true here, while an error comes back in a different shape that need not contain this field at all.

boolean
messageobligatorio

A human-readable note in the account language. Fine to show to a user; do not parse it — the wording changes without notice and is not an error code.

string
dataobligatorio

A page of the provider’s voices in a common shape.

object
providerobligatorio

The provider of the page.

string
itemsobligatorio

Voices of the page.

array<object>
elemento del array
providerobligatorio

The voice provider.

string
voice_idobligatorio

The id for config.tts_settings.voice_id of a template of the provider’s service.

string
nameobligatorio

Voice name.

admite null
string
descriptionobligatorio

Voice description; may be null.

admite null
string
languageobligatorio

Primary voice language (code); may be null.

admite null
string
languagesobligatorio

All voice languages (codes).

array<string>
genderobligatorio

Voice gender in the provider’s vocabulary; may be null.

admite null
string
accentobligatorio

Accent; may be null.

admite null
string
ageobligatorio

Voice age; may be null.

admite null
string
tagsobligatorio

Voice tags.

array<string>
preview_urlobligatorio

Preview link; may be null.

admite null
string
detailsobligatorio

The provider’s native voice shape.

object
*opcional
claves arbitrarias
any
pageobligatorio

Page number, starting at 1.

integer
per_pageobligatorio

Voices per page.

integer
totalobligatorio

Total voices; null if the provider does not count (page by has_more).

admite null
integer
has_moreobligatorio

Whether there is a next page.

boolean
401

The key is missing, unknown, disabled or expired.

Analizar esta respuesta
Ejemplo de cuerpo
{
  "success": false,
  "message": "API key is missing. Provide it in the X-API-KEY header.",
  "data": null
}
Campos de la respuesta
successobligatorio

Always false in error responses.

boolean
messageobligatorio

Error text in the key's language (set through the X-Locale header).

string
dataobligatorio

Always null when the request is rejected before processing.

admite null
null
403

The key lacks the required permission, or the object belongs to another user.

Analizar esta respuesta
Ejemplo de cuerpo
{
  "success": false,
  "message": "This API key does not have permission to perform this action."
}
Campos de la respuesta
messageobligatorio

Error overview.

string
404

Not found, or not reachable with this key.

Analizar esta respuesta
Ejemplo de cuerpo
{
  "success": false,
  "message": "Resource not found."
}
Campos de la respuesta
successobligatorio

Always false in error responses.

boolean
messageobligatorio

Error text in the key's language (set through the X-Locale header).

string
reasonopcional

Machine-readable reason — present on business refusals (for example, invalid_order_status); other errors omit it. Branch on it, not on the message text.

string
error_codeopcional

The same machine-readable code as in reason — a second name for the field. Arrives together with reason; the values always match.

string
422

Validation error. Offending fields are listed in errors.

Analizar esta respuesta
Ejemplo de cuerpo
{
  "message": "string",
  "errors": {
    "key": [
      "string"
    ]
  }
}
Campos de la respuesta
messageobligatorio

A summary of the validation errors in words, in the response language (X-Locale).

string
errorsobligatorio

A per-field breakdown: the key names a request field, the value lists the complaints about it.

object
*opcional
claves arbitrarias
array<string>
503

The external provider is temporarily unavailable. Retry later.

Ejemplo de cuerpo
{
  "success": false,
  "message": "Service temporarily unavailable."
}
Campos de la respuesta
successobligatorio

Always false in error responses.

boolean
messageobligatorio

Error text in the key's language (set through the X-Locale header).

string

Esta página para IA

Abrir .mdllm.md

versión de la API 1.0.0