{
  "schemaVersion": "mamaki-space-manifest-v1",
  "id": "space_coloring_maker",
  "owner": {
    "kind": "mamaki",
    "id": "mamaki",
    "handle": "mamaki",
    "displayName": "Mamaki"
  },
  "slug": "coloring-maker",
  "version": "0.1.0",
  "status": "live",
  "audience": "kid",
  "trustTier": "isolated-worker",
  "artifact": {
    "kind": "cloudflare-artifact",
    "repo": "mamaki-fun",
    "ref": "refs/heads/main",
    "commit": "2215da0",
    "manifestPath": "src/spaces/catalog.ts",
    "manifestHash": "coloring-maker-0.1.0"
  },
  "copy": {
    "title": "Coloring Page Maker",
    "tagline": "Describe anything → get a printable coloring page in ~10 seconds.",
    "lede": "Type what you want to color — a dragon on a skateboard, a kawaii boba cup, your favorite animal — and we draw it as a clean black-and-white coloring page you can download and print. Free, no signup.",
    "description": "Type anything and get a clean black-and-white coloring page to print, in seconds. Free, no signup, no ads. Made for kids."
  },
  "presentation": {
    "swatch": "linear-gradient(135deg, #bde7ff, #b9f5df)",
    "emoji": "🖍️",
    "doodle": "pencil",
    "thumbnail": "/spaces/coloring-maker/thumbnail.png"
  },
  "capabilities": [
    "generate-image",
    "download",
    "remix",
    "mcp-control"
  ],
  "safety": {
    "audience": "kid",
    "promptMode": "free-roam",
    "maxPromptChars": 280,
    "persistence": "none",
    "moderation": "policy-filter",
    "rateLimits": [
      {
        "key": "ip",
        "limit": 12,
        "windowSeconds": 3600,
        "burst": 3
      }
    ]
  },
  "runtimes": [
    {
      "kind": "shared-renderer",
      "renderer": "mamaki-shared",
      "component": "Generator",
      "apiBase": "/api/workflows/runs"
    },
    {
      "kind": "worker-api",
      "apiBase": "/api",
      "routes": [
        {
          "action": "generate_coloring_page",
          "method": "POST",
          "path": "/workflows/runs"
        },
        {
          "action": "get_workflow_run",
          "method": "GET",
          "path": "/workflows/runs/:runId"
        }
      ]
    },
    {
      "kind": "mcp-app",
      "resourceUri": "ui://mamaki/studio.html",
      "tools": [
        "open_mamaki_studio",
        "mamaki_get_studio_data"
      ]
    },
    {
      "kind": "dynamic-worker",
      "dispatchNamespace": "mamaki-spaces",
      "workerName": "space-coloring-maker",
      "publicOrigin": "https://coloring-maker.mamaki.fun",
      "routePrefix": "/spaces/coloring-maker/",
      "isolation": "trusted",
      "grants": [
        {
          "kind": "service",
          "binding": "OPENROUTER",
          "adapter": "mamaki-openrouter-adapter",
          "upstream": "openrouter.ai"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "generate_coloring_page",
      "title": "Generate Coloring Page",
      "description": "Generate one ephemeral black-and-white printable coloring page from a kid-safe prompt.",
      "visibility": "model",
      "capabilities": [
        "generate-image",
        "download"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "prompt"
        ],
        "properties": {
          "prompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 280
          },
          "topic": {
            "type": "string",
            "maxLength": 80
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "runId",
          "statusUrl"
        ],
        "properties": {
          "runId": {
            "type": "string"
          },
          "viewUUID": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "statusUrl": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_workflow_run",
      "title": "Get Workflow Run",
      "description": "Check a queued workflow run and return the result URL when complete.",
      "visibility": "app-only",
      "capabilities": [
        "generate-image",
        "download"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "runId"
        ],
        "properties": {
          "runId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "runId",
          "status"
        ],
        "properties": {
          "runId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  ],
  "examples": [
    {
      "id": "kawaii-boba-cup",
      "title": "Kawaii boba cup",
      "action": "generate_coloring_page",
      "input": {
        "prompt": "A kawaii bubble tea cup with a happy face, big straw, and tapioca pearls",
        "topic": "boba coloring pages"
      },
      "output": {
        "url": "https://mamaki.fun/coloring/boba/img/classic-milk-tea.png"
      },
      "outputPreview": [
        {
          "kind": "image",
          "src": "/coloring/boba/img/classic-milk-tea.png",
          "alt": "Kawaii bubble tea cup black and white printable coloring page for kids",
          "mimeType": "image/png"
        }
      ],
      "tags": [
        "food",
        "cute",
        "easy"
      ]
    },
    {
      "id": "lunar-new-year-lion-dance",
      "title": "Lion dance parade",
      "action": "generate_coloring_page",
      "input": {
        "prompt": "A Lunar New Year lion dance with lanterns, drums, and excited kids watching",
        "topic": "Lunar New Year coloring pages"
      },
      "output": {
        "url": "https://mamaki.fun/coloring/lunar-new-year/img/lion-dance.png"
      },
      "outputPreview": [
        {
          "kind": "image",
          "src": "/coloring/lunar-new-year/img/lion-dance.png",
          "alt": "Lunar New Year lion dance black and white printable coloring page for kids",
          "mimeType": "image/png"
        }
      ],
      "tags": [
        "festival",
        "parade",
        "medium"
      ]
    },
    {
      "id": "moon-rabbit-lantern",
      "title": "Moon rabbit lantern",
      "action": "generate_coloring_page",
      "input": {
        "prompt": "A gentle moon rabbit holding a paper lantern under a full moon",
        "topic": "Mid-Autumn Festival coloring pages"
      },
      "output": {
        "url": "https://mamaki.fun/coloring/mid-autumn-festival/img/rabbit-lantern.png"
      },
      "outputPreview": [
        {
          "kind": "image",
          "src": "/coloring/mid-autumn-festival/img/rabbit-lantern.png",
          "alt": "Moon rabbit lantern black and white printable coloring page for kids",
          "mimeType": "image/png"
        }
      ],
      "tags": [
        "festival",
        "animal",
        "calm"
      ]
    },
    {
      "id": "garden-tea-party",
      "title": "Garden tea party",
      "action": "generate_coloring_page",
      "input": {
        "prompt": "A cozy bunny and fox having a tiny tea party in a flower garden",
        "topic": "storybook animal coloring pages"
      },
      "output": {
        "url": "https://mamaki.fun/coloring/bobbie-goods/img/bobbie-tea-party.png"
      },
      "outputPreview": [
        {
          "kind": "image",
          "src": "/coloring/bobbie-goods/img/bobbie-tea-party.png",
          "alt": "Cozy animal garden tea party black and white printable coloring page for kids",
          "mimeType": "image/png"
        }
      ],
      "tags": [
        "animals",
        "flowers",
        "gentle"
      ]
    }
  ],
  "publishing": {
    "canonicalPath": "/spaces/coloring-maker/",
    "aliases": [
      {
        "path": "/space/coloring-maker/",
        "kind": "legacy",
        "redirectToCanonical": true
      }
    ],
    "indexable": true,
    "sitemap": true,
    "homepageTile": true
  }
}