API referenceSprites
List master candidates
GET
Needs a key withsprites:read
A character's master candidates, newest request first, each with its files (short-lived download URLs), what it measures, or why it failed.
Requires scope sprites:read.
apiKeyheader
x-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.
characterId*stringLength
1 <= length <= 128The candidates.
application/json- response
candidates*array<>curl -X GET 'https://api.remagica.com/api/v1/sprites/characters/8a1d5e3f-2b4c-4d6e-9f07-1a2b3c4d5e6f/masters/candidates'Example Response
{ "candidates": [ { "canvasPx": 1, "createdAt": "string", "files": { "canvas": { "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png" }, "large": { "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png" } }, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "index": 1, "issues": [ "string" ], "largePx": 1, "measurements": { "feetRow": 1, "heightPx": 1, "palette": [ "string" ], "widthPx": 1 }, "model": "google/nano-banana-pro", "pickedVersionId": "5372dc4a-5b3d-4f60-8e2a-1d9c6b4f7e05", "prompt": "A lighthouse on a cliff at dusk, cinematic", "requestId": "2163759e-5b3d-4f60-8e2a-1d9c6b4f7e05", "status": "failed" } ]}