Jobs, costs and fixing things
Generation is paid and sometimes slow. This page explains how Atelier keeps both under control, and what to do when a call fails.
What things cost#
Prices change, so check each provider's site. As a rough guide:
| Provider | Unit | Typical cost |
|---|---|---|
| PixelLab | Generations from your subscription, or credits | Characters, animations (per direction) and tilesets each use generations; pro character mode uses 10–25 per character. The ledger records what each call used. |
| Ludo | Credits from a Pro or Studio plan | An image, a rotation or a background removal is about 0.5; an animation about 4.5 per direction; a motion preset about 2 a second, so 6 for a walk; a 3D model 4 (prop) or 15 (hero), then 0.5 for each direction rendered from it. Each response reports what it charged. |
| OpenAI | USD, from token usage | About $0.013 per image at quality: medium, more at quality: high |
| Replicate | USD per run | A layer split is about $0.03 + $0.01 per layer; a background removal about $0.02; depth for a normal map about $0.001 a frame |
What that comes to for some whole pieces of work, at those prices:
| Work | Roughly |
|---|---|
| A prop, picked from 4 variations | $0.05 (OpenAI) or 2 Ludo credits |
| A pixel character standing in 8 directions | 1 PixelLab generation (10–25 in pro mode) |
| A walk from a shared skeleton, 4 directions (3 drawn) | 9 PixelLab generations, plus 0.3 to find its joints once |
| A 16-tile terrain set | 1 PixelLab generation |
| A painted character standing in 8 directions (5 drawn) | 2.5 Ludo credits |
| A painted walk in 8 directions (5 drawn) | about 22 Ludo credits |
| A mockup split into 8 layers, and its props cut out | $0.11 (Replicate); the cutting is free |
| A vehicle in 32 directions, from a 3D model | $0.30 (fal) for the model; the directions are free |
| Every library motion on a character that has a model | 1 Ludo credit to rig it; the motions are free |
| A sprite sheet you already have, through to export | Free |
Retries and second thoughts cost extra, and most art takes a few.
Free: normalising, QA, effects, palette work, pixelate, asset_revert, collision shapes, bevel normal maps, cut-outs, contact sheets, GIFs, export, mirrored directions and everything in the web app.
Watch out: style references make PixelLab draw stills with its Pro image model, and OpenAI calls with input images cost more input tokens. Check usage_report after the first few calls of a new setup.
Saving money:
- Keep mirroring on for symmetric designs.
- Use
generate_variationswith a smallnon cheap stills before committing to animations. - Animate only the directions the game uses.
- Use
palette_swapfor colour variants instead of generating them. - Reuse one mockup for many props.
Budgets#
Set Atelier's budget to $<3> per session and <100> Ludo credits.
A new project starts with caps: $5, 100 Ludo credits and 100 PixelLab generations a session, and twice that a day. Budgets are in art/atelier.json and apply per session, which is one run of the MCP server, usually one Claude Code session:
perSessionUsdcaps the estimated dollar spend.perSessionUnitscaps raw units:ludo:credits,pixellab:generations.usdPerUnitturns units into dollars for the USD cap and the dashboard. Work it out as plan price ÷ credits.perDayUsdandperDayUnitscap a calendar day. They're added up from the ledger, so unlike the per-session caps they hold across restarts. Paid recipes run from the web app only whileperDayUsdis set (page 15).
The web app's Settings page sets perDayUsd and perSessionUsd too, and shows the spend, keys, balances and the cost ledger. Home shows today's spend against the daily cap.
A call that would go over a cap is refused before it's sent. Raise the cap, or restart the session (the per-day caps wait for tomorrow).
A queue run has its own budget, and each task can have a cap: see the task queue.
What has Atelier spent? / What's left at each provider?
usage_reportshows spend this session and overall, the caps and the latest ledger entries.usage_balance(oratelier balancein a terminal) shows each provider's remaining allowance as bars, at no cost.- The web app's dashboard shows both.
Slow jobs#
Generation tools wait up to timeoutSec, then return. A job that hasn't finished isn't lost. It stays in the database (art/.atelier/atelier.db), and Claude collects it later:
Collect
<hero>'s pending jobs. / Wait for job<gen_…>.
job_wait/asset_collectwait for and import the results.job_statuslists what's still pending.job_cancelstops a job, and asks the provider to stop too.
Pending jobs survive restarts, and project_status lists them. A PixelLab animation takes about 2 minutes per direction; Claude sets timeouts to match. Replicate deletes outputs an hour after a run, so collect Replicate jobs promptly.
Human requests (hum_…) work the same way: Claude gives you the link, opens it, then waits with job_wait. If the wait times out, the request stays in the web app's Work section, and on Home.
When something goes wrong#
Every paid call keeps its evidence. The exact request, response and job payloads are saved under art/assets/<id>/sources/<genId>/. So if a provider changes its response format, or returns something Atelier doesn't expect, what you paid for isn't lost. Open an issue with the response file. It holds your prompt and links to your images, so look through it before you share it. If you work on Atelier yourself, those files are all Claude needs to fix the parsing.
Paid work is never resent blindly. If a connection drops while a paid request is being sent, Atelier doesn't retry it, because it may already have arrived. It says so ("may or may not have reached…"). Check the provider's site or usage_balance before asking again.
Common messages:
| Message | Meaning |
|---|---|
| "Budget reached" | Raise budgets or restart. For a per-day cap, raise it or wait until tomorrow; for a queue run, start another run with a bigger budget |
| "…still pending" / "Still running" | Normal. job_wait later. |
HTTP 401 / 402 / 403 |
Wrong key / out of credits / plan has no API access (Ludo) or the organisation isn't verified (OpenAI) |
HTTP 429 |
Rate-limited. Atelier backs off and retries until the timeout. |
| "has no PixelLab character" | Animating with PixelLab needs generate_character first. Or use Ludo. |
| "may not be symmetric" | Consider asset_set_mirror → generate |
| "changed since export" | Export again |
The full troubleshooting table is in SETUP.md.
Undoing things#
Go back to an earlier generation. Every generation's images stay in sources/, so nothing you paid for is lost when a new one replaces it.
Show me
<hero>'s generations. / Put<hero>'s walk back to<gen_…>.
asset_revert without a genId lists what can be restored. With one, it puts those images back in raw/, for free, with no call to a provider, and normalises them again. The ids are also on the web app's History page.
- It restores what that generation made, not the whole asset: a still, a set of rotations, one animation, one edited frame, a tileset, or a 3D model (with the rig, front and fit it had) or a rig. A new model or rig keeps the one it replaced in the asset's
modelHistory, so either can come back. An asset drawn on Ludo or OpenAI has separate generations for its first still and its rotations. - Candidates need a number: say which one of the set you want (
index). - Your current recipes still apply. Effects, pixelate and the palette go on what comes back, and the frames are fitted to the asset's canvas as it is now.
- Local work on those frames goes.
import_frames,clean_straysandanimate_retimearen't generations, sosources/doesn't hold their results. The result says when it undid one, and you can run it again. - Reverting a PixelLab character also makes it the one later animations are drawn from.
- Rest poses may need checking. If skeleton joints sat on the replaced frames, the result says so.
- Layers, depth, joints and 3D models aren't frames, so they aren't listed. They're kept anyway.
Everything else:
raw/frames are only replaced by a new generation, import, edit,candidate_selectorasset_revert. Variations go tocandidates/and never overwrite anything.- Effects, variants,
pixelateand normal maps are recipes. Remove them withremove: true. - Commit
art/often. Git is the undo for imported frames and records, andsources/is gitignored, so it's only on your machine. asset_historyshows every operation, with the prompts used.
Next: Skeletons.
Found a mistake? Edit this page on GitHub.