获取请求结果
GET /fal-ai/{model_name}/requests/{request_id}
概览
| Method | GET |
|---|---|
| Path | /fal-ai/{model_name}/requests/{request_id} |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 61445274 |
参数
{ "query": [], "path": [ { "id": "model_name#0", "name": "model_name", "required": true, "enable": true, "description": "模型名称,auto 我们系统会自动判断model_name", "type": "string", "sampleValue": "auto" }, { "id": "request_id#0", "name": "request_id", "required": true, "enable": true, "description": "任务id", "type": "string", "sampleValue": "5ed6b6bb-eaa3-4006-859b-e2f3fa748d8c" } ], "cookie": [], "header": [] }
请求体
{ "type": "none", "parameters": [], "mediaType": "", "examples": [], "oasExtensions": "" }
响应
[ { "id": 719668069, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {}, "x-apifox-orders": [] }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [], "oasExtensions": "" } ]
响应示例
[ { "name": "成功示例", "responseId": 719668069, "data": "{\r\n \"seed\": 2841475369,\r\n \"images\": [\r\n {\r\n \"url\": \"https://fal.media/files/tiger/BwdOcvXOx0UmkCyCMZGmZ_1ee10db761e146a28fdaadafa528d239.jpg\",\r\n \"width\": 1024,\r\n \"height\": 1024,\r\n \"content_type\": \"image/jpeg\"\r\n }\r\n ],\r\n \"prompt\": \"Put the little duckling on top of the woman's t-shirt.\",\r\n \"request\": {\r\n \"prompt\": \"Put the little duckling on top of the woman's t-shirt.\",\r\n \"image_urls\": [\r\n \"https://v3.fal.media/files/penguin/XoW0qavfF-ahg-jX4BMyL_image.webp\",\r\n \"https://v3.fal.media/files/tiger/bml6YA7DWJXOigadvxk75_image.webp\"\r\n ],\r\n \"num_images\": 1,\r\n \"output_format\": \"jpeg\",\r\n \"guidance_scale\": 3.5,\r\n \"safety_tolerance\": \"2\"\r\n },\r\n \"timings\": {},\r\n \"has_nsfw_concepts\": [\r\n false\r\n ]\r\n}", "description": "", "oasKey": "", "oasExtensions": "", "id": 641290670 } ]