Skip to main content
POST
Create speech with an OpenAI-compatible API

Body

application/json
input
string
required

Text to synthesize

Maximum string length: 4096
voice
required

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
default:1

Speech speed applied to VOICEVOX speedScale

Required range: 0.25 <= x <= 4
stream_format
string

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

Response

Successful Response

The response is of type file.

Last modified on July 13, 2026