PawMotion Developer Ecosystem

One REST API. MCP Server, Agent Skill & Chrome Extension.

Build automated pet video pipelines on top of PawMotion’s 69 scenes, 3-candidate identity lock engine, pay-as-you-go credit ledger, and automatic failure refunds.

MCP Server (HTTP + stdio)

Connect Claude Desktop, Cursor, Windsurf, or n8n directly to https://pawmotion.video/api/mcp or run the local stdio package.

Agent Skill + Zero-Dep CLI

Standard SKILL.md with photo quality pre-check SOP, scene playbook, 4-platform caption handoff, and a zero-dep Node CLI.

Chrome MV3 Extension

Minimal-permission Manifest V3 extension: right-click any pet photo to preview all 69 scenes in the Side Panel and launch into PawMotion Studio.

REST API v1 Endpoints

Authenticate private routes with Authorization: Bearer sk_... (or X-API-Key). Every key enforces a default 200 Cr/day guardrail and supports Idempotency-Key to prevent duplicate charges.

EndpointAuthCostDescription
GET/api/v1/scenesPublic0 CrBrowse & filter all 69 scenes by pet_type, category, duration (5s/10s/15s), or search query. Edge cached 10m.
GET/api/v1/account/creditsAPI Key0 CrCheck available credits, expiry dates, and this key’s daily spend quota (default 200 Cr/day).
POST/api/v1/uploadsAPI Key0 CrMultipart upload for 1–5 pet photos (JPEG/PNG/WebP, max 5MB each). Auto-deleted after 30 days.
POST/api/v1/identities/candidatesAPI Key15 CrCreate a pet profile and generate 3 likeness candidate portraits (Studio, Golden Hour, Royal Heritage).
POST/api/v1/identities/{pet_id}/freezeAPI Key0 CrPermanently freeze the user-chosen candidate (1/2/3) into a reusable pet identity version.
GET/api/v1/identitiesAPI Key0 CrList all saved pet profiles and their latest frozen identity versions for reuse.
POST/api/v1/videos/generateAPI Key25–75 CrSubmit async watermark-free video generation. Supports dry_run=true pre-check, optional script, and Idempotency-Key.
GET/api/v1/videos/{job_id}API Key0 CrPoll job status (queued / rendering / succeeded / failed_refunded) and fetch the final MP4 download URL.

Remote Streamable HTTP MCP

Zero install — point any Streamable HTTP MCP client directly at our edge endpoint:

{
  "mcpServers": {
    "pawmotion": {
      "url": "https://pawmotion.video/api/mcp",
      "headers": {
        "Authorization": "Bearer sk_your_api_key"
      }
    }
  }
}

Quick cURL Dry-Run Check

Validate inputs and check exact credit cost before spending a single credit:

curl -X POST https://pawmotion.video/api/v1/videos/generate \
  -H "Authorization: Bearer sk_your_api_key" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: render-001" \
  -d '{
    "scene_slug": "woolen-pet",
    "pet_id": "your_pet_id",
    "dry_run": true
  }'
Built-in Guardrails: External image URLs are never blindly fetched server-side (SSRF protection); upload source photos via POST /api/v1/uploads or bounded base64. Uploaded raw photos auto-delete after 30 days, frozen identities persist permanently, and failed renders auto-refund credits.