Happy Horse 1.0 Video Edit API

alibaba/happyhorse-1.0/video-edit

Happy Horse 1.0 Video Edit transforms existing source footage through natural-language prompts and optional reference images, supporting 3–60s input video, 720p or 1080p output, and flexible audio modes. It faithfully inherits underlying motion topology and camera trajectory while accurately rendering targeted wardrobe, material, and stylistic restyling.

Input
249/2500

Drag and drop files, paste from clipboard, or provide a URL.

Drag and drop files, paste from clipboard, or provide a URL.

Output
Idle

Your generated video will appear here

Add your prompt and required media, review the settings, then click Run.

1080p · Source video = $4.80 (960 credits)
Continue with

Examples

Restore this archival greenhouse footage to match @Image1: repair the broken glass panes, clear the overgrowth, and let morning sunlight fill the structure while keeping the original camera move, no text, no logos, no watermark, no promotional marks

Make rain fall through the paper theater scene, tiny paper raindrops drifting past the layered buildings while the cool evening light deepens, keep the handcrafted paper texture, no text, no logos, no watermark, no promotional marks

Lift the fog gradually to reveal the harbor in warm golden hour light, boats becoming crisp as the sun breaks through, water reflections warming, keep the original camera drift, no text, no logos, no watermark, no promotional marks

Happy Horse 1.0 Video Edit

Happy Horse 1.0 Video Edit is an advanced video-to-video diffusion and restyling engine. By taking a 3–60s source video alongside text instructions and up to 5 optional reference images (described in the prompt), it transforms visual appearance while strictly adhering to underlying motion trajectories, framing momentum, and timeline pacing. It supports original audio passthrough or smart regeneration, with built-in 15-second maximum billable cap protection.

Key Capabilities & Advantages

  • Seamless Motion Topology & Kinematic PreservationFlawlessly mirrors subject velocities, limb articulation, and camera momentum from source footage without pacing distortion.

  • Dual-Mode Local Replacement & Global Style TransferSupports targeted edits to attire, hair, or sky backgrounds as well as global anime, sci-fi, and fine art stylistic overhauls.

  • Up to 5 Visual Reference ImagesPass assets in reference_image_urls and describe their relevant features in the prompt to inject precise texture and character styling.

  • Flexible Audio Handling (auto / origin)Use audio_setting to either let the model synthesize fresh synced sound (auto) or seamlessly pass through the original audio track (origin).

  • 15-Second Billing Cap ProtectionSource videos support 3–60 seconds. Credits equal min(detected seconds, 15) × the resolution rate, normalized to six decimal places.

  • 720p Iteration & 1080p Crisp Delivery720p (32 credits/s) enables rapid turnaround during creative review, while 1080p (64 credits/s) provides high-clarity commercial deliverables.

Parameters

ParameterRequirementDescription
video_urlRequired

Source videos support 3–60 seconds. Credits equal min(detected seconds, 15) × the resolution rate, normalized to six decimal places.

promptRequired

Required, nonblank, and at most 2,500 characters. Describe the edits, optionally with reference images.

reference_image_urlsOptional

String array. Up to 5 reference image URLs, described in the prompt using natural language.

resolutionOptional

String. Output resolution. Choose between 720p and 1080p. The Playground preselects 1080p.

Default1080p720p
audio_settingOptional

String. Audio policy. auto (synthesizes audio matching new visual) or origin (preserves source track). The Playground preselects auto.

Defaultautoorigin
seedOptional

Integer. 0 to 2147483647 for reproducible generation foundations.

enable_safety_checkerOptional

Boolean. Enables content safety moderation for inputs and outputs.

How to Call Happy Horse 1.0 Video Edit API

  1. Step 1: Prepare Source Video & API KeyHost your 3–60s video at a public URL and set Authorization: Bearer VIDGO_API_KEY in your request headers.

  2. Step 2: Configure Instructions & AssetsSet video_url, describe modifications in prompt, optionally attach reference images, and choose your audio policy.

  3. Step 3: Submit Request & Retrieve VideoCall POST /api/generate/submit, poll until finished, and access the final transformed MP4 video.

Happy Horse 1.0 Pricing Overview

Source videos support 3–60 seconds. Credits equal min(detected seconds, 15) × the resolution rate, normalized to six decimal places. 720p costs 32 credits/s ($0.16/s); 1080p costs 64 credits/s ($0.32/s). Credits are deducted on submission and refunded if the task fails.

