OpenAI-compatible text-to-speech

Turn text into spoken audio. Returns raw audio bytes; a durable hosted URL rides the X-Media-Url header. Voiced verbatim (never brand-altered).

post/api/v1/audio/speech

Request

  • Base URL: https://genmagic.co
  • URL: https://genmagic.co/api/v1/audio/speech
  • Auth: HTTP bearer

Request body

inputstring required

The text to speak.

modelstring

Model id. Omit for the default.

voicestring

Voice name (e.g. alloy). Defaults to a neutral voice.

Response

Success.

Changes

No recorded changes to this operation across all 1 revision of this API.