Skip to content
maskostudioDocs

All pages

  • Overview/docs/use-cases
  • Mobile app/docs/use-cases#mobile
  • Website/docs/use-cases#website
  • Desktop/docs/use-cases#desktop
  • AI agents/docs/use-cases#agents
  • Videos/docs/use-cases#videos
  • Brand/docs/use-cases#brand
  • Start building/docs/ai-agents
  • Set up once/docs/ai-agents#set-up-once
  • Ask in plain words/docs/ai-agents#ask-in-plain-words
  • What your agent does/docs/ai-agents#what-your-agent-does
  • MCP server/docs/mcp
  • Masko for Cursor/docs/ai-tools/cursor
  • Masko in ChatGPT/docs/ai-tools/chatgpt
  • Masko in Lovable/docs/ai-tools/lovable
  • Masko in Devin/docs/ai-tools/devin
  • Masko in n8n/docs/ai-tools/n8n
  • Masko in Hermes Agent/docs/ai-tools/hermes
  • Masko in OpenClaw/docs/ai-tools/openclaw
  • Start here/docs/tutorials#start-here
  • All tutorials/docs/tutorials
  • Create your first mascot/docs/tutorials/first-mascot
  • Create an animated character/docs/tutorials/first-animation
  • Make a character talk/docs/tutorials/make-it-talk
  • Put your mascot on your website/docs/tutorials/mascot-on-your-website
  • Guide onboarding with a talking mascot/docs/tutorials/web-onboarding-mascot
  • Add a mascot that celebrates progress and welcomes users back/docs/tutorials/web-progress-companion
  • Add a talking support mascot in the bottom right/docs/tutorials/web-support-mascot
  • Show a mascot while your AI thinks/docs/tutorials/ai-loading-mascot
  • Give your AI agent a face/docs/tutorials/ai-agent-face
  • Animate the mascot you already have/docs/tutorials/animate-your-mascot
  • How to make Telegram stickers/docs/tutorials/telegram-stickers
  • How to make Discord stickers/docs/tutorials/discord-stickers
  • Quickstart: your first animation/docs/quickstart
  • Terminal quickstart/docs/terminal
  • API keys and workspaces/docs/authentication
  • CLI browser login/docs/authentication/cli
  • How mascots work/docs/how-mascots-work
  • Credits and costs/docs/credits
  • From text/docs/create/from-text
  • From an image/docs/create/from-image
  • From a website/docs/create/from-website
  • From a brand book/docs/create/from-brand-book
  • Reference images/docs/manage/references
  • Props/docs/manage/props
  • What you can generate/docs/generation
  • Pose-to-animation walkthrough/docs/generate/workflow
  • Images and poses/docs/generate/images
  • Animations/docs/generate/animations
  • Talking animations/docs/generate/talking
  • Sounds/docs/generate/sounds
  • Animation presets/docs/generate/presets
  • Write good requests/docs/generate/requests
  • Logos, backgrounds and stickers/docs/generate/design-assets
  • Cursor follower/docs/generate/cursor-follower
  • Batch generation/docs/generate/batch
  • Image and video exports/docs/manage/media-exports
  • Canvases and releases/docs/canvas
  • Build a canvas/docs/canvas/build
  • Canvas templates/docs/canvas/templates
  • Generate canvas assets/docs/canvas/generate-all
  • Export a canvas/docs/canvas/export
  • Overview and demo/docs/player
  • Play one animation/docs/player/one-animation
  • Play a canvas/docs/player/canvas
  • Ship in an app with an app key/docs/player/app-keys
  • Play on an ESP32 board/docs/player/esp32
  • Hosting and file formats/docs/generate/cdn
  • File sizes/docs/generate/file-sizes
  • Float a mascot on your Mac/docs/integrations/desktop
  • Jobs and polling/docs/manage/jobs
  • Webhooks/docs/manage/webhooks
  • Manage mascots and assets/docs/manage/collections
  • All endpoints/docs/reference
  • Requests and responses/docs/reference/conventions
  • Errors and recovery/docs/reference/errors
  • Command line reference/docs/terminal/commands
  • TypeScript SDK/docs/sdk/typescript
  • Changelog/docs/reference/changelog
  • Migrate to mascots and canvases/docs/manage/studio-migration
Get an API key
Documentation

Write good requests

Masko knows a mascot's look from its reference pictures. A mascot made from a description has none until a picture is kept as its reference; until then each pose is drawn from the description alone and can differ. A pose, animation or background request says what happens, never how the mascot looks.

These are the rules the MCP server gives apps in its instructions. The REST API, the masko command and the SDK take the same words in these fields:

RequestREST API, masko studio and SDKMCP tool and fields
Poseimage_prompt with type: "image"generate_mascot_image: pose
Animationanimation_prompt and loop with type: "animation"animate_mascot: motion and loop
Backgroundpurpose, place and description with type: "background"make_background: the same fields
Voicedescription on POST /v1/mascots/{id}/voice/samplessample_mascot_voices: description
Talkingspeech.text, speech.direction and speech.script with type: "animation"make_talking_animation: text, direction and script