UsageRateDetails
720p32 credits/sFast restyling test; billable duration is capped at 15s (480 credits maximum).
1080p64 credits/sHigh-fidelity production; billable duration is capped at 15s (960 credits maximum).

Best Use Cases

  • Live-Action Stylistic TransformationsConvert live-action footage or street clips into anime, cyberpunk, or oil painting styles while keeping original micro-motions.

  • Wardrobe Replacement & Virtual FittingRestyle clothing, hair, or accessories using reference images, adhering to realistic fabric folds and body mechanics.

  • Atmospheric Lighting & Weather ShiftsTransform daytime footage into rainy neon nightscapes, sunsets, or snowstorms without re-shooting live scenes.

  • Multi-Version Marketing IterationsDerive diverse aesthetic iterations from a single master commercial shoot to lower creative A/B testing production budgets.

  • VFX Previsualization & ConceptualizationEnable film production teams to preview complex creature transformations and surreal effects before committing high VFX spend.

  • Viral Social Media Trend RemixingRe-render trending dance videos and short-form clips with eye-catching visual contrasts for high engagement.

Pro Tips

  • Ensure source footage has clear subjects and stable lighting, as motion kinematics are closely tied to input clarity
  • When targeting specific garment or prop textures, supply reference images and describe their relevant features in the prompt
  • Set audio_setting to origin whenever you want to preserve dialogue, voiceover, or original environmental sound effects
  • Source footage from 3 to 60 seconds is supported, while billable duration is automatically capped at 15 seconds for maximum cost efficiency
  • Select 1080p resolution to avoid border tearing or swimming artifacts across continuous restyled motion
  • Pass a consistent seed value to freeze the underlying style generator, making it easy to isolate wording adjustments

Usage Notes

  • Set model to alibaba/happyhorse-1.0/video-edit in the top-level request body.
  • Source footage video_url supports 3 to 60 seconds, with billing capped strictly at 15 seconds.
  • Prompt is required; describe the intended reference features in prompt; no specific image marker syntax is required.
  • Audio policy audio_setting accepts auto (regenerates audio) or origin (preserves source audio).

Related Models

Happy Horse 1.0 Video Edit API Frequently Asked Questions

What is the Happy Horse 1.0 Video Edit API?

Happy Horse 1.0 Video Edit is an Alibaba model for video-to-video editing and restyling. It transforms 3–60s source footage using natural-language instructions and up to 5 optional reference images into 720p or 1080p re-rendered video, featuring exceptional motion fidelity, local element substitution, and global style transfer. Built on an advanced spatiotemporal video restyling architecture, it strictly adheres to source motion skeletons and camera momentum while rendering desired wardrobe, weather, and stylistic changes, with audio passthrough support. You can call it programmatically or try it from the playground above.

What source video duration does Happy Horse 1.0 Video Edit support?

Source videos support 3–60 seconds. Credits equal min(detected seconds, 15) × the resolution rate, normalized to six decimal places.

How do you reference images in Happy Horse 1.0 Video Edit prompts?

Include up to 5 image URLs in reference_image_urls and describe the intended reference features in prompt. This guides the model to transfer specific textures, patterns, or character appearances directly into the video.

Can Happy Horse 1.0 Video Edit preserve original audio?

Yes. Set audio_setting to origin to pass through the original voice dialogue, ambient sound, and background music from the source. Setting it to auto directs the model to synthesize a fresh soundtrack aligned with the restyled visual.

How does the billing cap work for Happy Horse 1.0 Video Edit?

For any video longer than 15 seconds (such as 25s or 50s clips), billing is strictly capped at 15 seconds (480 credits for 720p, 960 credits for 1080p). You will never be charged for duration exceeding 15 seconds.

Does Happy Horse 1.0 Video Edit alter underlying motion dynamics?

The model uses the source motion, actor pacing, and camera trajectory as references, with edits focused on surface textures, styles, and visual assets.

When should you choose Happy Horse 1.0 Video Edit over Reference to Video?

Choose Video Edit when you have an existing video track and want to inherit its exact pacing, blocking, and choreography while altering the aesthetic style or wardrobe. If you are generating a new shot from scratch using still images, use Reference to Video.