Pular para o conteúdo principal

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.

Pronto para elevar sua
experiência do usuário?

Implemente assistentes de IA que encantam os clientes e escalem com seu negócio.

Conforme o GDPR