更新日期:2026-06-06
Kling 高级功能
虚拟试穿
任务成功 -> R2 归档 -> media.crazyrouter.com 闭环。
请求参数
请求示例
cURL
提交成功响应示例
查询试穿任务
cURL
响应示例(已完成)
当前不要把口型同步、视频延长、视频特效等其它 Kling 高级能力写成已开放接口。它们仍未进入 Crazyrouter 的公开 contract。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Kling 高级功能:虚拟试穿
更新日期:2026-06-06
POST /kling/v1/images/kolors-virtual-try-on
任务成功 -> R2 归档 -> media.crazyrouter.com 闭环。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model_name | string | 否 | 常见模型:kolors-virtual-try-on-v1、kolors-virtual-try-on-v1-5 |
human_image | string | 是 | 人物图,支持 URL 或 Base64 |
cloth_image | string | 是 | 服装图,支持 URL 或 Base64 |
callback_url | string | 否 | 回调地址 |
external_task_id | string | 否 | 业务侧自定义任务 ID |
curl -X POST https://api.crazyrouter.com/kling/v1/images/kolors-virtual-try-on \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "kolors-virtual-try-on-v1",
"human_image": "https://example.com/person.jpg",
"cloth_image": "https://example.com/jacket.jpg"
}'
{
"created_at": 1774585120,
"id": "866361099762425934",
"model": "kolors-virtual-try-on-v1",
"object": "video",
"progress": 0,
"status": "",
"task_id": "866361099762425934"
}
GET /kling/v1/images/kolors-virtual-try-on/{task_id}
curl https://api.crazyrouter.com/kling/v1/images/kolors-virtual-try-on/866361099762425934 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"code": "success",
"message": "",
"data": {
"status": "succeeded",
"task_id": "866361099762425934",
"url": "https://media.crazyrouter.com/task-artifacts/2026/03/27/50/tryOnGenerate/866361099762425934.png"
}
}