> ## Documentation Index
> Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Model API quickstarts: Build with CometAPI models

> Choose a CometAPI model API quickstart for text, image, and video workflows with curl, Python, Node.js, and links to the API reference.

Use these quickstarts when you already know the model family or task you want to build. Each page shows a minimal request, a Python example, a Node.js example, the request flow, common parameters, and links back to the API reference.

For account setup, API keys, and the first generic call, start with [Create an API key](/overview/quick-start). For reusable platform guidance, use [Core API guides](/guides/use-cometapi-with-openai-sdk).

## Text APIs

<CardGroup cols={3}>
  <Card title="OpenAI-compatible API" icon="message" href="/quickstarts/text/openai-compatible-api">
    Use the OpenAI API-compatible Chat Completions route with a CometAPI model ID.
  </Card>

  <Card title="Claude API" icon="message" href="/quickstarts/text/claude-api">
    Send Anthropic-compatible Messages requests to Claude models through CometAPI.
  </Card>

  <Card title="Gemini API" icon="sparkles" href="/quickstarts/text/gemini-api">
    Start with Gemini native `generateContent`, or use OpenAI-compatible Chat Completions for existing SDK apps.
  </Card>
</CardGroup>

## Image APIs

<CardGroup cols={3}>
  <Card title="GPT Image API" icon="image" href="/quickstarts/image/gpt-image-api">
    Generate an image, decode `b64_json`, and save the result.
  </Card>

  <Card title="Gemini image API" icon="sparkles" href="/quickstarts/image/gemini-image-api">
    Generate images with Gemini image models, including Nano Banana model families.
  </Card>

  <Card title="Flux API" icon="paintbrush" href="/quickstarts/image/flux-api">
    Create a Flux image task, poll for the result, and download it before the URL expires.
  </Card>
</CardGroup>

## Video APIs

<CardGroup cols={3}>
  <Card title="Veo 3 API" icon="video" href="/quickstarts/video/veo-3-api">
    Create a Veo video task with multipart form data and poll until completion.
  </Card>

  <Card title="Sora 2 API" icon="film" href="/quickstarts/video/sora-2-api">
    Generate a Sora video, poll status, and download completed content.
  </Card>

  <Card title="Kling API" icon="clapperboard" href="/quickstarts/video/kling-api">
    Submit a Kling text-to-video task and track it through polling or callbacks.
  </Card>
</CardGroup>

## Supporting guides

<CardGroup cols={2}>
  <Card title="Models" icon="list" href="/overview/models">
    Find available model IDs and route each model to the correct API page.
  </Card>

  <Card title="Use OpenAI SDKs" icon="code" href="/guides/use-cometapi-with-openai-sdk">
    Configure OpenAI-compatible SDK clients with the CometAPI base URL.
  </Card>

  <Card title="Estimate cost" icon="tag" href="/guides/how-to-estimate-cost-before-calling-a-model">
    Plan budget guards before token, image, or video requests.
  </Card>

  <Card title="Use webhooks and polling" icon="rotate-cw" href="/guides/webhook-and-polling-for-video-generation">
    Track async video generation with task IDs, polling, and callbacks.
  </Card>
</CardGroup>
