> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-mintlify-86b9f77a.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Venice API

> Guias, quickstarts e a referência completa da API para criar apps privados de IA na Venice, com modelos de texto, imagem, vídeo e áudio via OpenAI.

<div className="venice-hero-copy">
  <p className="venice-hero-tagline">Acesso privado e irrestrito a todos os principais modelos de IA de texto, imagem, vídeo e áudio, por trás de uma única chave de API.</p>

  <div className="venice-hero-ctas">
    <a className="venice-hero-cta venice-hero-cta-primary" href="https://venice.ai/settings/api?utm_source=venice-api-documentation">Obter uma chave de API →</a>
    <a className="venice-hero-cta" href="/getting-started/quick-start">Começar</a>
  </div>
</div>

<CodeGroup>
  ```bash curl theme={null}
  curl https://api.venice.ai/api/v1/chat/completions \
    -H "Authorization: Bearer $VENICE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "zai-org-glm-5-1",
      "messages": [{"role": "user", "content": "Build without permission."}]
    }'
  ```

  ```ts TypeScript theme={null}
  import OpenAI from "openai";

  const client = new OpenAI({
    apiKey: process.env.VENICE_API_KEY,
    baseURL: "https://api.venice.ai/api/v1",
  });

  const res = await client.chat.completions.create({
    model: "zai-org-glm-5-1",
    messages: [{ role: "user", content: "Build without permission." }],
  });
  ```

  ```python Python theme={null}
  import os
  from openai import OpenAI

  client = OpenAI(
      api_key=os.environ["VENICE_API_KEY"],
      base_url="https://api.venice.ai/api/v1",
  )

  res = client.chat.completions.create(
      model="zai-org-glm-5-1",
      messages=[{"role": "user", "content": "Build without permission."}],
  )
  ```
</CodeGroup>

<div className="venice-section-header">
  <h2 className="venice-section-title">Endpoints</h2>
  <p className="venice-section-subtitle">Uma API para todas as modalidades, com a mesma autenticação, os mesmos códigos de erro e os mesmos headers de limite de taxa em todas elas.</p>
</div>

<div className="venice-apis-grid">
  <a className="venice-api-card" href="/api-reference/endpoint/chat/completions">
    <span className="venice-api-card-name">Chat Completions</span>
    <p className="venice-api-card-desc">Um substituto direto para o endpoint de chat da OpenAI, abrangendo mais de 100 modelos de texto, de pesos abertos rápidos a raciocínio de fronteira.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Streaming</span>
      <span className="venice-api-card-chip">Function calling</span>
      <span className="venice-api-card-chip">Visão</span>
    </div>

    <span className="venice-api-card-action">Ver referência →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/image/generations">
    <span className="venice-api-card-name">Geração de imagens</span>
    <p className="venice-api-card-desc">Modelos fotorrealistas, estilizados e sem censura, além de inpainting, remoção de plano de fundo e estilos predefinidos.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Text-to-image</span>
      <span className="venice-api-card-chip">Image-to-image</span>
      <span className="venice-api-card-chip">Upscale</span>
    </div>

    <span className="venice-api-card-action">Ver referência →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/audio/speech">
    <span className="venice-api-card-name">Áudio</span>
    <p className="venice-api-card-desc">Síntese de fala multilíngue e transcrição precisa, com clonagem de voz a partir de uma amostra de referência curta.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">TTS</span>
      <span className="venice-api-card-chip">Transcrição</span>
      <span className="venice-api-card-chip">50+ vozes</span>
    </div>

    <span className="venice-api-card-action">Ver referência →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/video/queue">
    <span className="venice-api-card-name">Vídeo</span>
    <p className="venice-api-card-desc">Execute gerações em uma única chamada ou por meio de uma fila de jobs assíncrona, e precifique qualquer job antecipadamente com uma cotação.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Text-to-video</span>
      <span className="venice-api-card-chip">Image-to-video</span>
      <span className="venice-api-card-chip">Reference-to-video</span>
    </div>

    <span className="venice-api-card-action">Ver referência →</span>
  </a>
</div>

<p className="venice-apis-extras">
  Mais <a href="/api-reference/endpoint/embeddings/generate">embeddings</a>, <a href="/guides/features/file-inputs">file inputs</a>, <a href="/guides/integrations/venice-mcp">ferramentas MCP</a> e <a href="/guides/integrations/x402-venice-api">pagamentos com carteira</a>. <a className="venice-apis-extras-cta" href="/api-reference">Ver todos os endpoints →</a>
</p>

<div className="venice-section-header">
  <h2 className="venice-section-title">Agentes</h2>
  <p className="venice-section-subtitle">Inferência privada, ferramentas MCP e fluxos de trabalho financiados por carteira para mensageria, programação e agentes onchain.</p>
</div>

<h3 className="venice-subsection-title">Apps de agente</h3>

