Specifications
Model ID
stepaudio-2.5-chatEndpoint
POST /v1/chat/completionsInput
Audio or text
Output
Text only
Audio formats
mp3, wav
Languages
English
StepAudio 2.5 Chat returns text only. Requests that include
audio in modalities are rejected with a 400 error. To give your assistant a voice, pass the text output to a text-to-speech model.Capabilities
- Paralinguistic understanding: For audio input, the model interprets vocal cues such as intonation, pacing, hesitation, and laughter in addition to the spoken words, capturing a speaker’s emotional state and intent that a text transcript does not represent.
- Contextual, emotionally aware dialogue: The model resolves complex or implicit meaning across turns and factors the inferred tone and context into its replies, rather than responding only to the literal words.
- Persona and style control: System instructions define the assistant’s personality, speaking style, and behavioral boundaries at a fine-grained level, maintaining a consistent voice throughout a conversation without preset templates.
- Unified text and audio input: Text and audio are handled through the same Chat Completion endpoint, so an application can combine typed and spoken turns within a single conversation.
Common use cases
- Voice assistants and conversational agents: Accept spoken input and return text that the application displays or passes to a text-to-speech model for a spoken reply.
- Call and meeting analysis: Summarize recordings, extract action items, and answer questions about what was discussed.
- Voice message triage: Classify incoming audio by intent and urgency and route it to the appropriate team or workflow without manual review.
Quick Start
This section walks you through your first request to StepAudio 2.5 Chat, from creating an API key to sending text and audio input.Set up your environment
1
Create an API key
Create a key on the StepFun platform.
2
Set your API key as an environment variable
https://api.stepfun.ai/v1.
Text in, text out
Send a text message and receive a text reply.- curl
- Python (OpenAI SDK)
Audio in, text out
Send a voice message by passing a local audio file (mp3 or wav) as a base64-encodedinput_audio part. The model interprets the spoken content and replies in text.
Pricing
See the pricing page for current rates.Related Resources
Chat Completion API
Look up every request parameter and response field in detail.
Audio Models Overview
Compare all speech models and choose the right one.