/fal-ai/qwen-image-edit-lora
POST /fal-ai/qwen-image-edit-lora
说明
概览
| Method | POST |
|---|---|
| Path | /fal-ai/qwen-image-edit-lora |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 61445274 |
参数
{ "query": [], "path": [], "cookie": [], "header": [] }
请求体
{ "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" ] }, "mediaType": "", "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}" } ], "oasExtensions": "" }
响应
[ { "id": 767390792, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {}, "x-apifox-orders": [] }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [], "oasExtensions": "" } ]
响应示例
[ { "name": "成功示例", "responseId": 767390792, "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": 708601953 } ]