Animations

Animate a sprite

Start an animation job (walk, run, idle, attack and more) from a still sprite you own. Asynchronous: returns an id, then poll GET /api/animations/{id}. The token cost scales with frame_count.

post/api/animations

Request

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

Request body

source_generation_idstring uuid required
preset'Idle' | 'Walk' | 'Jump' | 'Run' | 'Attack' | 'Hurt' | 'Death' | 'Custom' required
frame_countinteger
custom_promptstring
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.