conversation

Conversation Respond

Generate AI response (text + audio).

Body: {"user_message": "what do you teach?"}

Returns: Audio file (MP3)

Headers: X-AI-Response: "I teach Spanish through personalized AI conversations!"

Errors: 400: Invalid message (empty or >500 chars) 429: Rate limit exceeded 500: Generation failed

Rate limits: - 10 requests/hour per IP - 20 requests/hour per session

Example: const res = await fetch('/api/conversation/respond', { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({user_message: "what do you teach?"}) }); const aiText = res.headers.get('X-AI-Response'); const audioBlob = await res.blob(); // Display aiText and play audioBlob

post/api/conversation/respond

Request

  • Base URL: https://api.tegore.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.tegore.ai/api/conversation/respond
  • Auth: none declared

Request body

user_messagestring required

Response

Successful Response

unknown required

Changes

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