Appearance
模型超市 Fal-ai
- 2025.06.12 本站已经支持 fal.ai
- 跟 replicate 类型,站内有很多优秀的模型 包括
flux
kling
pixverse
minimax
veo3
等
价格与计费
- 价格为 fal.ai 官网的汇率 3
- 例如:官网
/fal-ai/flux-1/dev
0.025 美刀/张 ,本站 0.075 人民币/张 就是 750 积分/张 - 计费:视频按次、图片按张张
支持的模型
- 如果你在官网发觉有更多好玩的模型,请联系管理员 把模型加入进来
模型 | 价格(美刀) | 说明 |
---|---|---|
fal-ai/flux-1/dev | 0.025 | 画图 |
fal-ai/flux-1/dev/image-to-image | 0.025 | 画图 |
fal-ai/flux-1/dev/redux | 0.025 | 画图 |
fal-ai/flux-1/schnell | 0.003 | 画图 |
fal-ai/flux-1/schnell/redux | 0.003 | 画图 |
fal-ai/flux-pro/kontext | 0.04 | 画图 |
fal-ai/flux-pro/kontext/max | 0.08 | 画图 |
fal-ai/flux-pro/kontext/max/multi | 0.08 | 画图 |
fal-ai/flux-pro/kontext/max/text-to-image | 0.08 | 画图 |
fal-ai/flux-pro/kontext/multi | 0.04 | 画图 |
fal-ai/flux-pro/kontext/text-to-image | 0.04 | 画图 |
fal-ai/kling-video/v1.6/standard/image-to-video | 0.045/s | 图生视频 |
fal-ai/kling-video/v1.6/standard/elements | 0.045/s | 2 张图片合成视频 |
fal-ai/kling-video/v1.6/standard/text-to-video | 0.045/s | 文到视频 |
fal-ai/kling-video/v1.6/pro/image-to-video | 0.095/s | 图生视频 |
fal-ai/kling-video/v1.6/pro/elements | 0.095/s | 2 张图片合成视频 |
fal-ai/kling-video/v1.6/pro/text-to-video | 0.095/s | 文生视频 |
fal-ai/kling-video/v2.1/master/image-to-video | 0.28/s | 图生视频 |
fal-ai/kling-video/v2.1/master/text-to-video | 0.28/s | 文生视频 |
fal-ai/kling-video/v2.1/pro/image-to-video | 0.09/s | 图生视频 |
fal-ai/kling-video/v2.1/standard/image-to-video | 0.05/s | 图生视频 |
fal-ai/minimax/hailuo-02/pro/text-to-video | 0.08/s | 文生视频 |
fal-ai/minimax/hailuo-02/pro/image-to-video | 0.08/s | 图生视频 |
fal-ai/minimax/hailuo-02/standard/text-to-video | 0.045/s | 文生视频 |
fal-ai/minimax/hailuo-02/standard/image-to-video | 0.045/s | 图生视频 |
fal-ai/pixverse/v4.5/effects | 0.3/5s/540p | 特效视频生成 |
fal-ai/pixverse/v4.5/image-to-video | 0.3/5s/540p | 图生视频 |
fal-ai/pixverse/v4.5/text-to-video | 0.3/5s/540p | 文生视频 |
fal-ai/pixverse/v4.5/transition | 0.3/5s/540p | 转场效果 |
fal-ai/pixverse/v4.5/image-to-video/fast | 0.6/5s/540p | 快速图生视频 |
fal-ai/pixverse/v4.5/text-to-video/fast | 0.6/5s/540p | 快速文生视频 |
Fal-ai API
- 约定 header 带上
Authorization: Bearer your-key
官网是用Authorization: key your-key
- 将官网的
https://queue.fal.run
更换为https://api.openai-hk.com
- 输入、输出、请求方式跟官网一致
1.生成任务
shell
curl --request POST \
--url https://api.openai-hk.com/fal-ai/flux-1/dev \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Extreme close-up of a single cat eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture.",
"webhook":"https://www.openai-hk.com/test/2025/fal"
}'
curl --request POST \
--url https://api.openai-hk.com/fal-ai/flux-1/dev \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Extreme close-up of a single cat eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture.",
"webhook":"https://www.openai-hk.com/test/2025/fal"
}'
返回体
json
{
"status": "IN_QUEUE",
"request_id": "551a32da-52b2-4be8-bf2f-bfb7cce2b324",
"response_url": "https://queue.fal.run/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324",
"status_url": "https://queue.fal.run/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324/status",
"cancel_url": "https://queue.fal.run/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324/cancel",
"queue_position": 0
}
{
"status": "IN_QUEUE",
"request_id": "551a32da-52b2-4be8-bf2f-bfb7cce2b324",
"response_url": "https://queue.fal.run/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324",
"status_url": "https://queue.fal.run/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324/status",
"cancel_url": "https://queue.fal.run/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324/cancel",
"queue_position": 0
}
- 说明 返回体中的
response_url
为下一步 请求链接 需要将https://queue.fal.run
替换为https://api.openai-hk.com
2.获取任务任务
- 获取结果有时效 请主要保存
get https://api.openai-hk.com/fal-ai/{modelname}/requests/{request_id}
shell
curl --request GET \
--url https://api.openai-hk.com/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324 \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json'
curl --request GET \
--url https://api.openai-hk.com/fal-ai/flux-1/requests/551a32da-52b2-4be8-bf2f-bfb7cce2b324 \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json'
- 返回体.图片
- 结果在
images
json
{
"images": [
{
"url": "https://v3.fal.media/files/rabbit/aQEmU4lEKKIIr9cDOChUB.png",
"width": 1024,
"height": 768,
"content_type": "image/png"
}
],
"timings": {
"inference": 1.2249955059960485
},
"seed": 920212137,
"has_nsfw_concepts": [false],
"prompt": "Extreme close-up of a single cat eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture."
}
{
"images": [
{
"url": "https://v3.fal.media/files/rabbit/aQEmU4lEKKIIr9cDOChUB.png",
"width": 1024,
"height": 768,
"content_type": "image/png"
}
],
"timings": {
"inference": 1.2249955059960485
},
"seed": 920212137,
"has_nsfw_concepts": [false],
"prompt": "Extreme close-up of a single cat eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture."
}
- 返回体.视频
- 结果在
video
json
{
"video": {
"url": "https://v3.fal.media/files/lion/eSsTNfWQRXfWGim1B8ZL5_output.mp4",
"content_type": "video/mp4",
"file_name": "output.mp4",
"file_size": 946834
}
}
{
"video": {
"url": "https://v3.fal.media/files/lion/eSsTNfWQRXfWGim1B8ZL5_output.mp4",
"content_type": "video/mp4",
"file_name": "output.mp4",
"file_size": 946834
}
}
- 获取结果
有时效
请注意保存
3.webhook
- 请求的请求体重加上
webhook
shell
curl --request POST \
--url https://api.openai-hk.com/fal-ai/flux-1/dev \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Extreme close-up of a single lion eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture.",
"webhook":"https://www.openai-hk.com/test/2025/fal"
}'
curl --request POST \
--url https://api.openai-hk.com/fal-ai/flux-1/dev \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Extreme close-up of a single lion eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture.",
"webhook":"https://www.openai-hk.com/test/2025/fal"
}'
- webhook 返回体
json
{
"error": null,
"gateway_request_id": "b01f5d0b-f1af-4fa4-8ce8-e7c95443a371",
"payload": {
"has_nsfw_concepts": [false],
"images": [
{
"content_type": "image/png",
"height": 768,
"url": "https://v3.fal.media/files/penguin/18jZb9sRUbM821zMc-NvE.png",
"width": 1024
}
],
"prompt": "Extreme close-up of a single lion eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture.",
"seed": 1181491507,
"timings": {
"inference": 1.2419291511178017
}
},
"request_id": "b01f5d0b-f1af-4fa4-8ce8-e7c95443a371",
"status": "OK"
}
{
"error": null,
"gateway_request_id": "b01f5d0b-f1af-4fa4-8ce8-e7c95443a371",
"payload": {
"has_nsfw_concepts": [false],
"images": [
{
"content_type": "image/png",
"height": 768,
"url": "https://v3.fal.media/files/penguin/18jZb9sRUbM821zMc-NvE.png",
"width": 1024
}
],
"prompt": "Extreme close-up of a single lion eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"openai-hk\" is painted over it in big, white brush strokes with visible texture.",
"seed": 1181491507,
"timings": {
"inference": 1.2419291511178017
}
},
"request_id": "b01f5d0b-f1af-4fa4-8ce8-e7c95443a371",
"status": "OK"
}
- 如果是视频
json
{
"error": null,
"gateway_request_id": "67febee4-e93b-40d6-b4bd-8f56ca3e4e0d",
"payload": {
"video": {
"content_type": "video/mp4",
"file_name": "output.mp4",
"file_size": 2570741,
"url": "https://v3.fal.media/files/elephant/6_YXqTHyBrAbsDshA-VOB_output.mp4"
}
},
"request_id": "67febee4-e93b-40d6-b4bd-8f56ca3e4e0d",
"status": "OK"
}
{
"error": null,
"gateway_request_id": "67febee4-e93b-40d6-b4bd-8f56ca3e4e0d",
"payload": {
"video": {
"content_type": "video/mp4",
"file_name": "output.mp4",
"file_size": 2570741,
"url": "https://v3.fal.media/files/elephant/6_YXqTHyBrAbsDshA-VOB_output.mp4"
}
},
"request_id": "67febee4-e93b-40d6-b4bd-8f56ca3e4e0d",
"status": "OK"
}