Ga naar de hoofdinhoud

Voice input with text response

POST 

/chat/voice

Send audio input and receive a text response from the AI assistant. Transcribes audio using STT, processes with the AI agent, returns text response.

Streaming Mode: Add stream: "true" in form data to receive SSE stream with:

  • transcription event (STT result)
  • stream_start, token, agent_response events (AI response)
  • stream_end event with performance metrics

Note: This endpoint uses a different base path: /api/chat/voice

Request

Responses

Standard Mode: JSON response with transcription and AI response.

Streaming Mode: SSE stream with transcription and response events.

Klaar om je
gebruikerservaring te verbeteren?

Zet AI-assistenten in die klanten verrassen en meegroeien met je bedrijf.

GDPR-conform