Spaces:
Runtime error
Runtime error
| <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> | |