HappyWan
Developer & Martech Platforms · One schema today; zero-rewrite Day-1 cutover to HappyWan

Agency & SaaS Programmatic Multi-Engine API Pipelines

Integrate one clean REST endpoint (`POST /api/jobs`) that routes seamlessly across Wan 3.0, Wan 3.0 Pro, HappyHorse 1.1, and Day-1 HappyWan—with Bearer `hwk_live_*` keys, idempotency protection, and automatic credit refunds.

Agency & SaaS Programmatic Multi-Engine API Pipelines

Live Engine Stack Today

  • Unified REST API (`POST /api/jobs`, `GET /api/jobs/{id}`) with Bearer `hwk_live_*` auth
  • Dynamic engine routing (`wan-3.0`, `wan-3.0-pro`, `happyhorse-1.1`, future `happywan-1.0`)
  • Deterministic per-second credit ledger with 100% auto-refund on upstream failure

HappyWan Upgrade Path (Dec 2026)

Keep your production feature flags pointed at `wan-3.0` and `happyhorse-1.1` today, then flip a single config string to `happywan-1.0` in December 2026 without altering webhook parsers, polling loops, or billing math.

Recommended Plan: Enterprise API ($219/mo or $205/mo annual · 14,400 cr/mo)

Step-by-Step Production Pipeline

STEP 010 credits

Mint Scoped API Keys

Studio API Keys

Create separate `hwk_live_*` keys for staging, ad-ops automation, and client production pipelines with instant revocation.

STEP 025–21 cr/s depending on tier

Route Tasks Programmatically by Scene Type

POST /api/jobs

Send rough previews to `wan-3.0` 480p, talking heads to `happyhorse-1.1` 1080p, and final hero cuts to `wan-3.0-pro` 4K over one JSON contract.

STEP 030 credits (polling is free)

Poll to Terminal State & Ingest MP4

GET /api/jobs/{id}

Poll every 3–5 seconds until `completed` (fetch `outputUrl`) or `failed`/`refunded` (verify automatic credit restoration).

Monthly Agency Production Run (Enterprise API Annual Tier)

DeliverableEngine & TierVolumeCreditsApprox. USD (Studio Pro Annual)
400s Rapid Client Storyboard PreviewsWan 3.0 · 480p (5 cr/s)400 seconds2,000 cr$28.47 (Enterprise Annual)
200s Localized Dialogue AssetsHappyHorse 1.1 · 1080p (20 cr/s)200 seconds4,000 cr$56.94 (Enterprise Annual)
380s Commercial 4K MastersWan 3.0 Pro · 4K (21 cr/s)380 seconds7,980 cr$113.60 (Enterprise Annual)

Total: 13,980 credits — 13,980 credits fits comfortably inside one Enterprise API monthly allotment (14,400 cr/mo = $205/mo billed annually at $0.0142/credit).

Sample Pipeline API Payload

{
  "engine": "wan-3.0",
  "mode": "video-edit",
  "resolution": "1080p",
  "duration": 10,
  "generateAudio": true,
  "sourceVideoUrl": "https://cdn.example.com/campaigns/base-walkthrough.mp4",
  "referenceImages": [
    "https://cdn.example.com/campaigns/winter-coat-sku.png"
  ],
  "prompt": "Replace the model's tan trench coat with the forest-green wool overcoat from reference image 1 while preserving exact walking cadence, street reflections, and camera tracking."
}
Agency API Pipelines — Workflow & Budget | HappyWan