Alibaba Happyhorse 1.0 Video Edit
Playground
Try it on WavespeedAI!Alibaba Happy Horse 1.0 (Video Edit) performs prompt-driven video editing with multi-image reference support, supporting 720p/1080p output. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.
Features
Alibaba Happy Horse 1.0 Video Edit
Alibaba Happy Horse 1.0 Video Edit performs prompt-driven editing on existing videos, with optional multi-image reference support for stronger visual guidance and identity consistency. Upload a source video, describe the desired edits, and the model generates a transformed video clip in 720p or 1080p.
- Need to generate a video from scratch? Try Alibaba Happy Horse 1.0 Text-to-Video.
- Need reference-guided scene generation? Try Alibaba Happy Horse 1.0 Reference-to-Video.
Why Choose This?
-
Prompt-driven video editing Edit existing videos using natural-language instructions for style, mood, action, and visual transformation.
-
Optional reference-image support Add up to multiple reference images to better guide character appearance, style consistency, and visual identity.
-
Consistent output workflow Keep the structure of the original video while transforming its look, atmosphere, or subject details.
-
Flexible resolution options Choose
720pfor lower-cost iteration or1080pfor higher-quality final outputs. -
Production-ready API Access the model through a REST inference API with no cold starts for scalable creative workflows.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Source video to edit. |
| prompt | Yes | Text description of the desired edits. |
| images | No | Optional reference images. Supports 0–9 images. |
| resolution | No | Output resolution: 720p (default) or 1080p. |
| seed | No | Random seed for reproducibility. Range: 0–2147483647. |
How to Use
- Upload your source video — provide the video you want to edit.
- Write your prompt — describe the desired transformation, including style, scene changes, atmosphere, or subject adjustments.
- Add reference images (optional) — upload
0–9images if you want stronger control over identity, styling, or visual direction. - Choose resolution — use
720pfor lower-cost iteration or1080pfor higher-quality output. - Set a seed (optional) — use a fixed seed for more reproducible edits.
- Submit — generate and download the edited video.
Example Prompt
Transform this street video into a cinematic neo-noir scene with rainy atmosphere, stronger reflections on the ground, richer contrast, subtle slow-motion feeling, dramatic lighting, and a premium commercial look
Pricing
Per 5 Seconds
| Resolution | Cost |
|---|---|
| 720p | $0.70 |
| 1080p | $1.40 |
Example Costs
| Resolution | 3s | 5s | 10s | 15s |
|---|---|---|---|---|
| 720p | $0.42 | $0.70 | $1.40 | $2.10 |
| 1080p | $0.84 | $1.40 | $2.80 | $4.20 |
Billing Rules
- Base price:
720pcosts $0.70 per 5 seconds - 1080p surcharge:
1080pcosts 2× the720prate - Billing duration: based on output video duration, clamped to
3–15 seconds - When input video is
≤ 15s: output duration matches the input duration - When input video is
> 15s: the system automatically trims to the first15s - Total price formula:
total_price = 0.70 × (resolution == "1080p" ? 2 : 1) × clamp(output_duration, 3, 15) / 5
Best Use Cases
- Style transformation — Rework existing footage into new visual styles, moods, or cinematic looks.
- Ad creative adaptation — Turn one source video into multiple campaign variations with different art directions.
- Character and identity guidance — Use reference images to better preserve appearance and branding cues.
- Content repurposing — Refresh older video assets for new promotions, launches, or platform formats.
- Social media optimization — Quickly generate visually distinct edits from the same original clip.
- Creative prototyping — Explore multiple editing directions before committing to a full post-production workflow.
Pro Tips
- Use a clear source video with stable framing for more predictable edits.
- Be specific in your prompt about what should change and what should remain consistent.
- Add reference images when character appearance, outfit details, or brand styling need tighter control.
- Use
720pfor fast testing, then switch to1080pfor final-quality outputs. - Reuse the same
seedwhen you want more reproducible edits. - Keep important edit instructions concrete, such as lighting changes, style shifts, color mood, or scene atmosphere.
Notes
- Both
videoandpromptare required. imagesis optional and supports0–9reference images.- Ensure all video and image URLs are publicly accessible.
- Output video duration is limited to
3–15 seconds. - When the input video exceeds
15 seconds, the system automatically trims it to the first15 seconds. - Pricing is based on the output video duration, not the original full source length.
1080ppricing is exactly 2× the720prate.
Related Models
- Alibaba Happy Horse 1.0 Text-to-Video — Generate cinematic videos directly from natural-language prompts.
- Alibaba Happy Horse 1.0 Image-to-Video — Animate a single reference image into a cinematic clip.
- Alibaba Happy Horse 1.0 Reference-to-Video — Generate new video scenes guided by reference images while preserving consistent identity.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/alibaba/happyhorse-1.0/video-edit" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"resolution": "720p"
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| video | string | Yes | - | The source video to edit. | |
| images | array | No | [] | - | Reference images for video editing (0-9). |
| prompt | string | Yes | - | Text description of the desired edits. | |
| resolution | string | No | 720p | 720p, 1080p | Output video resolution. |
| seed | integer | No | - | -1 ~ 2147483647 | Random seed for reproducibility. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | object | Array of URLs to the generated content. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |