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

# Venice API

> Venice API documentation — private, unrestricted access to OpenAI-compatible chat, image, audio, and video models behind one API key.

<div className="venice-hero-copy">
  <p className="venice-hero-tagline">The API for private, unrestricted access to intelligence.</p>
  <p className="venice-hero-subtitle">OpenAI-compatible chat, image, audio, and video behind one API key.</p>

  <div className="venice-hero-ctas">
    <a className="venice-hero-cta venice-hero-cta-primary" href="https://venice.ai/settings/api">Get an API key →</a>
    <a className="venice-hero-cta" href="/getting-started/quick-start">Get started</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">
  <p className="venice-section-eyebrow">Endpoints</p>
  <h2 className="venice-section-title">One API for every modality</h2>
  <p className="venice-section-subtitle">Chat, image, audio, video, and embeddings behind one API key.</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">OpenAI-compatible chat with reasoning, tool use, and streaming across 100+ text models.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Streaming</span>
      <span className="venice-api-card-chip">Tools</span>
      <span className="venice-api-card-chip">Vision</span>
    </div>

    <span className="venice-api-card-action">See reference →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/image/generations">
    <span className="venice-api-card-name">Image Generation</span>
    <p className="venice-api-card-desc">Text-to-image, image-to-image, upscaling, and background removal across photorealistic, stylized, and uncensored models.</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">See reference →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/audio/speech">
    <span className="venice-api-card-name">Audio</span>
    <p className="venice-api-card-desc">Text-to-speech with 50+ multilingual voices, plus speech-to-text transcription for any audio file.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">TTS</span>
      <span className="venice-api-card-chip">Transcription</span>
      <span className="venice-api-card-chip">50+ voices</span>
    </div>

    <span className="venice-api-card-action">See reference →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/video/queue">
    <span className="venice-api-card-name">Video</span>
    <p className="venice-api-card-desc">Text-to-video, image-to-video, and reference-to-video through a sync or async job queue.</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">See reference →</span>
  </a>
</div>

<p className="venice-apis-extras">
  Plus <a href="/api-reference/endpoint/embeddings/generate">embeddings</a>, <a href="/guides/features/file-inputs">file inputs</a>, <a href="/guides/integrations/venice-mcp">MCP tools</a>, and <a href="/guides/integrations/x402-venice-api">wallet payments</a>. <a className="venice-apis-extras-cta" href="/api-reference">View all endpoints →</a>
</p>

<div className="venice-section-header">
  <p className="venice-section-eyebrow">Agents</p>
  <h2 className="venice-section-title">Built for AI agents</h2>
  <p className="venice-section-subtitle">Private inference, MCP tools, and wallet-funded workflows for messaging, coding, and onchain agents.</p>
</div>

<div className="venice-agents-cards">
  <a className="venice-api-card" href="/guides/integrations/ai-agents#agent-apps">
    <span className="venice-api-card-name">Agent apps</span>
    <p className="venice-api-card-desc">Connect Venice to WhatsApp, Telegram, Discord, and more through OpenClaw, Hermes, and NanoClaw.</p>
    <span className="venice-api-card-action">See integrations →</span>
  </a>

  <a className="venice-api-card" href="/guides/integrations/ai-agents#coding-agents">
    <span className="venice-api-card-name">Coding agents</span>
    <p className="venice-api-card-desc">Use Claude Code, Cursor, and Codex CLI with Venice models for private coding workflows.</p>
    <span className="venice-api-card-action">See integrations →</span>
  </a>

  <a className="venice-api-card" href="/guides/integrations/ai-agents#tools-and-skills">
    <span className="venice-api-card-name">MCP + Skills</span>
    <p className="venice-api-card-desc">Expose chat, image, video, audio, and embeddings as MCP tools or runtime skills.</p>
    <span className="venice-api-card-action">See integrations →</span>
  </a>
</div>

<p className="venice-apis-extras">
  <a className="venice-apis-extras-cta" href="/guides/integrations/ai-agents">Explore the AI Agents hub →</a>
</p>

<div className="venice-section-header">
  <p className="venice-section-eyebrow">Models</p>
  <h2 className="venice-section-title">Popular models</h2>
  <p className="venice-section-subtitle">A few of the most-used models on Venice. Use the ID as your `model` parameter.</p>
</div>

<div className="venice-models-grid">
  <a className="venice-model-card" href="/overview/models">
    <div className="venice-model-card-head">
      <span className="venice-model-card-name">Kimi K2.6</span>
      <span className="venice-model-card-maker">Moonshot AI</span>
    </div>

    <div className="venice-model-card-stats" />
  </a>

  <a className="venice-model-card" href="/overview/models">
    <div className="venice-model-card-head">
      <span className="venice-model-card-name">Claude Opus 4.7</span>
      <span className="venice-model-card-maker">Anthropic</span>
    </div>

    <div className="venice-model-card-stats" />
  </a>

  <a className="venice-model-card" href="/overview/models">
    <div className="venice-model-card-head">
      <span className="venice-model-card-name">GPT-5.5</span>
      <span className="venice-model-card-maker">OpenAI</span>
    </div>

    <div className="venice-model-card-stats" />
  </a>
</div>

<a className="venice-models-cta" href="/overview/models">
  <span className="venice-models-cta-left">
    <span className="venice-models-cta-count">250+ models</span>
    <span className="venice-models-cta-sub">Text, image, audio, and video</span>
  </span>

  <span className="venice-models-cta-action">Browse the catalog →</span>
</a>

<div className="venice-section-header">
  <p className="venice-section-eyebrow">Search & RAG</p>
  <h2 className="venice-section-title">Build retrieval pipelines</h2>
  <p className="venice-section-subtitle">Parse documents, generate embeddings, and retrieve fresh web context with Venice's privacy-first APIs.</p>
</div>

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

  <Card title="Document Processing" icon="file" href="/guides/tools/document-processing" />

  <Card title="Web Search" icon="globe" href="/guides/tools/web-retrieval" />

  <Card title="Web Scraping" icon="browser" href="/guides/tools/web-retrieval" />
</CardGroup>

<CardGroup cols={2}>
  <Card title="File Inputs" 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">
    <p className="venice-section-eyebrow">Pricing</p>
    <h2 className="venice-section-title">Top up, stake, or pay per request</h2>
    <p className="venice-section-subtitle">Fund an account with credits, stake DIEM for a daily allowance, or skip the account entirely with USDC on 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">Credits</span>
        <span className="venice-pricing-card-badge">USD or Crypto</span>
      </div>

      <p className="venice-pricing-card-desc">Pay as you go in USD or crypto. Credits never expire and work across every endpoint.</p>
      <a className="venice-pricing-card-cta" href="https://venice.ai/settings/billing">Buy Credits</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">Daily allowance</span>
      </div>

      <p className="venice-pricing-card-desc">Stake DIEM or VVV once and earn a fixed inference allowance every day, with no per-call charges.</p>
      <a className="venice-pricing-card-cta" href="/overview/vvv-diem">Learn about 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 on Base</span>
      </div>

      <p className="venice-pricing-card-desc">Pay per request from any Base wallet in USDC. No account or API key, built for agents.</p>
      <a className="venice-pricing-card-cta" href="/guides/integrations/x402-venice-api">Read x402 Guide</a>
    </div>
  </div>
</div>

Questions or feedback? Join us on [Discord](https://discord.gg/askvenice).
