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

# Layer API documentation

> Build AI-powered game asset pipelines with the Layer REST API

Layer gives you programmatic access to 100+ generative AI models for creating game-ready 2D, 3D, video, and audio assets — all from a single API.

## Key concepts

**Workspaces** are the top-level container. Every API call is scoped to a workspace, which holds your team, models, assets, and Creative Unit balance.

**Models** are the AI engines that generate assets. Each model supports specific modalities (image, video, 3D, audio) and capabilities (reference images, inpainting, style transfer). The platform includes 100+ built-in models plus any custom styles your team has trained.

**Inferences** are individual generation runs. You pick a model, provide a prompt and parameters, and Layer returns the generated assets. Inferences run asynchronously — you start one and poll for results.

**Workflows** are multi-step pipelines built in the Layer app's Blueprint editor. They chain operations together (e.g., generate an image, upscale it, remove the background) and are callable as a single API endpoint.

**Files** are uploaded inputs — reference images, masks, poses, audio — that you pass to inferences as guidance.

**Creative Units (CUs)** are the billing currency. Cost varies by model and output size. Use the estimate endpoints to check cost before generating.

<CardGroup cols={3}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Generate your first asset end-to-end.
  </Card>

  <Card title="MCP server" icon="plug" href="/mcp-server">
    Use Layer directly from Claude conversations.
  </Card>

  <Card title="API reference" icon="terminal" href="/api-reference/introduction">
    Full endpoint documentation with interactive examples.
  </Card>
</CardGroup>
