A small chat API that answers.

Send messages, get a reply. Streaming when you want it, one JSON object when you don't. Pictures travel inside the message, so you can ask about an image the same way you ask about anything else.

the whole idea, in one request
curl -N https://ai.latdlabs.in/api/v1/chat \
  -H "content-type: application/json" \
  -d '{
    "messages": [
      { "role": "user", "content": "Explain a rainbow in two lines." }
    ],
    "stream": true
  }'

What you get

No SDK, no key, no account.

Messages, not prompts

system, user and assistant turns — the shape you already know.

Streams or not

Server-sent events by default. "stream": false returns one JSON object.

Pictures inside

Base64, a data: URL or a link — in the message, not as an upload.

Working in a minute

Run this as written. Nothing to install.

shell
curl -X POST https://ai.latdlabs.in/api/v1/chat \
  -H "content-type: application/json" \
  -d '{"messages":[{"role":"user","content":"Say hello in five words."}],"stream":false}'

Read the docs · Request fields · Limits