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

Body

application/json
input
string
erforderlich

Text to synthesize

Maximum string length: 4096
voice
erforderlich

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

Speech speed applied to VOICEVOX speedScale

Erforderlicher Bereich: 0.25 <= x <= 4
stream_format
string

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

Antwort

Successful Response

The response is of type file.

Zuletzt geändert am 13. Juli 2026