APIリファレンスオーディオ
音声を作成
入力テキストから音声を生成します。
入力テキストから音声を生成します。
Authorization
BearerAuth AuthorizationBearer <token>
Authorization ヘッダーに API キーを Bearer トークンとして指定します
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
audio/mpeg
curl -X POST "https://llm-gateway.codzen.ai/v1/audio/speech" \ -H "Content-Type: application/json" \ -d '{ "model": "tts-1", "input": "string", "voice": "alloy" }'"string"