happyhorse-1.0-video-edit
HappyHorse-1.0-Video-Edit支持视频编辑,自然语言指令编辑视频,可参考最多5张图片局部或全局编辑视频元素,能够精准复刻视频动态过程,实现更强表现能力。
来源:第三方 · 提供商:阿里巴巴 · 支持端点:ali-video · 标签:视频
价格(人民币 / 秒)
| 项 | 平台价 |
|---|---|
| 单价 | ¥0.673200 / 秒 |
档位价
| 场景 | 分辨率 | 平台价 |
|---|---|---|
| text_to_video | 1280x720 | ¥0.673200 |
| text_to_video | 1920x1080 | ¥1.196800 |
- 计价方式:按秒计费(不是按 tokens);请求里的数量/分辨率/时长决定最终金额。
- 高峰倍率:无高峰倍率
- 详细口径见多媒体计价说明。
调用示例
curl https://api.token.heimatianqi.com/v1/video/generations \
-H "Authorization: Bearer sk-heima-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"model":"happyhorse-1.0-video-edit","prompt":"一只戴围巾的柯基在雪地里跑","resolution":"1280x720","duration":4}'
价目一致性校验
下面这段由文档验收套件真实执行:页面上的单价必须与平台实时价目表一致。
python3 -c "
import json,os,urllib.request
url=os.environ.get('HEIMA_PRICING_URL','http://127.0.0.1:3000/api/platform/pricing')
data=json.load(urllib.request.urlopen(url,timeout=15))['data']['models']
hit=[m for m in data if m['model_name']=='happyhorse-1.0-video-edit']
assert hit, 'model missing in price list: happyhorse-1.0-video-edit'
m=hit[0]
assert m.get('price_unit')=='video', 'unexpected unit: ' + str(m.get('price_unit'))
assert abs(float(m.get('unit_price_cny') or 0)-0.6732)<1e-6, 'unit price drifted'
print('pricing ok: happyhorse-1.0-video-edit ->', m.get('unit_price_cny'), '/秒')
"