İçeriğe geç
Lumean

Açıklamalar İngilizce

Bölümün arayüzü dilinize çevrildi, ancak işlem, şema ve hata açıklamaları yalnızca Rusça ve İngilizce mevcut — burada İngilizce sürüm gösteriliyor.
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.

Parametreler

Değerler doğrudan istek satırına yazılır ve URL kendiliğinden oluşur. Aşağıda her parametrenin türü, zorunlu olup olmadığı ve izin verilen değerleri var.

GEThttps://api.lumean.app/api/public/voices
  • stringsorgudazorunlu

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

    İzin verilen değerler
  • stringsorgudaisteğe bağlı≤ 32 karakter

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

  • stringsorgudaisteğe bağlı≤ 32 karakter

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

  • stringsorgudaisteğe bağlı≤ 128 karakter

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

  • integersorgudaisteğe bağlı≥ 1

    Page number, starting at 1.

  • integersorgudaisteğe bağlı1..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.

Olası yanıtlar

200

Success. The payload is in data.

Gövde örneği
{
  "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
  }
}
Yanıt alanları
successzorunlu

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
messagezorunlu

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
datazorunlu

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

object
providerzorunlu

The provider of the page.

string
itemszorunlu

Voices of the page.

array<object>
dizi öğesi
providerzorunlu

The voice provider.

string
voice_idzorunlu

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

string
namezorunlu

Voice name.

null olabilir
string
descriptionzorunlu

Voice description; may be null.

null olabilir
string
languagezorunlu

Primary voice language (code); may be null.

null olabilir
string
languageszorunlu

All voice languages (codes).

array<string>
genderzorunlu

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

null olabilir
string
accentzorunlu

Accent; may be null.

null olabilir
string
agezorunlu

Voice age; may be null.

null olabilir
string
tagszorunlu

Voice tags.

array<string>
preview_urlzorunlu

Preview link; may be null.

null olabilir
string
detailszorunlu

The provider’s native voice shape.

object
*isteğe bağlı
rastgele anahtarlar
any
pagezorunlu

Page number, starting at 1.

integer
per_pagezorunlu

Voices per page.

integer
totalzorunlu

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

null olabilir
integer
has_morezorunlu

Whether there is a next page.

boolean
401

The key is missing, unknown, disabled or expired.

Bu yanıtı çözümle
Gövde örneği
{
  "success": false,
  "message": "API key is missing. Provide it in the X-API-KEY header.",
  "data": null
}
Yanıt alanları
successzorunlu

Always false in error responses.

boolean
messagezorunlu

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

string
datazorunlu

Always null when the request is rejected before processing.

null olabilir
null
403

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

Bu yanıtı çözümle
Gövde örneği
{
  "success": false,
  "message": "This API key does not have permission to perform this action."
}
Yanıt alanları
messagezorunlu

Error overview.

string
404

Not found, or not reachable with this key.

Bu yanıtı çözümle
Gövde örneği
{
  "success": false,
  "message": "Resource not found."
}
Yanıt alanları
successzorunlu

Always false in error responses.

boolean
messagezorunlu

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

string
reasonisteğe bağlı

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_codeisteğe bağlı

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.

Bu yanıtı çözümle
Gövde örneği
{
  "message": "string",
  "errors": {
    "key": [
      "string"
    ]
  }
}
Yanıt alanları
messagezorunlu

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

string
errorszorunlu

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

object
*isteğe bağlı
rastgele anahtarlar
array<string>
503

The external provider is temporarily unavailable. Retry later.

Gövde örneği
{
  "success": false,
  "message": "Service temporarily unavailable."
}
Yanıt alanları
successzorunlu

Always false in error responses.

boolean
messagezorunlu

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

string

Yapay zekâ için bu sayfa

.md sürümünü açllm.md

API sürümü 1.0.0