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

Corps

application/json
input
string
requis

Text to synthesize

Maximum string length: 4096
voice
requis

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
défaut:1

Speech speed applied to VOICEVOX speedScale

Plage requise: 0.25 <= x <= 4
stream_format
string

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

Réponse

Successful Response

The response is of type file.

Dernière modification le 13 juillet 2026