
| 模型价格 ¥0.675000 / 次 |
|---|
| 视频计费 = 按次价格 × 视频时长秒数 × 分辨率 |
import requests
import json
url = "https://api.qikuaiai.com/v1/models"
payload = json.dumps({
"model": "happyhorse-1.0-video-edit",
"prompt": "让视频中的马头人身角色穿上图片中的条纹毛衣",
"input_reference": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260409/dozxak/Wan_Video_Edit_33_1.mp4",
"images": [
"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260415/hynnff/wan-video-edit-clothes.webp"
],
"metadata": {
"parameters": {
"ratio": "16:9",
"watermark": False,
"resolution": "1080P"
}
}
})
headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)联系我们
微信扫码