Get a character's Sprite DNA
Needs a key withsprites:read
A character's Sprite DNA, as its export ships it: the JSON and a Markdown brief any LLM or image model can follow. Its animations' timing and gameplay come from their approved takes.
Requires scope sprites:read.
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.
characterId*string1 <= length <= 128The DNA.
application/json- response
Everything that makes a character itself, as exports ship it (dna.json and DNA.md).
dna*The DNA as JSON (schema remagica.sprite-dna/1): identity, style traits, palette, proportions, animations with their timing, keyframes, gameplay and status per direction, and the master's file names.
markdown*stringThe same DNA as a Markdown brief, ending with a prompt any image model can follow.
curl -X GET 'https://api.remagica.com/api/v1/sprites/characters/8a1d5e3f-2b4c-4d6e-9f07-1a2b3c4d5e6f/dna'{ "dna": {}, "markdown": "string"}