Skip to content

模型超市 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/dev0.025画图
fal-ai/flux-1/dev/image-to-image0.025画图
fal-ai/flux-1/dev/redux0.025画图
fal-ai/flux-1/schnell0.003画图
fal-ai/flux-1/schnell/redux0.003画图
fal-ai/flux-pro/kontext0.04画图
fal-ai/flux-pro/kontext/max0.08画图
fal-ai/flux-pro/kontext/max/multi0.08画图
fal-ai/flux-pro/kontext/max/text-to-image0.08画图
fal-ai/flux-pro/kontext/multi0.04画图
fal-ai/flux-pro/kontext/text-to-image0.04画图

Fal-ai API

  • 约定 header 带上 Authorization: Bearer your-key 官网是用 Authorization: key your-key
  • 将官网的 https://queue.fal.run 更换为 https://api.openai-hk.com
  • 输入、输出、请求方式跟官网一致

1.生成任务

post https://api.openai-hk.com/{model}

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."
}'
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."
}'

返回体

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
  }
}
  • 获取结果有时效 请主要保存