PinReel v1.1 ยท Agentic Web & API

PinReel API, MCP & x402 Documentation

PinReel turns live Shopify products into 3 editorial 1000×1500 Pinterest Pins and an animated 9:16 Remotion Product Reel MP4 in one click. Install on Shopify at https://apps.shopify.com/pinreel.

Machine-Readable Discovery Endpoints

Connect via MCP (Streamable HTTP JSON-RPC 2.0)

No authentication required for discovery, template listing, volume estimation, and rate-limited ad copy generation:

curl -X POST https://pinreel-studio-production.up.railway.app/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Available MCP tools: pinreel_get_product_info, pinreel_list_templates, pinreel_estimate_creative_pack, and pinreel_generate_ad_copy.

Pay-Per-Call Creative Copy via x402 (Base USDC)

Autonomous agents can pay $0.01 USDC on Base per on-demand creative copy pack without a Shopify account:

curl -i -X POST https://pinreel-studio-production.up.railway.app/api/v1/x402/render-copy \
  -H "Content-Type: application/json" \
  -d '{"title":"Ceramic Pour-Over Kettle","price":"149.00","storeName":"Atelier Home"}'

An unpaid request returns HTTP 402 Payment Required with the standard PAYMENT-REQUIRED challenge header and Base USDC exact payment payload. Supply a signed X-PAYMENT / PAYMENT-SIGNATURE header to settle and receive the JSON copy pack.

REST API Versioning, Authentication & Rate Limits

curl -sS -i https://pinreel-studio-production.up.railway.app/api/v1/templates

Structured Error Model (RFC 9457 Problem JSON)

Every API error (400, 401, 402, 404, 429, 500) returns Content-Type: application/problem+json with machine-readable code, title, status, detail, and actionable resolution fields:

{
  "type": "https://pinreel-studio-production.up.railway.app/docs#error-not_found",
  "title": "Resource not found",
  "status": 404,
  "code": "not_found",
  "detail": "The requested API endpoint does not exist.",
  "resolution": "Inspect /openapi.json or /docs for valid v1 endpoints.",
  "instance": "/api/v1/unknown"
}

Non-API 404 responses also honor Accept: text/markdown with structured recovery links to /docs, /llms.txt, and /sitemap.xml.