Estimate a master request
Needs a key withsprites:read
What a master request would set aside now, in credits: every candidate drawn three times (the first try and two silent retries), each with background removal. Nothing is started or charged.
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 <= 128application/json- body
aspectRatio?stringThe shape it's drawn at, 1:1 by default. The figure is then fitted to the game's square canvas, so this only changes how the model frames it.
"1:1""3:4""4:3""9:16""16:9"greenScreen?booleantrue: drawn on a flat key colour (magenta, or green for a pink or purple character) and keyed out for free. false: drawn with the model's own transparent background where it has one; a model without one stays on the key colour. Left out: what the model does best.
quality?stringRendering quality, for a model whose qualities list it (GPT Image); left out: its defaultQuality. Ignored by a model with none.
"auto""low""medium""high""xhigh""max"resolution?string1K by default, or the model's lowest when it has no 1K.
"1K""2K""4K"seed?integerA fixed seed, for a model with seed (Nano Banana): the first candidate draws with it, each next one with one more, so the same prompt and seed draw the same images again. Left out: a random one. Ignored by a model that takes none.
0 <= value <= 2147483647count?integerCandidates to draw, 1 to 4; four by default.
1 <= value <= 4model?stringA base image model (google/nano-banana-pro, google/nano-banana-2.1, bytedance/seedream-5-lite, openai/gpt-image-2, openai/gpt-image-2.5-sunburst, openai/gpt-image-2.5-flare) or its capability model id. Left out: the game's.
1 <= length <= 200What the request 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/masters/estimate' \ -H 'Content-Type: application/json' \ -d '{}'{ "credits": 12, "model": "google/nano-banana-pro", "priceVersion": 3}