Text to Audio

Text to Audio V2

Convert text to audio using MiniMax T2A V2 API with support for streaming and non-streaming output

post/v1/t2a_v2

Request

Request body

model'speech-2.5-hd-preview' | 'speech-2.5-turbo-preview' | 'speech-02-hd' | 'speech-02-turbo' | 'speech-01-hd' | 'speech-01-turbo' required

Model ID for text-to-audio conversion

textstring required

Text content to convert to audio

speed_rateinteger

Speed rate for audio generation

streamboolean

Whether to enable streaming output

language_booststring

Language boost setting

subtitle_enableboolean

Whether to enable subtitle generation

output_formatstring

Output audio format

subtitle_typestring

Subtitle type

aigc_watermarkboolean

Whether to add AIGC watermark

with_propagator_metaboolean

Whether to add propagator metadata

Response

Successful response

trace_idstring

Trace ID for request tracking

Changes

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