Create video(HappyHorse)
This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats).
HappyHorse Alibaba video generation API, with public paths following the official DashScope protocol.
Supports 5 external models: happyhorse-1.0, happyhorse-1.0-i2v, happyhorse-1.0-t2v, happyhorse-1.0-r2v, and happyhorse-1.0-video-edit. Among them, happyhorse-1.0 is an aggregated model and requires mode to distinguish t2v, i2v, r2v, and video_edit.
The public API keeps the official endpoint format; channel-specific prefixes are only concatenated internally when the gateway requests a specific upstream channel. Clients do not need to pass X-DashScope-Async explicitly; it is handled by the gateway or the official channel adapter layer.
Provides the public request skeleton, task query structure, and recommended validation template for the HappyHorse Alibaba official video generation format; the public paths keep the official endpoint format.
Supported models: happyhorse-1.0, happyhorse-1.0-t2v, happyhorse-1.0-i2v, happyhorse-1.0-r2v, happyhorse-1.0-video-edit
Unified request fields:
model(string, required): HappyHorse external model name. The aggregated modelhappyhorse-1.0must be used withmode.mode(string, optional): Aggregated model mode; common values aret2v,i2v,r2v, andvideo_edit. You can omit this for fixed submodels.input.prompt(string, required): Prompt for video generation or editing.input.media(array[object], optional): Multimedia input. Usefirst_framefor image-to-video,reference_imagefor reference-to-video, andvideoplus optionalreference_imagefor video editing.parameters.duration(integer, optional): Generation duration, billed by second.parameters.resolution(string, optional): Output resolution; common values are720Pand1080P.parameters.ratio(string, optional): Output aspect ratio, commonly used for text-to-video and reference-to-video.parameters.watermark(boolean, optional): Whether to add a watermark.parameters.seed(integer, optional): Random seed.
Common model/mode differences:
HappyHorse 聚合模型: Supports model happyhorse-1.0; the aggregated model uses mode to distinguish the final model.HappyHorse 文生视频: Supports model happyhorse-1.0-t2v; official-format text-to-video.HappyHorse 首帧图生视频: Supports model happyhorse-1.0-i2v; official-format first-frame image-to-video.HappyHorse 参考生视频: Supports model happyhorse-1.0-r2v; official-format multi-reference image-to-video.HappyHorse 视频编辑: Supports model happyhorse-1.0-video-edit; official-format video editing.
Authorizations
Use Bearer Token authentication.
Format: Authorization: Bearer sk-xxxxxx
Body
HappyHorse external model name. The aggregate model happyhorse-1.0 must be used with mode.
happyhorse-1.0, happyhorse-1.0-t2v, happyhorse-1.0-i2v, happyhorse-1.0-r2v, happyhorse-1.0-video-edit "happyhorse-1.0-t2v"
Aggregated model mode. Common values are t2v, i2v, r2v, and video_edit. The fixed submodel is optional.
t2v, i2v, r2v, video_edit 