API referenceSprites
Estimate an outfit
POST
Needs a key withsprites:read
What drawing an outfit would set aside now, in credits: one edit of the master and a background removal. Nothing is started or charged.
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 <= 128application/json- body
model?stringA base image model (google/nano-banana-pro, openai/gpt-image-2, openai/gpt-image-2.5-sunburst, openai/gpt-image-2.5-flare) or its sprite_view/… capability model id. Left out: the game's.
Length
1 <= length <= 200What drawing the outfit would set aside.
application/json- response
credits*integerWhat the request sets aside, in credits: its worst case.
model*stringpriceVersion*|The price revision it's priced at.
curl -X POST 'https://api.remagica.com/api/v1/sprites/characters/8a1d5e3f-2b4c-4d6e-9f07-1a2b3c4d5e6f/outfits/estimate' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "credits": 12, "model": "google/nano-banana-pro", "priceVersion": 3}