POST
/api/v1/chat{ "input": "Explain spaced repetition", "mode": "tutor" }In-Ai is the only assistant. This API is for chat, images, video, speech, memory, and skills. Authenticate with a Bearer key. Developed by Futuret3ch.
curl https://your-host/api/v1/chat \
-H "Authorization: Bearer inai_…" \
-H "Content-Type: application/json" \
-d '{"input":"Teach me Bayes theorem","mode":"tutor"}'/api/v1/chat{ "input": "Explain spaced repetition", "mode": "tutor" }/api/v1/images{ "prompt": "brass lamp on a dark desk", "aspect_ratio": "16:9" }/api/v1/videos{ "prompt": "slow camera push-in", "image": "<base64>", "duration": 6 }/api/v1/speech{ "text": "Welcome to In-Ai", "voice_id": "eve", "language": "en" }/api/v1/memories/api/v1/memories{ "kind": "fact", "content": "Prefers short answers" }/api/v1/knowledge?q=sm-2/api/v1/knowledge{ "title": "Notes", "text": "…" }/api/v1/skills/api/v1/modelsImage, video, and speech responses include a url path like /api/media/<id>. Prefix with your origin. Chat mode is work, tutor, research, or knowledge.