Generate refuses a prompt field with 400, before any charge: prompt only describes a new mascot on POST /v1/mascots.

Pose

image_prompt is one moment. Say what the body does (posture, each arm, where the head turns and the eyes look), how it feels as the face shows it, and what it holds or wears, only if something. Keep the user's intent and energy and add nothing they did not ask for. Leave out colours, materials, art style, the background (it is removed) and framing. Name it in 1 to 3 words.

  • Good: "leans forward on tiptoe, both arms up in a cheer, eyes squeezed shut, huge open smile".
  • Weak: "a cute red fox in a forest, 3D style, happy".
{
  "type": "image",
  "name": "Cheering",
  "image_prompt": "leans forward on tiptoe, both arms up in a cheer, eyes squeezed shut, huge open smile"
}

Animation

animation_prompt animates a finished pose (item_id): one action, continued or repeated, written as precise time ranges, to the hundredth of a second, that cover the clip's real length, with what happens in each moment, how big, how fast and the mood. Timing matters: it is the plan the user approves, and Masko keeps it, only fine-tuning the timing from the pose. Show the ranges before generating; when the user already said to go ahead, show them and generate in the same reply. Standard renders a little more than the seconds asked, 2 s as 2.33 s, 3 s as 3.04 s, 5 s as 5.17 s, 6 s as 6.58 s, 8 s as 8.00 s and 10 s as 10.13 s, so the last range ends there. In a loop the last range keeps the action going into the next cycle: it never lowers, returns or settles, because Masko joins the end to the start; for an action that ends somewhere else, such as falling asleep, send "loop": false. The animation joins the pose's item and takes its name; with POST /v1/animations, name it in 1 to 3 words.

  • Good, for a 5-second Standard loop: "0.00-0.80s: crouches low, wriggling with excitement. 0.80-1.70s: springs up, both arms thrown high. 1.70-2.60s: lands softly and sways side to side. 2.60-3.80s: jumps again, a little higher. 3.80-5.17s: lands and crouches into the next spring."
  • Weak: "0-2s: starts. 2-5s: returns to the start pose" (vague, and a loop never returns).
{
  "type": "animation",
  "item_id": "ITEM_ID",
  "animation_prompt": "0.00-0.80s: crouches low, wriggling with excitement. 0.80-1.70s: springs up, both arms thrown high. 1.70-2.60s: lands softly and sways side to side. 2.60-3.80s: jumps again, a little higher. 3.80-5.17s: lands and crouches into the next spring.",
  "animation_model": "standard"
}

Background

purpose says what it is for (splash, paywall, a quiz result page) and, if the user has one in mind, description gives the place in a few words. place is its shape (phone_screen, phone_header, square, web_hero or banner) and comes from the purpose when left out. A background is an empty place in the mascot's style; never ask for the mascot, text or buttons in it. See backgrounds.

Voice

The voice description gives gender (or gender-neutral), pitch, pace, energy, texture, mood and accent in one or two sentences, such as "gender-neutral, light, bright and slightly raspy, quick and warm, with a playful American accent". Never a child's age: say light, bright or small instead.

Free voice ideas can be rewritten in a direction such as "Older" with POST /v1/mascots/{id}/voice/adjust before paying, and come with sample_line, a line in the mascot's words: send it as sample_line with the samples. See talking animations.

Talking

Send the words to say as speech.text. Pass the user's words exactly; when you write them, keep to one to three short sentences (3 to 10 seconds). Masko adds movements without changing a word, and speech.direction, such as "proud, points at the button at the end", steers them.

Write speech.script only when the user dictates movements: [2 to 6 words for what its own body does where it stands, optional feeling after a comma] before the words, such as [waves, excited] Hi, I'm Pika!. No props, no walking, nothing toward or away from the viewer.

Over REST, send "dry_run": true first for the script and the price, free. Over MCP, the talking tool's credit ceiling does the same: above it nothing is charged, and the price comes back with the script Masko would use when the words were sent as text.

{
  "type": "animation",
  "item_id": "ITEM_ID",
  "speech": {
    "text": "Your first mascot is ready. Tap the button to meet it.",
    "direction": "proud, points at the button at the end"
  },
  "dry_run": true
}

Free ideas

Ideas are written for one mascot from its pictures and personality, and cost no credits:

  • GET /v1/mascots/{id}/suggestions: poses, each with a name, a pose to send as image_prompt and a matching animation to send as animation_prompt.
  • GET /v1/mascots/{id}/backgrounds/suggestions?purpose=paywall: five places, each with a description to send back.
  • GET /v1/mascots/{id}/voice/suggestions: voice descriptions and a sample_line.

They count toward a daily limit of 300 free ideas per account. The MCP's suggest_ideas gives all of them. From a terminal:

masko studio GET mascots/MASCOT_ID/suggestions