跳转到主要内容
POST
Create speech with an OpenAI-compatible API

请求体

application/json
input
string
必填

Text to synthesize

Maximum string length: 4096
voice
必填

VOICEVOX style ID, AI SDK voice alias, or OpenAI voice name

model
string

OpenAI-compatible model name. Accepted for compatibility in the Laravel implementation.

instructions
string

OpenAI-compatible parameter. Currently unused by the Laravel implementation.

Maximum string length: 4096
response_format
string

OpenAI-compatible parameter. The Laravel implementation currently always returns WAV audio.

speed
number
默认值:1

Speech speed applied to VOICEVOX speedScale

必填范围: 0.25 <= x <= 4
stream_format
string

OpenAI-compatible parameter. Currently unused by the Laravel implementation.

响应

Successful Response

The response is of type file.

最后修改于 2026年7月18日