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
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
이 페이지를 사용하는 언어로 볼 수 있어요.바꾸기
このページはあなたの言語で表示できます。切り替える
يمكنك عرض هذه الصفحة بلغتك.تغيير
¿Eres nuevo?

Usamos cookies

Las cookies y el almacenamiento del navegador hacen que este sitio funcione y, si lo permites, miden cómo se usa. Puedes en cualquier momento. Más información en nuestra política de cookies.

Desarrolladores

Lleva el asistente a tu app, a tu cliente MCP o a tu web. En todas partes cuesta lo mismo que en el chat.

POST/api/v1/conversations

Iniciar conversación: { text, locale?, model?, tools? } — con tools genera imágenes, vídeo, música o voz.

tools
Petición real: el mensaje se cobra de tus créditos. (1 crédito)
Código
curl -X POST "https://bilgisam.com/api/v1/conversations" \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text":"…","locale":"es"}'

Cuerpo de la respuesta

La respuesta aparecerá aquí.

Documentación

Multimedia

Las herramientas del chat también están en la API: imagen, vídeo, música, voz y búsqueda web. Añádelas con el campo tools; los archivos generados vuelven en el array media con URL pública.

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