Zum Inhalt
Lumean

Beschreibungen auf Englisch

Die Oberfläche des Bereichs ist in Ihre Sprache übersetzt, Beschreibungen von Operationen, Schemata und Fehlern gibt es aber nur auf Russisch und Englisch — hier wird die englische Fassung angezeigt.
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.

Parameter

Werte werden direkt in die Anfragezeile eingesetzt, und die URL entsteht von selbst. Darunter stehen Typ, Pflichtangabe und zulässige Werte jedes Parameters.

GEThttps://api.lumean.app/api/public/voices
  • stringin der Queryerforderlich

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

    Zulässige Werte
  • stringin der Queryoptional≤ 32 Zeichen

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

  • stringin der Queryoptional≤ 32 Zeichen

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

  • stringin der Queryoptional≤ 128 Zeichen

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

  • integerin der Queryoptional≥ 1

    Page number, starting at 1.

  • integerin der Queryoptional1..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.

Mögliche Antworten

200

Success. The payload is in data.

Beispiel für den Body
{
  "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
  }
}
Felder der Antwort
successerforderlich

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
messageerforderlich

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
dataerforderlich

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

object
providererforderlich

The provider of the page.

string
itemserforderlich

Voices of the page.

array<object>
Array-Element
providererforderlich

The voice provider.

string
voice_iderforderlich

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

string
nameerforderlich

Voice name.

darf null sein
string
descriptionerforderlich

Voice description; may be null.

darf null sein
string
languageerforderlich

Primary voice language (code); may be null.

darf null sein
string
languageserforderlich

All voice languages (codes).

array<string>
gendererforderlich

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

darf null sein
string
accenterforderlich

Accent; may be null.

darf null sein
string
ageerforderlich

Voice age; may be null.

darf null sein
string
tagserforderlich

Voice tags.

array<string>
preview_urlerforderlich

Preview link; may be null.

darf null sein
string
detailserforderlich

The provider’s native voice shape.

object
*optional
beliebige Schlüssel
any
pageerforderlich

Page number, starting at 1.

integer
per_pageerforderlich

Voices per page.

integer
totalerforderlich

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

darf null sein
integer
has_moreerforderlich

Whether there is a next page.

boolean
401

The key is missing, unknown, disabled or expired.

Diese Antwort analysieren
Beispiel für den Body
{
  "success": false,
  "message": "API key is missing. Provide it in the X-API-KEY header.",
  "data": null
}
Felder der Antwort
successerforderlich

Always false in error responses.

boolean
messageerforderlich

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

string
dataerforderlich

Always null when the request is rejected before processing.

darf null sein
null
403

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

Diese Antwort analysieren
Beispiel für den Body
{
  "success": false,
  "message": "This API key does not have permission to perform this action."
}
Felder der Antwort
messageerforderlich

Error overview.

string
404

Not found, or not reachable with this key.

Diese Antwort analysieren
Beispiel für den Body
{
  "success": false,
  "message": "Resource not found."
}
Felder der Antwort
successerforderlich

Always false in error responses.

boolean
messageerforderlich

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

string
reasonoptional

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_codeoptional

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.

Diese Antwort analysieren
Beispiel für den Body
{
  "message": "string",
  "errors": {
    "key": [
      "string"
    ]
  }
}
Felder der Antwort
messageerforderlich

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

string
errorserforderlich

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

object
*optional
beliebige Schlüssel
array<string>
503

The external provider is temporarily unavailable. Retry later.

Beispiel für den Body
{
  "success": false,
  "message": "Service temporarily unavailable."
}
Felder der Antwort
successerforderlich

Always false in error responses.

boolean
messageerforderlich

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

string

Diese Seite für KI

.md öffnenllm.md

API-Version 1.0.0