官方文档: https://fal.ai/models/fal-ai/vidu/reference-to-image
POST
/fal-ai/vidu/reference-to-image/fal-ai/vidu/reference-to-image
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/fal-ai/vidu/reference-to-image \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"prompt": "The little devil is looking at the apple on the beach and walking around it.",
"reference_image_urls": [
"https://storage.googleapis.com/falserverless/web-examples/vidu/new-examples/reference1.png",
"https://storage.googleapis.com/falserverless/web-examples/vidu/new-examples/reference2.png",
"https://storage.googleapis.com/falserverless/web-examples/vidu/new-examples/reference3.png"
],
"aspect_ratio": "16:9"
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
prompt | JSON body | string | 是 | 提示词 | - |
reference_image_urls | JSON body | array<string> | 是 | 参考图片url | - |
aspect_ratio | JSON body | string | 否 | 图片比例,枚举值:1:1、16:9、9:16 | - |
返回响应 (200)
此部分没有定义参数。
响应示例
{
"status": "IN_QUEUE",
"request_id": "405a114e-04bd-463a-a98c-895502cfdce9",
"response_url": "https://queue.fal.run/fal-ai/vidu/requests/405a114e-04bd-463a-a98c-895502cfdce9",
"status_url": "https://queue.fal.run/fal-ai/vidu/requests/405a114e-04bd-463a-a98c-895502cfdce9/status",
"cancel_url": "https://queue.fal.run/fal-ai/vidu/requests/405a114e-04bd-463a-a98c-895502cfdce9/cancel",
"logs": null,
"metrics": {},
"queue_position": 0
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 495899897,
"name": "/fal-ai/vidu/reference-to-image",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "官方文档: https://fal.ai/models/fal-ai/vidu/reference-to-image",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/fal-ai/vidu/reference-to-image",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "提示词"
},
"reference_image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "参考图片url"
},
"aspect_ratio": {
"type": "string",
"description": "图片比例,枚举值:1:1、16:9、9:16"
}
},
"required": [
"prompt",
"reference_image_urls"
],
"x-apifox-orders": [
"prompt",
"reference_image_urls",
"aspect_ratio"
]
},
"examples": [
{
"mediaType": "application/json",
"value": "{\r\n \"prompt\": \"The little devil is looking at the apple on the beach and walking around it.\",\r\n \"reference_image_urls\": [\r\n \"https://storage.googleapis.com/falserverless/web-examples/vidu/new-examples/reference1.png\",\r\n \"https://storage.googleapis.com/falserverless/web-examples/vidu/new-examples/reference2.png\",\r\n \"https://storage.googleapis.com/falserverless/web-examples/vidu/new-examples/reference3.png\"\r\n ],\r\n \"aspect_ratio\": \"16:9\"\r\n}"
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 113894074,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 113894074,
"data": "{\r\n \"status\": \"IN_QUEUE\",\r\n \"request_id\": \"405a114e-04bd-463a-a98c-895502cfdce9\",\r\n \"response_url\": \"https://queue.fal.run/fal-ai/vidu/requests/405a114e-04bd-463a-a98c-895502cfdce9\",\r\n \"status_url\": \"https://queue.fal.run/fal-ai/vidu/requests/405a114e-04bd-463a-a98c-895502cfdce9/status\",\r\n \"cancel_url\": \"https://queue.fal.run/fal-ai/vidu/requests/405a114e-04bd-463a-a98c-895502cfdce9/cancel\",\r\n \"logs\": null,\r\n \"metrics\": {},\r\n \"queue_position\": 0\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fc09b-0b32-74f2-944a-f011f56fff27"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436089,
"ordering": 72,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-02T03:53:34.000Z",
"updatedAt": "2026-08-05T14:40:24.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [
"BLANK.113894074"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}