Masko AI · Schema

CreateCollectionBody

Animated CharactersMobile App SDKWeb App IntegrationREST APICross‑Platform PlayerSticker Export

Properties

Name Type Description
project_id string Project to create the collection in. List projects via GET /v1/projects.
name string Display name. Defaults to a generated name if omitted.
prompt string Optional - do not set this if your references already show the mascot clearly. The reference images ARE the character. Only use prompt when you cannot provide references (pure text-to-mascot). When re
context string Extra hints the image alone cannot convey: personality and behavior ("curious, cautious, never aggressive"), consistency rules ("always has a small white star on left ear"), forbidden variants ("never
type string Collection type. Defaults to "mascot".
style string Style ID or name. List styles via GET /v1/styles.
design_touches array Optional design ideas for text-to-mascot creation, the same touches as the Studio creator. Requires prompt and no references. Each touch is added to the generated reference and applied only where it f
reference_image_urls array Recommended entry point. Public image URLs of the mascot - at least one, up to 6. Each public HTTP(S) URL is downloaded with a 10 MB limit and a 15-second deadline; private addresses and unsafe redire
reference_asset_ids array Existing asset IDs to use as references. A fresh upload from POST /v1/upload joins this mascot. An image that already belongs to another mascot stays there, and this mascot gets its own reference copy
settings object Collection settings. cdn_enabled: whether new assets auto-publish to the CDN. animation_sizes: up to 2 smaller pixel widths to auto-generate variants for, e.g. [480, 240]. Every animation already gets
View JSON Schema on GitHub

JSON Schema

masko-ai-create-collection-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/masko-ai/json-schema/masko-ai-create-collection-body-schema.json",
  "title": "CreateCollectionBody",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/masko-ai-openapi.json#/components/schemas/CreateCollectionBody",
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid",
      "description": "Project to create the collection in. List projects via GET /v1/projects."
    },
    "name": {
      "type": "string",
      "description": "Display name. Defaults to a generated name if omitted."
    },
    "prompt": {
      "type": "string",
      "description": "Optional - do not set this if your references already show the mascot clearly. The reference images ARE the character. Only use prompt when you cannot provide references (pure text-to-mascot). When references are present, a prompt is auto-extracted from them. Without references, prompt generates one reference for 1 credit; a failed creation is refunded."
    },
    "context": {
      "type": "string",
      "description": "Extra hints the image alone cannot convey: personality and behavior (\"curious, cautious, never aggressive\"), consistency rules (\"always has a small white star on left ear\"), forbidden variants (\"never show without the hat\"), brand tone. Not a character description - the references cover that."
    },
    "type": {
      "type": "string",
      "default": "mascot",
      "description": "Collection type. Defaults to \"mascot\"."
    },
    "style": {
      "type": "string",
      "description": "Style ID or name. List styles via GET /v1/styles."
    },
    "design_touches": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "proportions",
          "simple",
          "asymmetry",
          "grounded",
          "few-colors",
          "no-mouth",
          "looks-at-you",
          "blush",
          "eyes-big",
          "eyes-dots",
          "signature",
          "weird",
          "twist",
          "grown-up-flaw",
          "magic-part",
          "mood-cozy",
          "mood-mischievous",
          "mood-melancholy",
          "mood-bold",
          "mood-mysterious",
          "mood-chaotic",
          "mood-serene"
        ]
      },
      "maxItems": 22,
      "description": "Optional design ideas for text-to-mascot creation, the same touches as the Studio creator. Requires prompt and no references. Each touch is added to the generated reference and applied only where it fits the character; the prompt wins where they differ. Pick at most one eyes-* and one mood-* value. Shape: proportions, simple, asymmetry, grounded, few-colors. Face: no-mouth, looks-at-you, blush, eyes-big, eyes-dots. Character: signature, weird, twist, grown-up-flaw, magic-part, mood-cozy, mood-mischievous, mood-melancholy, mood-bold, mood-mysterious, mood-chaotic, mood-serene."
    },
    "reference_image_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "Recommended entry point. Public image URLs of the mascot - at least one, up to 6. Each public HTTP(S) URL is downloaded with a 10 MB limit and a 15-second deadline; private addresses and unsafe redirects are rejected. PNG, JPEG, WebP, GIF and SVG are supported; SVG is converted to PNG. Each is stored as an asset. The first reference acts as the canonical look; additional ones widen angle/pose coverage. If you also pass reference_asset_ids, totals combine up to 6."
    },
    "reference_asset_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Existing asset IDs to use as references. A fresh upload from POST /v1/upload joins this mascot. An image that already belongs to another mascot stays there, and this mascot gets its own reference copy of it. Max 6 references combined with reference_image_urls."
    },
    "settings": {
      "type": "object",
      "properties": {
        "cdn_enabled": {
          "type": "boolean",
          "default": true
        },
        "animation_sizes": {
          "type": "array",
          "items": {
            "type": "number"
          }
        }
      },
      "description": "Collection settings. cdn_enabled: whether new assets auto-publish to the CDN. animation_sizes: up to 2 smaller pixel widths to auto-generate variants for, e.g. [480, 240]. Every animation already gets its 720 px files, so 720 and larger values are ignored. Common values: 480, 360, 240, 128."
    }
  },
  "required": [
    "project_id"
  ]
}

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-create-collection-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.