Skip to main content

Overview

HappyWan generates clips from 4 to 45 seconds in 480p or 720p. Create a scene from text, animate first and last frames, or guide a video with mixed-media references. Enable sound to generate synchronized dialogue, effects, or music.

Endpoints and authentication

Send Authorization: Bearer YOUR_API_KEY on each request. For task creation, also send Content-Type: application/json.

Create a video

Text-to-video

This request creates a 45-second scene with synchronized audio.

First and last frames

Omni reference

Parameters

string
default:"async"
Result delivery mode. Supported values: async for polling and callback for webhook delivery.
string
Public HTTPS URL that receives the final task payload. Required when request_type is callback.
object
required
HappyWan generation parameters.

Mode requirements

Latency and polling

Task creation returns data.taskId. Query the status endpoint with that ID.
Longer clips and requests with more references can take more time. Use callback mode to receive the result as soon as the task completes. Result URLs are temporary. Download the MP4 if you need to retain it. See Status Task and Webhooks for the shared lifecycle and delivery formats.

Billing

The per-second rate depends on the resolution and whether the request includes a reference video. See API pricing for rates and credit conversion and rounding for how request totals are rounded.

MCP integration

The model schema declares video result decoding in mcp.result and ordered attachment bindings for image_urls, video_urls, and audio_urls in mcp.attachments. Preserve the order of frame images.