# Civitai Developer > Civitai developer documentation — orchestration API (submit AI workflows: video, image, audio, text via a single contract that races multiple providers), the Civitai site API, MCP servers for both, plus SDKs and related developer tooling. Orchestration section covers the consumer-facing REST API: authenticating, submitting workflows, polling / receiving webhooks for results, and using each recipe (videoGen/WAN, imageGen/Flux, upscalers, transcription, TTS, prompt enhancement). Reference pages are generated from the v2-consumers OpenAPI specification and stay in sync with the live API on every build. ## Table of Contents ### Getting Started - [Introduction](/orchestration/guide.md) - [Quick Start](/orchestration/guide/getting-started.md) - [Authentication](/orchestration/guide/authentication.md) ### Core Concepts - [Workflows](/orchestration/guide/workflows.md) - [Submitting Work](/orchestration/guide/submitting-work.md) - [Results & Webhooks](/orchestration/guide/results-and-webhooks.md) - [Errors & Retries](/orchestration/guide/errors-and-retries.md) ### Reference - [API Reference](/orchestration/reference.md) ### Recipes - [Recipes](/orchestration/recipes.md) ### Video - [WAN video generation](/orchestration/recipes/wan.md) - [LTX2 video generation](/orchestration/recipes/ltx2.md) - [Kling video generation](/orchestration/recipes/kling.md) - [Vidu video generation](/orchestration/recipes/vidu.md) - [Veo 3 video generation](/orchestration/recipes/veo3.md) - [Grok video generation](/orchestration/recipes/grok-video.md) - [Happy-Horse video generation](/orchestration/recipes/happy-horse.md) - [HunyuanVideo generation](/orchestration/recipes/hunyuan.md) - [Video upscaling](/orchestration/recipes/video-upscaler.md) - [Video frame interpolation](/orchestration/recipes/video-interpolation.md) - [Compose media (video)](/orchestration/recipes/compose-media-video.md) ### Image - [Flux 2 image generation](/orchestration/recipes/flux2.md) - [Flux 1 image generation](/orchestration/recipes/flux1.md) - [Z-Image generation](/orchestration/recipes/zimage.md) - [Qwen image generation](/orchestration/recipes/qwen.md) - [Krea v2 image generation](/orchestration/recipes/krea.md) - [MAI Image 2.5 image generation](/orchestration/recipes/mai-image.md) - [Anima image generation](/orchestration/recipes/anima.md) - [ERNIE image generation](/orchestration/recipes/ernie.md) - [SDXL image generation](/orchestration/recipes/sdxl.md) - [SD1 image generation](/orchestration/recipes/sd1.md) - [OpenAI image generation](/orchestration/recipes/openai.md) - [Google image generation](/orchestration/recipes/google.md) - [Gemini image generation](/orchestration/recipes/gemini.md) - [Seedream image generation](/orchestration/recipes/seedream.md) - [Grok image generation](/orchestration/recipes/grok.md) - [WAN image generation](/orchestration/recipes/wan-image.md) - [Image upscaling](/orchestration/recipes/image-upscaler.md) ### 3D - [3D model generation](/orchestration/recipes/3d.md) ### Audio - [Transcription](/orchestration/recipes/transcription.md) - [Text-to-speech](/orchestration/recipes/text-to-speech.md) - [Multi-speaker dialogue](/orchestration/recipes/multi-speaker-dialogue.md) - [ACE-Step music generation](/orchestration/recipes/ace-step-audio.md) ### Language models - [Chat completion](/orchestration/recipes/chat-completion.md) ### Utilities - [Prompt enhancement](/orchestration/recipes/prompt-enhancement.md) - [Image conversion](/orchestration/recipes/convert-image.md) - [Image background removal](/orchestration/recipes/image-background-removal.md) ### Training - [SDXL & SD1 LoRA training](/orchestration/recipes/training-sdxl-sd1.md) - [Flux 1 LoRA training](/orchestration/recipes/training-flux1.md) - [Flux 2 Klein LoRA training](/orchestration/recipes/training-flux2-klein.md) - [Wan video LoRA training](/orchestration/recipes/training-wan.md) - [LTX2 video LoRA training](/orchestration/recipes/training-ltx2.md) - [Chroma / ERNIE / Qwen / Z-Image LoRA training](/orchestration/recipes/training-other-image.md) ### MCP Server - [MCP Server](/orchestration/mcp.md) - [Tools, prompts, and resources](/orchestration/mcp/tools.md) ### MCP Server - [MCP Server](/site/mcp.md) - [Tools](/site/mcp/tools.md) ### Guide - [Introduction to Civitai Apps](/apps/guide.md): What Civitai Apps are, who they're for, and how to start building one. - [Concepts](/apps/guide/concepts.md): The Civitai Apps mental model — block, install, slot, page apps vs slot apps, the iframe trust frame, and the host/block bridge. - [Quickstart](/apps/guide/quickstart.md): Scaffold a Civitai App with the civitai CLI, run it in the local harness, and write your first block. - [Running embedded & handling direct traffic](/apps/guide/embedding.md): Why a Civitai App runs embedded in the civitai.com host, why you should always share the /apps/run/ route, and how makes a direct visit to the bare subdomain degrade gracefully instead of hanging. ### Reference - [Apps Reference](/apps/reference.md): Generated-from-source reference for Civitai Apps — scopes, manifest, message bridge, React hooks, and the CLI. - [Scopes reference](/apps/reference/scopes.md): The full Civitai App scope catalog — what each scope authorizes, its OAuth bit, and how it is bound. - [Manifest reference](/apps/reference/manifest.md): Every block.manifest.json field, generated from the canonical JSON Schema. - [Message bridge reference](/apps/reference/messages.md): The full postMessage protocol between a Civitai App and its host — payloads, directions, request/reply pairing, and page-only messages. - [Hooks reference](/apps/reference/hooks.md): Every @civitai/blocks-react hook — signature and example, generated from the published package. - [CLI reference](/apps/reference/cli.md): The civitai CLI's App-authoring commands and flags, generated from the canonical Go CLI (civitai/cli). ### Guide - [Site API Guide](/site/guide.md): Getting started with the public Civitai site API. - [Getting started](/site/guide/getting-started.md): Create an API token and make your first request to the Civitai site API. - [Authentication](/site/guide/authentication.md): How to authenticate with the Civitai site API using bearer tokens. - [CLI](/site/guide/cli.md): Browse, search, and download from Civitai in the terminal with the civitai CLI — read commands plus the authenticated download command. - [Pagination](/site/guide/pagination.md): Page-based vs. cursor-based pagination on the Civitai site API. - [Errors](/site/guide/errors.md): Error response shape and HTTP status codes used by the Civitai site API. - [AIR identifiers](/site/guide/air.md): The AI Resource Identifier (AIR) URN format used across Civitai and the Orchestration API. ### OAuth - [OAuth](/site/oauth.md): Authorize a third-party app to act on a Civitai user's behalf using OAuth 2.0 with PKCE. - [OAuth Quickstart](/site/oauth/quickstart.md): End-to-end Authorization Code + PKCE walkthrough with curl. - [Registering an OAuth app](/site/oauth/register-app.md): Create an OAuth client from your Civitai account settings. - [OAuth Scopes](/site/oauth/scopes.md): The full scope bitmask used by Civitai OAuth tokens, plus the four presets exposed in the app-registration UI. - [OAuth Endpoints](/site/oauth/endpoints.md): Request/response reference for the Civitai OAuth authorize, token, revoke, and userinfo endpoints. - [Buzz spend limits](/site/oauth/buzz-limits.md): How Civitai users cap an OAuth app's buzz spending, and what your app should expect at runtime. ### Reference - [Reference](/site/reference.md): Civitai site API reference — per-resource endpoint documentation. - [Models](/site/reference/models.md): List and fetch Civitai models. - [Model versions](/site/reference/model-versions.md): Fetch a specific version of a Civitai model by ID or file hash. - [Images](/site/reference/images.md): Browse images posted to Civitai, with filters for post, model, version, and creator. - [Articles](/site/reference/articles.md): List, search, and fetch Civitai articles. - [Collections](/site/reference/collections.md): List, search, and fetch public Civitai collections. - [Creators](/site/reference/creators.md): List Civitai creators. - [Tags](/site/reference/tags.md): List model tags used on Civitai. - [Users](/site/reference/users.md): Look up users by ID or username, and inspect the authenticated caller. - [Permissions](/site/reference/permissions.md): Check whether a caller (or another user) is allowed to generate from a given resource. - [Vault](/site/reference/vault.md): Manage a member's saved model versions — list, check, add, and remove. - [Enums](/site/reference/enums.md): Valid enum values used across the Civitai site API. ### Other - [Civitai Site API](/site.md): REST API for browsing models, images, creators, and tags on civitai.com. - [Untitled](/apps.md) - [Untitled](/orchestration.md)