Bu sayfayı kendi dilinde görüntüleyebilirsin.Değiştir
Du kannst diese Seite in deiner Sprache ansehen.Wechseln
Puedes ver esta página en tu idioma.Cambiar
Tu peux consulter cette page dans ta langue.Changer
Puoi vedere questa pagina nella tua lingua.Cambia
Je kunt deze pagina in je eigen taal bekijken.Wisselen
Możesz zobaczyć tę stronę w swoim języku.Zmień
Du kan se den här sidan på ditt eget språk.Byt
Você pode ver esta página no seu idioma.Trocar
आप यह पेज अपनी भाषा में देख सकते हैं।बदलें
Kamu bisa melihat halaman ini dalam bahasamu.Ganti
이 페이지를 사용하는 언어로 볼 수 있어요.바꾸기
このページはあなたの言語で表示できます。切り替える
يمكنك عرض هذه الصفحة بلغتك.تغيير
New here?

We use cookies

Cookies and browser storage help this site work and, if you allow it, measure how it is used. You can at any time. Learn more in our cookie policy.

Developers

Bring the assistant to your app, your MCP client or your website. Every door costs the same as the chat app.

POST/api/v1/conversations

Start a conversation: { text, locale?, model?, tools? } — use tools to create images, video, music or speech.

tools
Real request: the message cost is charged to your credits. (1 credit)
Code
curl -X POST "https://bilgisam.com/api/v1/conversations" \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text":"…","locale":"en"}'

Response body

The response will appear here.

Documentation

Multimedia

The chat app’s tools are in the API too: image, video, music, text-to-speech and web search. Add them with the tools field; generated files come back in the response’s media array with public URLs.

curl -X POST https://bilgisam.com/api/v1/conversations \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "a red fox in the snow, watercolor", "tools": ["generate_image"]}'

# GET /api/v1/conversations/{id}
{
  "pending": false,
  "generating": false,
  "messages": [
    { "role": "assistant", "content": "…", "media": [
      { "name": "image.png", "type": "image/png", "url": "https://…/image.png" }
    ] }
  ]
}

# edit_image: upload the source, then attach it
curl -X POST https://bilgisam.com/api/v1/files -H "Authorization: Bearer sk_..." -F "file=@photo.jpg"
# → {"id": "…", "image": "https://…"}
curl -X POST https://bilgisam.com/api/v1/conversations   -H "Authorization: Bearer sk_..."   -H "Content-Type: application/json"   -d '{"text": "make the background a sunset beach", "tools": ["edit_image"], "files": ["<file id>"]}'