Step TTS 2

Step TTS 2
StepFun · Audio Generation
POST /v1/audio/speech

StepFun text-to-speech model with official voices, custom cloned voices, and voice tag controls.

At a glance

FieldValue
Model idstep-tts-2
Model release date-
Input modalitiesText
Output modalitiesAudio
Context window-
Weight precision-
RegionInternational
Featurestext_to_speech, voice_tags, multilingual
Native inferenceNo
NewYes
Supported endpointsPOST /v1/audio/speech

Pricing

ChargeSpecRate
Synthesisper 10,000 characters$0.40

Example request

$curl https://api.empiriolabs.ai/v1/audio/speech \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "step-tts-2", "input": "Hello from EmpirioLabs."}'

Parameters

ParameterTypeRequiredDefaultDescription
inputstringyes-Text to synthesize. Maximum 1,000 characters. · Max: 1000
voicestringno"lively-girl"Official voice ID or custom cloned voice ID.
response_formatenumno"mp3"Output audio format. · Allowed: mp3, wav, flac, opus, pcm
speednumberno1.0Speech speed. · Range: 0.5 – 2
volumenumberno1.0Output volume. · Range: 0.1 – 2
sample_rateenumno24000Output sample rate in Hz. · Allowed: 8000, 16000, 22050, 24000, 48000
voice_labelobjectno-Emotion and speaking-style tags for step-tts-2.
pronunciation_mapobjectno-Optional pronunciation mapping.
markdown_filterbooleannofalseFilter markdown syntax before synthesis.

Notes

Maximum input is 1,000 characters. Supports official voice IDs, custom cloned voices, voice_label emotion tags, and voice_label style tags. The instruction parameter is only for stepaudio-2.5-tts.


Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/step-tts-2.