FAL 图片结果查询 - QuickRouter API 中转接口
▼
Authorization
在 Header 添加参数 Authorization,其值为 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
概述
请求示例代码
curl --location --request GET 'https://api.quickrouter.ai/fal-ai/{model_name}/requests/{request_id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
s t-shirt.",
"request": {
"prompt": "Put the little duckling on top of the woman's t-shirt.",
"image_urls": [
"https://v3.fal.media/files/penguin/XoW0qavfF-ahg-jX4BMyL_image.webp",
"https://v3.fal.media/files/tiger/bml6YA7DWJXOigadvxk75_image.webp"
],
"num_images": 1,
"output_format": "jpeg",
"guidance_scale": 3.5,
"safety_tolerance": "2"
},
"timings": {},
"has_nsfw_concepts": [
false
]
}'
返回响应
响应参数 🟢 200 OK · application/json
object
可选
{ "seed": 2841475369, "images": [ { "url": "https://fal.media/files/tiger/BwdOcvXOx0UmkCyCMZGmZ_1ee10db761e146a28fdaadafa528d239.jpg", "width": 1024, "height": 1024, "content_type": "image/jpeg" } ], "prompt": "Put the little duckling on top of the woman's t-shirt.", "request": { "prompt": "Put the little duckling on top of the woman's t-shirt.", "image_urls": [ "https://v3.fal.media/files/penguin/XoW0qavfF-ahg-jX4BMyL_image.webp", "https://v3.fal.media/files/tiger/bml6YA7DWJXOigadvxk75_image.webp" ], "num_images": 1, "output_format": "jpeg", "guidance_scale": 3.5, "safety_tolerance": "2" }, "timings": {}, "has_nsfw_concepts": [
false
可选
] }
常见错误
- 401 认证失败:检查 API Key 是否正确
- 429 请求限流:降低调用频率或升级套餐
- 500 服务器错误:稍后重试
注意事项
- 请确保 API Key 有足够的余额
- 请求频率受 API 限制,请参考价格页面