Restyles

Restyle a sprite

Change a sprite you own and keep the character: a new look, a new pose, or a swapped item. Asynchronous: returns an id, then poll GET /api/restyles/{id}. 2 tokens on the normal tier, 9 on pro.

post/api/restyles

Request

  • Base URL: https://www.sprite-ai.art
  • URL: https://www.sprite-ai.art/api/restyles
  • Auth: HTTP bearer

Request body

source_generation_idstring uuid required
preset'fire' | 'ice' | 'gold' | 'zombie' | 'holy' | 'cursed' | 'poison' | 'royal' | 'shadow' | 'steampunk'
custom_promptstring
mode'restyle' | 'pose' | 'item' | 'custom'
tier'normal' | 'pro'
palette_extrasinteger
framing_margininteger
framing_anchor'top-left' | 'top' | 'top-right' | 'left' | 'center' | 'right' | 'bottom-left' | 'bottom' | 'bottom-right'
publicboolean

Response

The job was accepted.

idstring uuid required
status'processing' required

Changes

No recorded changes to this operation across all 1 revision of this API.