官方文档: https://fal.ai/models/fal-ai/qwen-image-edit-lora
POST
/fal-ai/qwen-image-edit-lora/fal-ai/qwen-image-edit-lora
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/fal-ai/qwen-image-edit-lora \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Change bag to apple macbook",
"num_inference_steps": 30,
"guidance_scale": 4,
"num_images": 1,
"enable_safety_checker": true,
"output_format": "png",
"image_url": "https://v3.fal.media/files/koala/oei_-iPIYFnhdB8SxojND_qwen-edit-res.png",
"negative_prompt": "blurry, ugly",
"acceleration": "regular"
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
prompt | JSON body | string | 是 | 提示词 | - |
num_inference_steps | JSON body | integer | 否 | 范围值:2-100 | - |
guidance_scale | JSON body | integer | 否 | 范围值:2-100 | - |
num_images | JSON body | integer | 否 | 生成图片数量,范围值:1-4 | - |
enable_safety_checker | JSON body | boolean | 否 | 启用安全检查,默认值:true | - |
output_format | JSON body | string | 否 | 输出图片格式,支持:jpeg、png | - |
image_url | JSON body | string | 是 | 图片url | - |
negative_prompt | JSON body | string | 否 | - | - |
acceleration | JSON body | string | 否 | 图像生成的加速级别。枚举值: 'none', 'regular','high' | - |
返回响应 (200)
此部分没有定义参数。
响应示例
{
"status": "IN_QUEUE",
"request_id": "5044e7a4-d38d-4c8a-81de-c9160c9ec005",
"response_url": "https://queue.fal.run/fal-ai/qwen-image-edit-lora/requests/5044e7a4-d38d-4c8a-81de-c9160c9ec005",
"status_url": "https://queue.fal.run/fal-ai/qwen-image-edit-lora/requests/5044e7a4-d38d-4c8a-81de-c9160c9ec005/status",
"cancel_url": "https://queue.fal.run/fal-ai/qwen-image-edit-lora/requests/5044e7a4-d38d-4c8a-81de-c9160c9ec005/cancel",
"logs": null,
"metrics": {},
"queue_position": 0
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 495899899,
"name": "/fal-ai/qwen-image-edit-lora",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "官方文档: https://fal.ai/models/fal-ai/qwen-image-edit-lora",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/fal-ai/qwen-image-edit-lora",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "提示词"
},
"num_inference_steps": {
"type": "integer",
"description": "范围值:2-100"
},
"guidance_scale": {
"type": "integer",
"description": "范围值:2-100"
},
"num_images": {
"type": "integer",
"description": "生成图片数量,范围值:1-4"
},
"enable_safety_checker": {
"type": "boolean",
"description": "启用安全检查,默认值:true"
},
"output_format": {
"type": "string",
"description": "输出图片格式,支持:jpeg、png"
},
"image_url": {
"type": "string",
"description": "图片url"
},
"negative_prompt": {
"type": "string"
},
"acceleration": {
"type": "string",
"description": "图像生成的加速级别。枚举值: 'none', 'regular','high'"
}
},
"required": [
"prompt",
"image_url"
],
"x-apifox-orders": [
"prompt",
"num_inference_steps",
"guidance_scale",
"num_images",
"enable_safety_checker",
"output_format",
"image_url",
"negative_prompt",
"acceleration"
]
},
"examples": [
{
"mediaType": "application/json",
"value": "{\r\n \"prompt\": \"Change bag to apple macbook\",\r\n \"num_inference_steps\": 30,\r\n \"guidance_scale\": 4,\r\n \"num_images\": 1,\r\n \"enable_safety_checker\": true,\r\n \"output_format\": \"png\",\r\n \"image_url\": \"https://v3.fal.media/files/koala/oei_-iPIYFnhdB8SxojND_qwen-edit-res.png\",\r\n \"negative_prompt\": \"blurry, ugly\",\r\n \"acceleration\": \"regular\"\r\n}"
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 165007609,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 165007609,
"data": "{\r\n \"status\": \"IN_QUEUE\",\r\n \"request_id\": \"5044e7a4-d38d-4c8a-81de-c9160c9ec005\",\r\n \"response_url\": \"https://queue.fal.run/fal-ai/qwen-image-edit-lora/requests/5044e7a4-d38d-4c8a-81de-c9160c9ec005\",\r\n \"status_url\": \"https://queue.fal.run/fal-ai/qwen-image-edit-lora/requests/5044e7a4-d38d-4c8a-81de-c9160c9ec005/status\",\r\n \"cancel_url\": \"https://queue.fal.run/fal-ai/qwen-image-edit-lora/requests/5044e7a4-d38d-4c8a-81de-c9160c9ec005/cancel\",\r\n \"logs\": null,\r\n \"metrics\": {},\r\n \"queue_position\": 0\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4e07-74ea-bc26-a5a8d2f0f806"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436089,
"ordering": 84,
"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.165007609"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}