<div className="venice-agent-grid">
  <a className="venice-agent-card" href="/guides/integrations/openclaw-bot">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/openclaw.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=58e38726642ad6967d0f0c2b3f0403ca" alt="" width="120" height="120" data-path="images/icons/integrations/openclaw.svg" />
      </span>

      <span className="venice-agent-card-name">OpenClaw</span>
    </span>

    <span className="venice-agent-card-desc">Execute a Venice no WhatsApp, Telegram, Discord, iMessage e Slack.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/hermes-agent">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/mono/hermes.png?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=9f3896c0e19b139e00e56905f16dc087" alt="" width="96" height="96" data-path="images/icons/integrations/mono/hermes.png" />
      </span>

      <span className="venice-agent-card-name">Hermes Agent</span>
    </span>

    <span className="venice-agent-card-desc">Agentes auto-hospedados com memória, skills e modelos Venice.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/nanoclaw-venice">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/nanoclaw.png?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=d7c2c185500038e3edda2c2d5a4c836d" alt="" width="96" height="96" data-path="images/icons/integrations/nanoclaw.png" />
      </span>

      <span className="venice-agent-card-name">NanoClaw</span>
    </span>

    <span className="venice-agent-card-desc">Assistente leve para WhatsApp e Telegram com tecnologia Venice.</span>
  </a>
</div>

<p className="venice-apis-extras">
  <a className="venice-apis-extras-cta" href="/guides/integrations/ai-agents#agent-apps">Explorar todos os apps de agente →</a>
</p>

<h3 className="venice-subsection-title">Agentes de programação</h3>

<div className="venice-agent-grid">
  <a className="venice-agent-card" href="/guides/integrations/claude-code">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/mono/claude-code.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=ea9afc0d1124f91aac2c36af23716634" alt="" width="24" height="24" data-path="images/icons/integrations/mono/claude-code.svg" />
      </span>

      <span className="venice-agent-card-name">Claude Code</span>
    </span>

    <span className="venice-agent-card-desc">Execute o Claude Code com modelos Claude hospedados na Venice.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/cursor">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/mono/cursor.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=b0e2bcebb01655fc1f36e964cee2e41c" alt="" width="24" height="24" data-path="images/icons/integrations/mono/cursor.svg" />
      </span>

      <span className="venice-agent-card-name">Cursor</span>
    </span>

    <span className="venice-agent-card-desc">Adicione modelos Venice ao Cursor com o prefixo de modelo venice-.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/codex-cli">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/mono/codex-cli.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=9811dc8d720f01fb3bf4b1508261378b" alt="" width="16" height="16" data-path="images/icons/integrations/mono/codex-cli.svg" />
      </span>

      <span className="venice-agent-card-name">Codex CLI</span>
    </span>

    <span className="venice-agent-card-desc">Aponte o Codex CLI para o endpoint compatível com OpenAI da Venice.</span>
  </a>
</div>

<p className="venice-apis-extras">
  <a className="venice-apis-extras-cta" href="/guides/integrations/ai-agents#coding-agents">Explorar todos os agentes de programação →</a>
</p>

<h3 className="venice-subsection-title">MCP e skills</h3>

<div className="venice-agent-grid is-pair">
  <a className="venice-agent-card" href="/guides/integrations/venice-mcp">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/mono/mcp.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=583db7ad6b9413790e7b33dc6d0c21e6" alt="" width="24" height="24" data-path="images/icons/integrations/mono/mcp.svg" />
      </span>

      <span className="venice-agent-card-name">Venice MCP Server</span>
    </span>

    <span className="venice-agent-card-desc">Exponha chat, imagem, vídeo, áudio e embeddings para qualquer host MCP.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/venice-skills">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/integrations/mono/venice-skills.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=b5e3b579fbd9b1eff1f25ffcf4066bd5" alt="" width="326" height="366" data-path="images/icons/integrations/mono/venice-skills.svg" />
      </span>

      <span className="venice-agent-card-name">Venice Skills</span>
    </span>

    <span className="venice-agent-card-desc">Dê aos agentes instruções específicas por endpoint sincronizadas com a especificação da API.</span>
  </a>
</div>

<div className="venice-section-header">
  <h2 className="venice-section-title">Modelos</h2>
  <p className="venice-section-subtitle">Alguns dos modelos de destaque na Venice. Passe o ID como seu parâmetro `model`.</p>
</div>

