メインコンテンツへスキップ
POST
/
text-to-audio
Error
A valid request URL is required to generate request examples
"<string>"

認証

Authorization
string
header
必須

API-Key認証。すべてのAPIリクエストで、Authorization HTTPヘッダーに Bearer {API_KEY} の形式でAPIキーを含めてください。APIキーの漏洩を避けるため、サーバーサイドでの保存を強く推奨します。

ボディ

application/json

userが必須。message_idまたはtextのいずれかを提供。

user
string
必須

ユーザー識別子。

message_id
string<uuid>

メッセージID(textより優先)。

text
string

音声生成コンテンツ。

レスポンス

音声ファイル生成成功。

The response is of type file.