Sprixen · Schema

CreateAnimationBatchDto

Game Asset GenerationAI ArtAudio GenerationDeveloper Tools

Properties

Name Type Description
type string Animation type
frameCount number Number of frames (defaults per type: idle=4, walk=6, run=6, attack=4)
smoothFrames number Standard quality only. Draws in-between frames on top of the 8 generated key frames: 16 (+2 credits) or 24 (+3 credits) frames for the same motion, played at 2x or 3x the fps. Optical flow fills the p
quality string Generation quality mode. standard creates a compact sprite sheet with Gemini image generation. premium uses image-to-video (Gemini Omni Flash) and converts all video frames into a transparent sprite a
fps number Frames per second (default 12)
customDescription string Optional motion guidance for the animation. Max 500 characters.
archetype string Character body archetype. If provided, the backend uses it directly (no inference). If omitted, the backend uses sprite metadata if cached, otherwise runs a vision-based classifier. Values: humanoid_b
weaponHand string Which hand holds the weapon. If provided, the prompt enforces weapon-hand consistency across frames. Omit if the character has no weapon.
weaponType string Optional weapon type label (sword/axe/bow/staff/etc). Included in the prompt for better consistency.
hasShield boolean True if the character carries a shield. The prompt enforces shield position consistency.
locomotionType string DEPRECATED: use `archetype` instead. Legacy field — only maps to humanoid_biped or quadruped.
direction string Facing direction of the character. Cardinal: "right", "left", "up", "down". Diagonal: "up-right", "up-left", "down-right", "down-left" (isometric 45-degree angles).
normalizeSize boolean Scales the animation so the character matches the base sprite height (measured on the first frame, capped so every frame fits the canvas). On by default: without it the generated frames arrive about 3
resolution string Override resolution for this animation (e.g. "28x32"). Each frame in the spritesheet will be sized to this. If omitted, falls back to the project resolution. Use this when the base sprite was generate
idlePreset string Pre-baked idle style. Only honored when type="idle". The backend translates the chosen preset into a `customDescription` internally — pick a preset for one-click flavor, or pass `customDescription` fo
outputCount number Number of independent animation takes to generate for the same sprite (1-3). Each standard output costs 4 credits and is saved as a separate Animation record. Premium animation is limited to 1 output.
View JSON Schema on GitHub

JSON Schema

sprixen-com-create-animation-batch-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sprixen-com/json-schema/sprixen-com-create-animation-batch-dto-schema.json",
  "title": "CreateAnimationBatchDto",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sprixen-com-openapi.json#/components/schemas/CreateAnimationBatchDto",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "idle",
        "walk",
        "run",
        "attack",
        "jump",
        "death",
        "hurt",
        "custom"
      ],
      "description": "Animation type"
    },
    "frameCount": {
      "type": "number",
      "description": "Number of frames (defaults per type: idle=4, walk=6, run=6, attack=4)"
    },
    "smoothFrames": {
      "type": "number",
      "enum": [
        16,
        24
      ],
      "description": "Standard quality only. Draws in-between frames on top of the 8 generated key frames: 16 (+2 credits) or 24 (+3 credits) frames for the same motion, played at 2x or 3x the fps. Optical flow fills the pairs that change little; pairs where the pose changes a lot are drawn by the image model from both neighbours. Not available with premium, which already renders up to 96 frames."
    },
    "quality": {
      "type": "string",
      "enum": [
        "standard",
        "premium"
      ],
      "description": "Generation quality mode. standard creates a compact sprite sheet with Gemini image generation. premium uses image-to-video (Gemini Omni Flash) and converts all video frames into a transparent sprite animation."
    },
    "fps": {
      "type": "number",
      "description": "Frames per second (default 12)"
    },
    "customDescription": {
      "type": "string",
      "description": "Optional motion guidance for the animation. Max 500 characters."
    },
    "archetype": {
      "type": "string",
      "enum": [
        "humanoid_biped",
        "quadruped",
        "winged",
        "amorphous",
        "serpentine"
      ],
      "description": "Character body archetype. If provided, the backend uses it directly (no inference). If omitted, the backend uses sprite metadata if cached, otherwise runs a vision-based classifier. Values: humanoid_biped (two-legged upright), quadruped (four-legged), winged (flying), amorphous (slime/blob), serpentine (snake-like)."
    },
    "weaponHand": {
      "type": "string",
      "enum": [
        "left",
        "right",
        "both"
      ],
      "description": "Which hand holds the weapon. If provided, the prompt enforces weapon-hand consistency across frames. Omit if the character has no weapon."
    },
    "weaponType": {
      "type": "string",
      "description": "Optional weapon type label (sword/axe/bow/staff/etc). Included in the prompt for better consistency."
    },
    "hasShield": {
      "type": "boolean",
      "description": "True if the character carries a shield. The prompt enforces shield position consistency."
    },
    "locomotionType": {
      "type": "string",
      "enum": [
        "auto",
        "biped",
        "quadruped"
      ],
      "deprecated": true,
      "description": "DEPRECATED: use `archetype` instead. Legacy field — only maps to humanoid_biped or quadruped."
    },
    "direction": {
      "type": "string",
      "enum": [
        "right",
        "left",
        "up",
        "down",
        "up-right",
        "up-left",
        "down-right",
        "down-left"
      ],
      "description": "Facing direction of the character. Cardinal: \"right\", \"left\", \"up\", \"down\". Diagonal: \"up-right\", \"up-left\", \"down-right\", \"down-left\" (isometric 45-degree angles)."
    },
    "normalizeSize": {
      "type": "boolean",
      "default": true,
      "description": "Scales the animation so the character matches the base sprite height (measured on the first frame, capped so every frame fits the canvas). On by default: without it the generated frames arrive about 30% larger than the sprite. Pass false to keep the raw framing."
    },
    "resolution": {
      "type": "string",
      "description": "Override resolution for this animation (e.g. \"28x32\"). Each frame in the spritesheet will be sized to this. If omitted, falls back to the project resolution. Use this when the base sprite was generated with a resolution override (CreateGenerationDto.resolution) and the animation needs to match that style/scale instead of the broader project default. Format: \"WIDTHxHEIGHT\" with each side between 8 and 4096, e.g. \"256x256\" or \"28x32\"."
    },
    "idlePreset": {
      "type": "string",
      "enum": [
        "breath",
        "lively",
        "looking",
        "item"
      ],
      "description": "Pre-baked idle style. Only honored when type=\"idle\". The backend translates the chosen preset into a `customDescription` internally — pick a preset for one-click flavor, or pass `customDescription` for full control. If both are set, customDescription wins."
    },
    "outputCount": {
      "type": "number",
      "description": "Number of independent animation takes to generate for the same sprite (1-3). Each standard output costs 4 credits and is saved as a separate Animation record. Premium animation is limited to 1 output.",
      "minimum": 1,
      "maximum": 3,
      "default": 1
    }
  },
  "required": [
    "type"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sprixen-com-create-animation-batch-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.