happyhorse-1.0-video-edit

由 Alibaba 提供视频

HappyHorse 1.0 支持按提示词和参考图修改已有视频,可输出 720P 或 1080P,并查询异步结果。

更新于:
输入提示词文本
模型7款可用
返回方式异步结果链接
价格起价 8.4quota / 秒
视频示例视频预览
换上明制汉服

Using Image 1 as the reference, replace the woman's clothing in the source video with the misty-blue Ming dynasty hanfu. Keep the garment fitted to her body and motion, let the wide sleeves move naturally with her arms, and preserve the layered collar and front panels as she turns. Match the crane and floral embroidery, fabric sheen, shadows, and material response to the original lighting. Keep her expression, hairstyle, skin tone, environment, and camera path completely unchanged.

720P · 1.1
生成示例

相同输入,两版 HappyHorse 结果

01 · 换上明制汉服视频编辑
提示词

Using Image 1 as the reference, replace the woman's clothing in the source video with the misty-blue Ming dynasty hanfu. Keep the garment fitted to her body and motion, let the wide sleeves move naturally with her arms, and preserve the layered collar and front panels as she turns. Match the crane and floral embroidery, fabric sheen, shadows, and material response to the original lighting. Keep her expression, hairstyle, skin tone, environment, and camera path completely unchanged.

02 · 转为传统水墨风格视频编辑
提示词

Using the visual characteristics of Image 1, transform the entire source video into a traditional black-and-white Chinese ink-wash painting. Rebuild the mountains, mist, architecture, and every visible element with expressive brushwork and varied ink density while keeping the original camera movement and scene structure unchanged. The result should feel monochromatic, atmospheric, and spatially coherent.

03 · 转换为《我的世界》方块风格视频编辑
提示词

Transform the entire video into the Minecraft voxel style based on the visual aesthetic of Image 1. Convert every subject, character, and environment into 3D blocks with low-resolution pixel textures, and match the lighting and colors of the reference world. Keep the original movement, character actions, and camera tracking path completely unchanged so the scene feels rebuilt inside a Minecraft world.

模型能力

happyhorse-1.0-video-edit 能做什么

根据提示词生成

提交简洁提示词,通过一个 TTAPI 任务获取视频结果。

常用参数

设置提示词、模型、输出参数和回调即可接入。

异步查询

通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。

接入产品

HappyHorse 的输出可以展示、保存或交给后续流程处理。

计费

按操作计费,单位为 quota

按模型、操作和输出设置扣除 quota。

视频生成官方定价
分辨率价格计费单位
720P8.4 quota / 秒
1080P14.4 quota / 秒
API 请求

请求头与提交参数

使用 TTAPI 密钥,按下方字段向接口发送请求。

提交任务POST
/happyhorse/api/v1/services/aigc/video-generation/video-edit

提交 HappyHorse 视频编辑任务。

查看接口文档
查询结果GET
/happyhorse/api/v1/tasks/{task_id}

取回 HappyHorse 任务结果。

查看接口文档
POSThttps://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/video-edit

请求头

TT-API-KEYstring必填

填写 TTAPI API 密钥。

Content-Typestring必填

使用 application/json。

请求体

modelstring必填

HappyHorse 任务的模型 ID,例如 happyhorse-1.1-t2v。

input.promptstring按条件填写

描述生成或编辑内容的提示词。

input.mediaobject[]按条件填写

按所选操作传入首帧图、参考图或源视频。

parameters.resolutionenum选填

输出分辨率为 720P 或 1080P。

parameters.durationinteger选填

视频时长,单位为秒。

parameters.ratioenum选填

所选工作流支持的输出宽高比。

parameters.watermarkboolean选填

是否添加 HappyHorse 水印。

parameters.seedinteger选填

随机种子,范围 0 至 2147483647。

查看 TTAPI 接入文档
接入示例

发送请求并获取结果

复制当前模型的请求地址、鉴权请求头和请求体。

curl --request POST \
  --url https://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/video-edit \
  --header "TT-API-KEY: $TTAPI_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"model":"happyhorse-1.0-video-edit","input":{"prompt":"slow dolly shot through a lantern-lit alley","media":[{"type":"video","url":"https://example.com/source.mp4"},{"type":"reference_image","url":"https://example.com/reference.jpg"}]},"parameters":{"resolution":"720P","watermark":false,"audio_setting":"auto"}}'