Masko AI · Schema

GenerateAllBody

Animated CharactersMobile App SDKWeb App IntegrationREST APICross‑Platform PlayerSticker Export

Properties

Name Type Description
animation_model string Animation model, as in Studio: standard (2 credits/sec, 2–15 s). Default standard.
duration integer Whole seconds within the model's range, default 5. An additional image costs 1 credit only when a source image must be generated.
edge_settings string Each edge keeps its saved quality (generationModel) and length (duration), as Studio's Generate all does; animation_model and duration apply to edges without valid ones. Part of the plan: send it to t
max_credits number Hard server-side credit ceiling. Execution fails before billing when the current work exceeds this limit.
skip_completed boolean Deprecated compatibility flag. Canvas generate-all only dispatches missing work and always skips edges that already have assigned generated assets.
include_stickers boolean When true, generate sticker_image derivatives for generated image nodes.
dry_run boolean When true, only returns the planned work, prompts, skipped items, and estimated credit cost. Does not deduct credits, create jobs/assets/items, mutate the canvas graph, or start workflows.
targets string Which work to dispatch. "images" only generates skeleton node images. "stickers" backfills sticker_image derivatives for completed node images. "animations" only dispatches edge videos. "all" does bot
node_ids array Optional exact node selection. When present, only these nodes are considered for image or sticker work. Omit to consider every node.
edge_ids array Optional exact edge selection. When present, only these edges are considered for animation work. Omit to consider every edge.
expected_graph_hash string Optional graph revision returned by the dry-run plan. Execution returns 409 if the canvas changed after approval.
approved_plan_id string Optional generation plan identity returned by dry_run. Execution returns 409 unless the current graph, scope, prompts, duration, and generation options still match that approved plan.
View JSON Schema on GitHub

JSON Schema

masko-ai-generate-all-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/masko-ai/json-schema/masko-ai-generate-all-body-schema.json",
  "title": "GenerateAllBody",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/masko-ai-openapi.json#/components/schemas/GenerateAllBody",
  "type": "object",
  "properties": {
    "animation_model": {
      "type": "string",
      "enum": [
        "standard"
      ],
      "description": "Animation model, as in Studio: standard (2 credits/sec, 2–15 s). Default standard."
    },
    "duration": {
      "type": "integer",
      "minimum": 2,
      "maximum": 15,
      "description": "Whole seconds within the model's range, default 5. An additional image costs 1 credit only when a source image must be generated."
    },
    "edge_settings": {
      "type": "string",
      "enum": [
        "own"
      ],
      "description": "Each edge keeps its saved quality (generationModel) and length (duration), as Studio's Generate all does; animation_model and duration apply to edges without valid ones. Part of the plan: send it to the estimate and to generate-all."
    },
    "max_credits": {
      "type": "number",
      "minimum": 0,
      "description": "Hard server-side credit ceiling. Execution fails before billing when the current work exceeds this limit."
    },
    "skip_completed": {
      "type": "boolean",
      "default": true,
      "description": "Deprecated compatibility flag. Canvas generate-all only dispatches missing work and always skips edges that already have assigned generated assets."
    },
    "include_stickers": {
      "type": "boolean",
      "default": false,
      "description": "When true, generate sticker_image derivatives for generated image nodes."
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "When true, only returns the planned work, prompts, skipped items, and estimated credit cost. Does not deduct credits, create jobs/assets/items, mutate the canvas graph, or start workflows."
    },
    "targets": {
      "type": "string",
      "enum": [
        "all",
        "images",
        "stickers",
        "animations"
      ],
      "default": "all",
      "description": "Which work to dispatch. \"images\" only generates skeleton node images. \"stickers\" backfills sticker_image derivatives for completed node images. \"animations\" only dispatches edge videos. \"all\" does both images and animations."
    },
    "node_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Optional exact node selection. When present, only these nodes are considered for image or sticker work. Omit to consider every node."
    },
    "edge_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1,
      "maxItems": 200,
      "description": "Optional exact edge selection. When present, only these edges are considered for animation work. Omit to consider every edge."
    },
    "expected_graph_hash": {
      "type": "string",
      "minLength": 1,
      "description": "Optional graph revision returned by the dry-run plan. Execution returns 409 if the canvas changed after approval."
    },
    "approved_plan_id": {
      "type": "string",
      "minLength": 1,
      "description": "Optional generation plan identity returned by dry_run. Execution returns 409 unless the current graph, scope, prompts, duration, and generation options still match that approved plan."
    }
  }
}

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/masko-ai-generate-all-body"
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.