Update a game
Needs a key withsprites:write
Changes a game's style bible: the fields you send replace theirs (canvas, rules, sizeClasses and cleanup field by field); the rest stay. A new style without a recipe takes that style's recipe.
Requires scope sprites:write.
apiKeyx-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
gameId*string1 <= length <= 128application/json- body
camera?stringWhich directions each action is drawn in: side (side-scroller), four or eight (top-down) or iso (isometric).
"side""four""eight""iso"canvas?The fields you send replace theirs; the rest stay.
cleanup?imageModel?|nullname?string1 <= length <= 120recipe?array<>Replaces the recipe. Left out while style changes: the new style's traits.
items <= 24rules?seed?|A fixed seed for every take; null: a new one each time.
sizeClasses?style?stringA base style (pixel, painted, cel, 3d, vector) or a look id.
videoModel?|nullThe game.
application/json- response
A game: its style bible and defaults.
camera*stringWhich directions each action is drawn in: side (side-scroller), four or eight (top-down) or iso (isometric).
"side""four""eight""iso"canvas*How the game's sprites are drawn. Pixel styles use sizePx, the rest resolutionPx.
cleanup*The cleanup steps a take goes through.
createdAt*stringdate-timeid*string1 <= length <= 128imageModel*|The image model takes use; null: the app's default.
name*string1 <= length <= 120recipe*array<>The style's traits, in order: what prompts say about the look. Never names a game or studio.
items <= 24rules*The checks every frame of the game is held to.
seed*|A fixed seed for every take; null: a new one each time.
sizeClasses*How tall each size class stands, in px on a 32 px canvas.
slug*stringUnique in the workspace; made from the name.
style*stringA base style (pixel, painted, cel, 3d, vector) or a look id.
updatedAt*stringdate-timevideoModel*|The video model clip takes use; null: the app's default.
curl -X PATCH 'https://api.remagica.com/api/v1/sprites/games/3c6f2a51-9d0e-4b7a-8f12-6e4d0c9b7a21' \ -H 'Content-Type: application/json' \ -d '{}'{ "camera": "side", "canvas": { "light": "tl", "line": "none", "outline": "none", "resolutionPx": 256, "shading": "flat", "sizePx": 16 }, "cleanup": { "align": true, "bg": true, "color": true, "quant": true, "snap": true, "upscale": true }, "createdAt": "2026-10-21T12:00:00.000Z", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "imageModel": "string", "name": "Autumn campaign", "recipe": [ "string" ], "rules": { "maxColours": 1, "oneOutline": true, "outlineHex": "#140f17" }, "seed": 1, "sizeClasses": { "large": 1, "medium": 1, "small": 1 }, "slug": "moonfall", "style": "pixel", "updatedAt": "2026-10-21T12:00:00.000Z", "videoModel": "string"}