Spaces:
Runtime error
Runtime error
File size: 2,741 Bytes
51b49d1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | <!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Documentação API - IA-ZÉNIA M6</title>
<script src="https://cdn.tailwindcss.com"></script>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: "Inter", sans-serif;
}
</style>
</head>
<body class="bg-slate-900 text-slate-200 min-h-screen p-8">
<div class="max-w-4xl mx-auto">
<header class="mb-12">
<h1 class="text-4xl font-bold text-cyan-400 mb-2">IA-ZÉNIA M6 API</h1>
<p class="text-slate-400 text-lg">
Documentação oficial para integração com o modelo GLM-5.2 Vision.
</p>
</header>
<section class="space-y-8">
<div class="bg-slate-800 p-6 rounded-2xl border border-slate-700">
<h2 class="text-2xl font-semibold mb-4 text-white">
Endpoint: Chat Completions
</h2>
<div class="flex items-center gap-3 mb-4">
<span
class="bg-green-500/20 text-green-400 px-3 py-1 rounded-full text-sm font-bold"
>POST</span
>
<code class="text-cyan-300"
>https://danielinacio-zenia-m6.hf.space/v1/chat/completions</code
>
</div>
<p class="mb-4 opacity-80">
Envia uma lista de mensagens e recebe uma resposta gerada pela
IA-Zénia M6.
</p>
<h3 class="text-lg font-medium mb-2 text-slate-300">
Corpo da Requisição (JSON)
</h3>
<pre
class="bg-slate-950 p-4 rounded-xl text-sm overflow-x-auto text-pink-400"
>
{
"messages": [
{ "role": "user", "content": "Olá, quem és tu?" }
],
"temperature": 0.7,
"max_tokens": 512
}</pre
>
</div>
<div class="bg-slate-800 p-6 rounded-2xl border border-slate-700">
<h2 class="text-2xl font-semibold mb-4 text-white">
Identidade do Sistema
</h2>
<p class="opacity-80 leading-relaxed">
A API injeta automaticamente o prompt de sistema que define a
IA-ZÉNIA como uma inteligência angolana do Lubango. Não é necessário
enviar o prompt de sistema manualmente, a menos que queiras sobrepor
o comportamento padrão.
</p>
</div>
</section>
<footer
class="mt-20 pt-8 border-t border-slate-800 text-center opacity-50 text-sm"
>
© 2026 Plee Universe · Zénia Projects
</footer>
</div>
</body>
</html>
|