<div className="venice-models-grid">
  <a className="venice-model-card" href="/models/overview">
    <span className="venice-model-card-top">
      <span className="venice-model-card-logo" aria-hidden="true">
        <span className="venice-model-card-logo-mask" style={{ maskImage: "url('https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/models/kimi.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=4b7e1cb9c7c7727ca55e6e37a77c0be8')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/models/kimi.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=4b7e1cb9c7c7727ca55e6e37a77c0be8')" }} />
      </span>

      <span className="venice-model-card-head">
        <span className="venice-model-card-name">Kimi K3</span>
        <span className="venice-model-card-maker">Moonshot AI</span>
      </span>
    </span>

    <span className="venice-model-card-stats">
      <span>Contexto de 1M</span>
      <span className="venice-model-card-privacy">Private</span>
    </span>

    <span className="venice-model-card-id">kimi-k3</span>
  </a>

  <a className="venice-model-card" href="/models/overview">
    <span className="venice-model-card-top">
      <span className="venice-model-card-logo" aria-hidden="true">
        <span className="venice-model-card-logo-mask" style={{ maskImage: "url('https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/models/opus.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=366d8ae810b5581e0fae0120a5225b26')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/models/opus.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=366d8ae810b5581e0fae0120a5225b26')" }} />
      </span>

      <span className="venice-model-card-head">
        <span className="venice-model-card-name">Claude Fable 5</span>
        <span className="venice-model-card-maker">Anthropic</span>
      </span>
    </span>

    <span className="venice-model-card-stats">
      <span>Contexto de 1M</span>
      <span className="venice-model-card-privacy is-anonymized">Anonymized</span>
    </span>

    <span className="venice-model-card-id">claude-fable-5</span>
  </a>

  <a className="venice-model-card" href="/models/overview">
    <span className="venice-model-card-top">
      <span className="venice-model-card-logo" aria-hidden="true">
        <span className="venice-model-card-logo-mask" style={{ maskImage: "url('https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/models/Zhipu.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=244d25a64dc4b712995c14b745c13c9e')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-mintlify-86b9f77a/BH-QqGGozCpfkQJV/images/icons/models/Zhipu.svg?fit=max&auto=format&n=BH-QqGGozCpfkQJV&q=85&s=244d25a64dc4b712995c14b745c13c9e')" }} />
      </span>

      <span className="venice-model-card-head">
        <span className="venice-model-card-name">GLM 5.2</span>
        <span className="venice-model-card-maker">Z.ai</span>
      </span>
    </span>

    <span className="venice-model-card-stats">
      <span>Contexto de 1M</span>
      <span className="venice-model-card-privacy">Private</span>
    </span>

    <span className="venice-model-card-id">zai-org-glm-5-2</span>
  </a>
</div>

<a className="venice-models-cta" href="/models/overview">
  <span className="venice-models-cta-left">
    <span className="venice-models-cta-count">Mais de 330 modelos</span>
    <span className="venice-models-cta-sub">Texto, imagem, áudio e vídeo</span>
  </span>

  <span className="venice-models-cta-action">Navegar no catálogo →</span>
</a>

<div className="venice-section-header">
  <h2 className="venice-section-title">Ferramentas</h2>
  <p className="venice-section-subtitle">Analise documentos, gere embeddings, pesquise na web ao vivo e obtenha dados onchain.</p>
</div>

<CardGroup cols={4}>
  <Card title="Embeddings" icon="database" href="/guides/features/embeddings" />

  <Card title="Processamento de documentos" icon="file" href="/guides/tools/document-processing" />

  <Card title="Pesquisa na web" icon="globe" href="/guides/tools/web-retrieval" />

  <Card title="Extração da web" icon="browser" href="/guides/tools/web-retrieval" />
</CardGroup>

<CardGroup cols={2}>
  <Card title="Entradas de arquivos" icon="file" href="/guides/features/file-inputs" />

  <Card title="Crypto RPC" icon="network" href="/guides/integrations/crypto-rpc-agents" />
</CardGroup>

<div className="venice-pricing">
  <div className="venice-section-header">
    <h2 className="venice-section-title">Preços</h2>
    <p className="venice-section-subtitle">Faça uma recarga com créditos, faça stake de DIEM para um limite diário ou dispense a conta totalmente com USDC na Base.</p>
  </div>

  <div className="venice-pricing-grid">
    <div className="venice-pricing-card">
      <div className="venice-pricing-card-head">
        <span className="venice-pricing-card-name">Créditos</span>
        <span className="venice-pricing-card-badge">USD ou cripto</span>
      </div>

      <p className="venice-pricing-card-desc">Pague conforme o uso em USD ou cripto. Os créditos nunca expiram e funcionam em todos os endpoints.</p>
      <a className="venice-pricing-card-cta" href="https://venice.ai/settings/api?utm_source=venice-api-documentation">Comprar créditos</a>
    </div>

    <div className="venice-pricing-card">
      <div className="venice-pricing-card-head">
        <span className="venice-pricing-card-name">DIEM</span>
        <span className="venice-pricing-card-badge">Limite diário</span>
      </div>

      <p className="venice-pricing-card-desc">Faça stake de DIEM ou VVV uma vez e ganhe um limite fixo de inferência todos os dias, sem cobranças por chamada.</p>
      <a className="venice-pricing-card-cta" href="/overview/vvv-diem">Saiba mais sobre o DIEM</a>
    </div>

    <div className="venice-pricing-card">
      <div className="venice-pricing-card-head">
        <span className="venice-pricing-card-name">x402</span>
        <span className="venice-pricing-card-badge">USDC na Base</span>
      </div>

      <p className="venice-pricing-card-desc">Pague por requisição a partir de qualquer carteira na Base em USDC. Sem conta ou chave de API, feito para agentes.</p>
      <a className="venice-pricing-card-cta" href="/guides/integrations/x402-venice-api">Ler guia do x402</a>
    </div>
  </div>
</div>

Dúvidas ou feedback? Encontre-nos no [Discord](https://discord.gg/askvenice).
