In-Ai

Developer API

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.

    Quickstart

    curl https://your-host/api/v1/chat \
      -H "Authorization: Bearer inai_…" \
      -H "Content-Type: application/json" \
      -d '{"input":"Teach me Bayes theorem","mode":"tutor"}'

    Endpoints

    POST /api/v1/chat
    { "input": "Explain spaced repetition", "mode": "tutor" }
    POST /api/v1/images
    { "prompt": "brass lamp on a dark desk", "aspect_ratio": "16:9" }
    POST /api/v1/videos
    { "prompt": "slow camera push-in", "image": "<base64>", "duration": 6 }
    POST /api/v1/speech
    { "text": "Welcome to In-Ai", "voice_id": "eve", "language": "en" }
    GET /api/v1/memories
    POST /api/v1/memories
    { "kind": "fact", "content": "Prefers short answers" }
    GET /api/v1/knowledge?q=sm-2
    POST /api/v1/knowledge
    { "title": "Notes", "text": "…" }
    GET /api/v1/skills
    GET /api/v1/models

    Image, video, and speech responses include a url path like /api/media/<id>. Prefix with your origin. Chat mode is work, tutor, research, or knowledge.