Sprites

Import a sprite

Add a sprite you already have and get back an id you can animate or use as a style reference. Free: no tokens, no AI. A single PNG, JPEG or WebP sprite, 16 to 256 px per side, not a sprite sheet.

post/api/sprites/import

Request

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

Request body

imagestring required
titlestring
asset_type'character' | 'creature' | 'prop' | 'weapon' | 'vehicle' | 'tile' | 'background' | 'ui' | 'effect' | 'item'
palette_idstring uuid

Response

The imported sprite id.

object required

Changes

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