Bu sayfayı kendi dilinde görüntüleyebilirsin.Değiştir
You can view this page in your own language.Switch
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
このページはあなたの言語で表示できます。切り替える
يمكنك عرض هذه الصفحة بلغتك.تغيير
처음이신가요?

쿠키를 사용합니다

쿠키와 브라우저 저장소는 이 사이트가 작동하도록 돕고, 허용하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 확인하세요.

개발자

어시스턴트를 앱, MCP 클라이언트, 웹사이트로 가져가세요. 어디서든 비용은 채팅과 같습니다.

POST/api/v1/conversations

대화 시작: { text, locale?, model?, tools? } — tools로 이미지, 동영상, 음악, 음성을 만드세요.

tools
실제 요청입니다: 메시지 비용이 크레딧에서 차감됩니다. (크레딧 1개)
코드
curl -X POST "https://bilgisam.com/api/v1/conversations" \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text":"…","locale":"ko"}'

응답 본문

응답이 여기에 표시됩니다.

문서

멀티미디어

채팅의 도구를 API에서도 쓸 수 있습니다: 이미지, 동영상, 음악, 음성, 웹 검색. tools 필드로 추가하면 생성된 파일이 공개 URL과 함께 media 배열로 돌아옵니다.

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>"]}'