主题模式
Vidu 图生视频推荐提示词 API 文档
同步接口:立即返回推荐结果,不落库、不轮询。
服务商支持
仅 Vidu 官方渠道(同步接口)。
| 网络协议 | 请求地址 | 请求方法 |
|---|---|---|
| https | /videos/vidu/img2video-prompt-recommendation | POST |
请求头
| 字段 | 值 | 描述 |
|---|---|---|
| Content-Type | application/json | 数据交换格式 |
| Authorization | Bearer | aiping 平台鉴权 |
请求体参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
images | array | 是 | 参考图 |
type | array | 是 | 如 img2video、start_end2video、template、e_commerce |
resolution | string | 否 | 推荐提示词适配的分辨率 |
count | int | 否 | 返回推荐数量 |
详见 Vidu 官方文档。
请求示例
json
{
"images": ["https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/image2video.png"],
"type": ["img2video", "template"],
"resolution": "360p",
"count": 2
}返回说明
同步返回推荐提示词列表,顶层含 aiping_id。