Search voices
プリセットボイスライブラリを言語、スタイル、性別、年齢、ユースケース、モデルで絞り込みます。
エンドポイント
クエリパラメータ
| Name | Description | Example |
|---|---|---|
name | ボイス名の部分一致です。 | Coco |
description | 説明文の部分一致です。 | kind and gentle |
language | 言語コードのカンマ区切りです。 | ko,en,ja |
gender | ボイスの性別のカンマ区切りです。 | male,female |
age | ボイスの年齢グループです。 | child, young-adult, middle-aged, elder |
use_case | 主要なユースケースです。 | audiobook, narration, advertisement |
use_cases | 推奨ユースケース(OR 条件)です。 | audiobook,narration |
style | 感情スタイルです。最初の値がデフォルトとなります。 | neutral, happy, sad, angry |
model | サポートされるモデルです。 | sona_speech_1 |
page_size | 1 ページあたりの件数です。デフォルト 20、最大 100。 | 50 |
next_page_token | 前回のレスポンスから取得したトークンです。 | eyJpZCI6IjEyMzQ1In0= |
sort はサポートされていません。結果は自然順で返されます。必要に応じてクライアント側でソートしてください。例
スタイルと言語で絞り込む:happy を含み、かつ韓国語または英語をサポートするボイスを返します。
ページング:
レスポンス
items(ボイスオブジェクトの配列)と next_page_token(文字列、オプショナル)を返します。一致するボイスがない場合、items は空の配列となり、リクエスト自体は 200 OK で返されます。
注意事項
- カンマ区切りの値は OR 条件で評価されます:
language=ko,en&style=happy,sadは、韓国語または英語をサポートし、かつ スタイルに happy または sad を含むボイスを返します。 - 結果が空でもエラーではありません。4xx レスポンスに頼らず、
items.lengthを確認してください。 - ボイスオブジェクトの完全な構造(サンプル、サポートモデルなど)については、Voices をご参照ください。
関連項目
Docs: Voices
Voice search example
Authorizations
Query Parameters
Number of items per page (default: 20, min: 10, max: 100)
Token for pagination (obtained from the previous page's response)
Search across name. Space separated.
Search across description. Space separated.
Filter by language (comma-separated)
Filter by gender (comma-separated)
Filter by age (comma-separated)
Filter by use case (comma-separated)
Filter by use cases array (comma-separated for OR logic)
Filter by style (comma-separated for OR, semicolon-separated for AND). Mixing comma and semicolon is invalid and will result in 400. Note: AND semantics apply across styles on a single character; cloned voices have a single style and will only match AND when exactly one style is requested and equals the cloned voice style.
Filter by model (comma-separated)
Response
Paginated available voices response with next page token
List of character items
Total number of available characters (might be approximate or removed in future)
150
Token for fetching the next page of results. Undefined if no more pages.
"some_opaque_token_string_representing_last_id"