ModelSell Docs
VideosVidu Video

Vidu 参考生视频

POST
/ent/v2/reference2video

当前渠道提供 viduq2、viduq2-pro 的参考生视频。图片参考输入 1–7 张,或按官方主体格式提供 subjects。主体创建和管理 API 不在本站公开接口范围。 Q4 Preview 的图片与 sounds 字段仅说明官方协议,尚未确认本站渠道可用。Q3 Turbo 虽在官方提供参考生视频,本站当前渠道未开放此操作,不应直接将文生/图生权限视为参考权限。 使用 Bearer ModelSell API Key,并保存公共 task_id。以创建时同一 Key 查询 GET /ent/v2/tasks/{task_id}/creations;当前 off_peak 只能为 false。

Authorization

bearerAuth
AuthorizationBearer <token>

使用 Authorization Bearer API Key 进行鉴权。

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/ent/v2/reference2video" \  -H "Content-Type: application/json" \  -d '{    "model": "viduq2",    "images": [      "https://example.com/character.png",      "https://example.com/scene.png"    ],    "prompt": "参考图1中的角色在参考图2的场景中走向镜头。",    "duration": 5,    "resolution": "720p",    "aspect_ratio": "16:9",    "audio": false,    "watermark": false  }'
{
  "task_id": "task_VIDU_PUBLIC_EXAMPLE",
  "state": "created",
  "model": "viduq3-turbo"
}
Empty
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}