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
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
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.