Update an outfit
Needs a key withsprites:write
Changes an outfit's name, prompt or palette overrides; the rest stay. A colour skin's new overrides render it again. The base outfit only takes a new name.
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.
outfitId*string1 <= length <= 128application/json- body
name?string1 <= length <= 120paletteOverrides?array<>items <= 64prompt?stringlength <= 4000The outfit.
application/json- response
An outfit: an edit of the master that keeps the pose (drawn from its prompt), or a colour skin (palette overrides, no prompt). The base outfit is the master itself.
characterId*string1 <= length <= 128createdAt*stringdate-timefit*|How it sits against the base master (the fit check); null until it's made.
id*string1 <= length <= 128isBase*booleanmaster*|The outfit's master; null until it's made.
name*string1 <= length <= 120paletteOverrides*array<>A colour skin's colours: each role is a colour of the master (#rrggbb), its hex the colour the skin paints instead.
items <= 64prompt*stringlength <= 4000status*string"queued""generating""ready""failed"updatedAt*stringdate-timecurl -X PATCH 'https://api.remagica.com/api/v1/sprites/outfits/f54469b9-5b3d-4f60-8e2a-1d9c6b4f7e05' \ -H 'Content-Type: application/json' \ -d '{}'{ "characterId": "eb1fe45b-5b3d-4f60-8e2a-1d9c6b4f7e05", "createdAt": "2026-10-21T12:00:00.000Z", "fit": { "baselineDelta": 1, "boxDelta": 1, "height": 1280, "heightDelta": 1, "ok": true, "width": 1024, "widthDelta": 1 }, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "isBase": true, "master": { "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png" }, "name": "Autumn campaign", "paletteOverrides": [ { "hex": "#140f17", "role": "skin" } ], "prompt": "A lighthouse on a cliff at dusk, cinematic", "status": "queued", "updatedAt": "2026-10-21T12:00:00.000Z"}