HappyWan API (Happy Wan API) is coming to APIMart. Explore HappyWan video workflows, organize prompts and reference media, and prepare your happywan API integration.
No generation history yet.
Prepare your Alibaba HappyWan API integration on APIMart. Organize video prompts, images, video clips and audio links, then review your Happy Wan API request as JSON. Build a reusable HappyWan API workflow for product videos, storyboards and social content.
Explore Happy-Wan API request structure, authentication and task queries. These examples use happywan as the model ID; final integration parameters will be provided in the HappyWan API documentation.
Save your key as APIMART_API_KEY and send Authorization: Bearer <key> when the integration is enabled.
The draft uses POST /v1/videos/generations with model set to happywan. Reference examples set generation_type to reference. Read the task ID from data[0].task_id.
Query GET /v1/tasks/{task_id}. Read completed output from data.result.videos[0].url[0] and failures from data.error.message.
See the APIMart documentation for authentication and general API usage.
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happywan",
"prompt": "A red paper boat drifts along a rain-soaked street at night, close-up tracking shot, soft rain and reflections of warm street lights.",
"duration": 5,
"resolution": "1080P",
"size": "16:9",
"audio": true
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "happywan",
"prompt": "A red paper boat drifts along a rain-soaked street at night, close-up tracking shot, soft rain and reflections of warm street lights.",
"duration": 5,
"resolution": "1080P",
"size": "16:9",
"audio": True
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happywan",
"prompt": "Use the reference image for the product design. Slowly orbit the product on a studio table with soft side lighting and a quiet ambient soundtrack.",
"generation_type": "reference",
"image_urls": [
"https://example.com/product.jpg"
],
"duration": 5,
"resolution": "1080P",
"size": "16:9",
"audio": true
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: happywan | Provisional model ID for this HappyWan workspace. Confirm the final value at launch. |
prompt | string | Optional | Default: — | Video description, up to 20,000 characters in this workspace. Provide a prompt or at least one media or source input. |
resolution | string | Optional | Default: 1080P | Resolution setting in the request draft: 480P, 720P or 1080P. |
size | string | Optional | Default: adaptive | Aspect ratio setting: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4 or 9:16. |
aspect_ratio | string | Optional | Default: — | Alias of size. If both are present, they must match. |
duration | integer | Optional | Default: 5 | Duration setting in seconds: an integer from 2 to 30, or -1 for automatic duration. Reference video plus output must fit within the configured 30-second limit. |
audio | boolean | Optional | Default: true | Whether to include audio in the output configuration. |
watermark | boolean | Optional | Default: false | Whether to include a watermark in the output configuration. |
nsfw_check | boolean | Optional | Default: false | Content moderation setting for the prompt and images. |
prompt_extend | boolean | Optional | Default: true | Prompt extension. Cannot be false with file_url or link_url. |
seed | integer | Optional | Default: -1 | Integer from 0 to 2147483647; -1 or omission means random. |
generation_type | string | Optional | Default: — | frame or reference. Reference examples explicitly use reference; otherwise input materials determine the mode. |
image_urls | string[] | Optional | Default: — | Public http(s) image URLs. In frame mode, at most 2 in first/last order. In reference mode, these and reference_image entries together must not exceed 10. |
image_with_roles | object[] | Optional | Default: — | Objects with url and role: first_frame, last_frame or reference_image. Each frame role appears at most once. Do not mix frame and reference images. |
video_urls | string[] | Optional | Default: — | Public video URLs for the request draft, up to 5 entries. |
audio_urls | string[] | Optional | Default: — | Public audio URLs for the request draft, up to 5 entries. Mutually exclusive with audio_url. |
audio_url | string | Optional | Default: — | One public audio URL; mutually exclusive with audio_urls. |
file_url | string | Optional | Default: — | One public document URL, mutually exclusive with link_url. Requires prompt extension. |
link_url | string | Optional | Default: — | One public web page URL; mutually exclusive with file_url. Requires prompt extension. |
Organize HappyWan API prompts, reference media and request settings in one workspace.
Prepare HappyWan API request drafts here. Availability, the final model ID and supported parameters will be updated together when HappyWan goes live on APIMart.
For a HappyWan Video Model draft, describe the subject, camera movement, timing and sound. Clear instructions make your HappyWan API prompt easier to review and reuse.
Organize product photos, character references and visual styles for your HappyWan API draft. Describe which details each image should contribute.
Arrange a starting image and an optional ending image in a Happy-Wan API draft. Use the HappyWan Video API workspace to describe the motion and visual transition between them.
Collect video and audio references for your happywan API draft, with clear notes about the movement, rhythm and atmosphere you want to explore.
Prepare a public document or web page URL for a HappyWan API brief. Combine source material with a clear description of the intended video.
Build a happywan API request in the form or edit JSON directly without losing supported fields. Invalid values and unknown fields are highlighted before returning to the form.
Prepare APIMart authentication and asynchronous task handling for an Alibaba HappyWan API integration. Keep your API key and request configuration ready for launch.
Collect prompts and source material now, then review the final API contract when HappyWan becomes available on APIMart.
Prepare a HappyWan API prompt with a shot list for a product launch, supported by product photographs, lighting notes and camera directions.
Prepare a Happy Wan API storyboard with opening and closing frames and a description of the motion between them. Keep these assets alongside your HappyWan API prompt for review at launch.
Use the HappyWan Video API workspace to plan landscape and portrait compositions. Save a Happywan API prompt with a concise opening shot for each channel.
Organize brand imagery and audio references for a HappyWan Model draft, with clear instructions about what each reference should contribute to your HappyWan API request.
Turn a lesson or product brief into a sequence of visual instructions, narration notes and supporting material.
Prepare HappyWan API authentication, task submission and result handling against APIMart conventions, then confirm the final happywan model contract before enabling requests.
Create an APIMart API key for your HappyWan integration, assemble a video draft and review its JSON before launch.
Create an API key in the APIMart console. Your HappyWan API integration uses Authorization: Bearer <key>.
For a Happy-Wan API draft, organize prompts, reference media, opening and closing frames, or a file or web brief in the HappyWan API workspace.
Switch to JSON to review your happywan API draft, check field values and keep a reusable request for your application.
HappyWan API availability, video planning, request fields and integration preparation.
This is APIMart’s preview page for Alibaba HappyWan. Explore HappyWan API video workflows and organize prompts, reference media and integration requests in one place.
HappyWan API is coming to APIMart. Start by writing your video brief, collecting reference media and creating an APIMart API key for your integration.
HappyWan is listed under Coming Soon. Availability and the final API configuration will be updated on this page when it goes live on APIMart.
Describe the subject, setting, camera movement, action and sound. Break a complex HappyWan API brief into clear shots and explain the role of each reference.
The provisional HappyWan API model ID is happywan. It appears in the workspace and code examples and will be checked against the backend contract at launch.
HappyWan API pricing will be displayed on this page when it becomes available on APIMart.
Create an API key in the APIMart console for your HappyWan API integration. Prepare authentication with that key, then confirm HappyWan availability and the final request fields before sending a task.
Choose clear product, character or style images and describe what each contributes to your HappyWan API draft. Keep opening and closing frames separate from general reference images.
Plan the shot length and aspect ratio around your story and publishing channel. Keep those choices in your HappyWan API draft and consult the API documentation for final output specifications.
You can organize a public file_url or link_url with your HappyWan API brief. Summarize the key information to include in the video and choose one source per draft.
Frame drafts use first_frame and last_frame to describe opening and closing images. Reference drafts use reference_image or image_urls with generation_type set to reference. Choose the input structure that fits your HappyWan API brief.
The result area shows APIMart’s shared preview video to demonstrate the page layout. It is not a HappyWan generation example.
Use the HappyWan API examples to prepare authentication, request structure and result handling. Confirm the integration details in the API documentation when HappyWan becomes available.
On this APIMart preview page, Happy Wan, Happywan and Happy-Wan are spelling variants of HappyWan. Alibaba HappyWan and Alibaba Happy Wan add the vendor name; HappyWan AI and Happy Wan AI are descriptive search phrases. They do not indicate separate model versions or confirmed official aliases. HappyWan API drafts use the provisional model ID happywan; do not put a display-name variant in the model field. Similarly named third-party websites are not official sources for this page.
Explore more models in the same category.

Magi 2
Magi 2 brings your stories to life through motion. From quiet, atmospheric moments to bold cinematic sequences, explore visual ideas and shape scenes that capture the mood, express emotion, and draw viewers into your world.

Seedance 2.5 Flash
Seedance 2.5 Flash turns creative ideas into visual stories. From cinematic scenes to playful animations, explore movement, mood, and composition to create videos that draw viewers in and bring your imagination to the screen.

APIMart Zoe
apimart-zoe creates 4–30 second videos, or lets the model choose the length, at 480p, 720p, 1080p, 2K or 4K in seven aspect ratios from 21:9 to 9:16. It can work from a text prompt, from first and last frames, or from up to 30 reference images, 10 reference videos and 10 reference audio clips. It can also edit an existing video, changing its style or elements while keeping the original length and framing. Audio can be generated together with the video. A two-step workflow lets you preview a shot as a low-cost 480p draft and then render the approved draft as a 1080p final within 24 hours. Billing is per second of output, with a separate rate for requests that include reference videos.

Kling V4 Flash
Kling 4.0 Flash brings your creative vision to life in motion. From cinematic moments to imaginative visual stories, turn your ideas into videos that capture attention, set the mood, and give every scene a story to tell.