AI Agent Integration

AI coding agents can create mascots and generate assets through Masko's public REST API. This works in any agent that can make HTTP requests or run a script.

Choose Your Integration

MethodBest ForSetup
AI SkillGive an agent Masko-specific workflows and API guidance2 minutes
Direct APIScripts, applications, and custom agent toolsQuickstart
OpenAPIGenerate a typed client or inspect the complete contractOpenAPI spec

Quick Setup

Create an API key in Developer Settings, then pass it as a bearer token:

curl https://api.masko.ai/v1/credits \
  -H "Authorization: Bearer $MASKO_API_KEY"

What Agents Can Do

  • Create and manage mascot collections
  • Generate images, animations, edits, logos, and scenes
  • Poll generation jobs and retrieve CDN URLs
  • Build and update interactive canvases
  • Manage projects, assets, and references

Agent Resources

ResourceURL
LLM-friendly docsmasko.ai/llms-full.txt
Documentation searchGET https://api.masko.ai/v1/docs?q=animation
OpenAPI specificationapi.masko.ai/v1/openapi.json
Tip

In the API, a mascot is represented by a collection with type: "mascot".