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

> ## Agent Instructions
> Authenticate every request with your API key in the `X-API-Key` header or `Authorization: Bearer`. Keys start with `sk-nunchux-`.
> Image generation is synchronous: the image is in the response.
> Video generation is asynchronous: submit the job, poll its task until it reaches a terminal status, then download the output promptly, because output URLs expire.

# Overview

> Generate images and videos with one API key and one credit balance.

# Nunchux docs

Nunchux gives you one API for image and video generation. One API key and one credit balance cover every model.

The models are in two groups. The groups use different request shapes.

<CardGroup cols={2}>
  <Card title="Nunchux Optimized models" href="/nunchux-optimized/overview">
    Image and video models that run on Nunchux's proprietary Model Optimizer and Inference Engine. One request returns the output. Performance tiers set the balance of speed and cost.
  </Card>

  <Card title="Partner models" href="/partner-models/overview">
    Third-party models from Google, Kling AI, Alibaba Cloud, ByteDance, MiniMax and HeyGen. Each provider keeps its own routes and request shapes. Video jobs are asynchronous.
  </Card>
</CardGroup>

## Start here

1. Make your first request. See [Quickstart](/quickstart).
2. Learn how to send your API key. See [Authentication](/authentication).
3. Find a model. See the two overviews above.
4. Connect Claude Code, Cursor and other tools to these docs. See [Coding agents](/coding-agents).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.