获取请求结果
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 | 65457371 |
参数
{ "path": [ { "id": "model_name#0", "name": "model_name", "required": true, "description": "模型名称", "type": "string", "enable": true, "sampleValue": "auto" }, { "id": "request_id#0", "name": "request_id", "required": true, "description": "任务id", "type": "string", "enable": true, "sampleValue": "acf05732-7cb3-445b-9f39-fdaeccb1d730" } ] }
请求体
{ "type": "none", "parameters": [], "required": false, "mediaType": "", "examples": [], "oasExtensions": "" }
响应
[ { "id": 758238725, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [], "oasExtensions": "" } ]
响应示例
[ { "name": "成功示例", "responseId": 758238725, "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": 673419371 } ]