Skip to content
Documentation menu
Docsproject-layout

Project layout

Atelier keeps everything in one folder of your game repository, art/. It is all plain files — PNGs, JSON and JSONL — so it diffs, reviews and reverts like the rest of your code.

<game>/art/
  atelier.json                     export settings, budgets, defaults, web app port
  style/style-guide.json           render style, prompt prefix, palette, resolution, view
  style/refs/                      reference images sent with generations

  assets/<id>/asset.json           canvas, pivot, baseline, directions, mirror map, animations
  assets/<id>/sources/             untouched provider downloads, requests and responses (gitignored)
  assets/<id>/raw/<anim>/<dir>/    frames as generated or imported, 0001.png upwards
  assets/<id>/frames/<anim>/<dir>/ normalised frames: fixed canvas, pivot, baseline, effects
  assets/<id>/base/                normalised frames before effects, while an asset has any
  assets/<id>/candidates/          variations waiting to be picked
  assets/<id>/layers/<genId>/      layers from decompose_layers, aligned with the source
  assets/<id>/masks/               masks painted in the web app (white = may change)
  assets/<id>/models/              3D models and rigs for the asset

  skeletons/<id>.json              bones and motions shared by this game's characters
  motions/<id>.json                motions copied in from the shared library
  tasks/<tsk_id>/task.json         work written in the web app for Claude to do later
  templates/<id>.json              task instructions kept to reuse
  exports/<id>/                    sheet PNG, content list fragment, preview page
  exports/content.json             every asset's items, from export_project

  .atelier/provenance.jsonl        every generation and operation, append-only
  .atelier/atelier.db              jobs, cost ledger, human requests, tasks (gitignored)

art/.gitignore is written for you. It excludes sources/ (large, and recoverable) and the database (machine-local), and keeps everything else. Check art/ in.

art/atelier.json#

Project settings. Claude edits it through project_config_update; it's readable enough to edit by hand.

{
  "defaults": { "mirror": "flip" },
  "budgets": {
    "perSessionUsd": 3,
    "perSessionUnits": { "ludo:credits": 100, "pixellab:generations": 30 },
    "usdPerUnit": { "ludo:credits": 0.02 },
    "perDayUsd": 5
  },
  "export": {
    "imageUrlPrefix": "./art/exports/",
    "processors": { "textureAtlas": "textureAtlas", "sprite": "sprite", "tileMap": "tileMap" }
  },
  "assistant": { "model": "claude-opus-5-5", "effort": "medium", "perDayUsd": 5 },
  "work": { "budgetUsd": 2 },
  "tasks": { "defaultMode": "auto" },
  "web": { "enabled": true }
}
  • defaults.mirror — flip (east-facing directions are flipped copies) or generate (draw them all). Per-asset settings win over it.
  • budgets — caps per session, and optionally per calendar day. See Providers and costs.
  • export.processors — the names your game registers its content processors under. Change them here rather than editing exported JSON.
  • export.imageUrlPrefix — where the game serves the sheets from.
  • assistant — the model, effort and daily cap for the web app's Ask Claude panel. Its own API spend is capped here; the provider calls it makes count against budgets like any other.
  • work — the most an unattended queue run may spend on providers.
  • tasks.defaultMode — how far Claude goes on its own for a task that doesn't say: auto, candidates or plan.
  • web.enabled / web.port — turn the companion app off, or pin its port. Left alone, the port is a stable one per game in 4870–4969, derived from its path, so each game keeps its own.

Which programs Atelier may run — Blender, ffmpeg, Claude Code — and when an unattended run happens are deliberately not settable here. A game's repository may be someone else's, so those come only from your own environment. See Installation.

art/style/style-guide.json#

The game's look. Everything generated is built on it.

  • render — pixel, painted or prerendered-3d. This is what routes a generation to PixelLab, Ludo or OpenAI.
  • promptPrefix — the sentence or two prepended to every prompt: era, palette mood, line weight, lighting. Keep subjects out of it.
  • palette — the colours frames are quantised to, if you want that. palette_extract can read one out of an image you like.
  • resolution / workingScale — the size art is drawn at before it is shrunk to the canvas. Painted styles need headroom here.
  • references — images in art/style/ sent with every generation to the providers that accept a style image. The single most effective consistency setting.
  • providerStyle.* — per-provider settings: PixelLab's style and proportions, Ludo's styles and proxy defaults, OpenAI's model, Replicate's model ids, fal's endpoints.
  • view — the game's camera as numbers: the pitch it looks down at, and whether it is orthographic or perspective. 3D models are fitted and rendered at it.

Ask Claude to "write the style guide from this screenshot" and then read what it wrote; that's usually quicker than filling it in from nothing.

Provenance#

.atelier/provenance.jsonl gets a line for every generation and every operation: which tool, which provider, which parameters, what it cost, which files it wrote. It is append-only and it is in git, so "where did this frame come from" has an answer months later.

The matching raw payloads live in assets/<id>/sources/<genId>/. They are gitignored because they are large, but keep them while an asset is in flight: if a provider changes a response shape, that folder is what makes the fix a five-minute job.

Found a mistake? Edit this page on GitHub.