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/flux-pro/new0.05画图
fal-ai/flux-pro/v1.10.04画图
fal-ai/flux-pro/v1.1-ultra0.06画图
fal-ai/flux-pro/v1.1-ultra/redux0.05画图
fal-ai/flux-pro/v1.1/redux0.05画图
fal-ai/flux-pro/v1.1-ultra-finetuned0.07画图
fal-ai/kling-video/v1.6/standard/image-to-video0.045/s图生视频
fal-ai/kling-video/v1.6/standard/elements0.045/s2 张图片合成视频
fal-ai/kling-video/v1.6/standard/text-to-video0.045/s文到视频
fal-ai/kling-video/v1.6/pro/image-to-video0.095/s图生视频
fal-ai/kling-video/v1.6/pro/elements0.095/s2 张图片合成视频
fal-ai/kling-video/v1.6/pro/text-to-video0.095/s文生视频
fal-ai/kling-video/v2.1/master/image-to-video0.28/s图生视频
fal-ai/kling-video/v2.1/master/text-to-video0.28/s文生视频
fal-ai/kling-video/v2.1/pro/image-to-video0.09/s图生视频
fal-ai/kling-video/v2.1/standard/image-to-video0.05/s图生视频
fal-ai/minimax/hailuo-02/pro/text-to-video0.08/s文生视频
fal-ai/minimax/hailuo-02/pro/image-to-video0.08/s图生视频
fal-ai/minimax/hailuo-02/standard/text-to-video0.045/s文生视频
fal-ai/minimax/hailuo-02/standard/image-to-video0.045/s图生视频
fal-ai/minimax/speech-02-turbo0.06/k文转音频
fal-ai/pixverse/v4.5/effects0.15/5s/540p特效视频生成
fal-ai/pixverse/v4.5/image-to-video0.15/5s/540p图生视频
fal-ai/pixverse/v4.5/text-to-video0.15/5s/540p文生视频
fal-ai/pixverse/v4.5/transition0.15/5s/540p转场效果
fal-ai/pixverse/extend0.15/5s/540p视频扩展
fal-ai/pixverse/sound-effects0.1/5s音效
fal-ai/pixverse/extend/fast0.3/5s/540p视频扩展
fal-ai/pixverse/v4.5/image-to-video/fast0.3/5s/540p快速图生视频
fal-ai/pixverse/v4.5/text-to-video/fast0.3/5s/540p快速文生视频
fal-ai/veo30.5/sgoogle 视频
带音频1.5倍
fal-ai/veo3/fast0.25/sgoogle 视频
带音频1.6倍
fal-ai/luma-dream-machine0.5Luma 文生视频
fal-ai/luma-dream-machine/image-to-video0.5Luma 图生视频
fal-ai/luma-dream-machine/ray-20.5Luma Ray-2 文生视频
fal-ai/luma-dream-machine/ray-2/image-to-video0.5Ray-2 图生视频
fal-ai/luma-dream-machine/ray-2-flash0.2Ray-2 Flash(快速版)
fal-ai/luma-dream-machine/ray-2-flash/image-to-video0.2Ray-2 Flash 图生视频
fal-ai/elevenlabs/speech-to-text0.03/分钟音频转文
fal-ai/topaz/upscale/video0.1/s视频转换 高清
fal-ai/luma-dream-machine/ray-2/reframe0.2/s视频转换 高清
fal-ai/elevenlabs/tts/turbo-v2.50.05/k文转音频
fal-ai/elevenlabs/tts/multilingual-v20.1/k文转音频
fal-ai/bytedance/seedance/v1/lite/text-to-video1.8/百万 token字节 文生视频
fal-ai/bytedance/seedance/v1/lite/image-to-video1.8/百万 token字节 图生视频
fal-ai/bytedance/seedance/v1/pro/text-to-video2.5/百万 token字节 文生视频
fal-ai/bytedance/seedance/v1/pro/image-to-video2.5/百万 token字节 图生视频
fal-ai/ai-avatar/multi0.3/s图+音频生视频
多人
fal-ai/ai-avatar0.3/s图+音频生视频
fal-ai/pika/v1.5/pikaffects0.465特效视频
fal-ai/pika/v2.1/image-to-video0.4图生视频
fal-ai/pika/v2.1/text-to-video0.4文生视频
fal-ai/pika/v2/turbo/image-to-video0.2图生视频
fal-ai/pika/v2/turbo/text-to-video0.2文生视频
fal-ai/pika/v2.2/text-to-video0.2/5s/720p文生视频
1080p是2.25倍
fal-ai/pika/v2.2/image-to-video0.2/5s/720p图生视频
fal-ai/pika/v2.2/pikascenes0.2/5s/720p视频 8s是2倍
fal-ai/pika/v2/pikaswaps0.465视频
fal-ai/ltxv-13b-098-distilled/image-to-video0.02/s图生视频
fal-ai/ltxv-13b-098-distilled/text-to-video0.02/s文生视频
fal-ai/ltxv-13b-098-distilled/multiconditioning0.02/s视频
fal-ai/fashn/tryon/v1.50.075换衣服
fal-ai/fashn/tryon/v1.60.075换衣服
fal-ai/imagen4/preview0.04文生图
fal-ai/imagen4/preview/fast0.02文生图
fal-ai/imagen4/preview/ultra0.06文生图
fal-ai/vidu/q1/start-end-to-video0.4视频
fal-ai/vidu/q1/image-to-video0.4图生视频
fal-ai/vidu/q1/reference-to-video0.4视频
fal-ai/vidu/q1/text-to-video0.4文生视频
fal-ai/vidu/start-end-to-video0.2视频
fal-ai/vidu/image-to-video0.2图生视频
fal-ai/vidu/reference-to-video0.4视频
fal-ai/vidu/template-to-video0.5模版生视频

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

其他说明

1.计时

  • 有很多模型的计费都是按 url 的视频或者音频的时长来计算的,所以这里需要返回给前端

  • media_duration: 5.511813 单位:秒

  • 当前 需要拿到 media_duration的计费的模型有:

    模型计费单位
    fal-ai/elevenlabs/speech-to-text分钟
    fal-ai/topaz/upscale/video
    fal-ai/luma-dream-machine/ray-2/reframe
  • 举例

shell
curl --request POST \
  --url https://api.openai-hk.com/fal-ai/elevenlabs/speech-to-text \
  --header 'Authorization: Bearer hk-your-hk-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "audio_url": "https://v3.fal.media/files/zebra/zJL_oRY8h5RWwjoK1w7tx_output.mp3",
     "language_code": "eng",
     "tag_audio_events": true,
     "diarize": true,
     "webhook":"https://www.openai-hk.com/test/2025/fal"
}'
curl --request POST \
  --url https://api.openai-hk.com/fal-ai/elevenlabs/speech-to-text \
  --header 'Authorization: Bearer hk-your-hk-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "audio_url": "https://v3.fal.media/files/zebra/zJL_oRY8h5RWwjoK1w7tx_output.mp3",
     "language_code": "eng",
     "tag_audio_events": true,
     "diarize": true,
     "webhook":"https://www.openai-hk.com/test/2025/fal"
}'
  • 返回中 有带 media_duration
json
{
  "cancel_url": "https://queue.fal.run/fal-ai/elevenlabs/requests/1a31e6a8-0bdc-4193-aa27-df17a2ef1d14/cancel",
  "logs": null,
  "media_duration": 5.511813,
  "metrics": {},
  "queue_position": 0,
  "request_id": "1a31e6a8-0bdc-4193-aa27-df17a2ef1d14",
  "response_url": "https://queue.fal.run/fal-ai/elevenlabs/requests/1a31e6a8-0bdc-4193-aa27-df17a2ef1d14",
  "status": "IN_QUEUE",
  "status_url": "https://queue.fal.run/fal-ai/elevenlabs/requests/1a31e6a8-0bdc-4193-aa27-df17a2ef1d14/status"
}
{
  "cancel_url": "https://queue.fal.run/fal-ai/elevenlabs/requests/1a31e6a8-0bdc-4193-aa27-df17a2ef1d14/cancel",
  "logs": null,
  "media_duration": 5.511813,
  "metrics": {},
  "queue_position": 0,
  "request_id": "1a31e6a8-0bdc-4193-aa27-df17a2ef1d14",
  "response_url": "https://queue.fal.run/fal-ai/elevenlabs/requests/1a31e6a8-0bdc-4193-aa27-df17a2ef1d14",
  "status": "IN_QUEUE",
  "status_url": "https://queue.fal.run/fal-ai/elevenlabs/requests/1a31e6a8-0bdc-4193-aa27-df17a2ef1d14/status"
}
  • 计费: 5.511813*0.03/60*3*10000=82.677

2.bytedance

  • bytedance/seedance 相关计费: 1080p 5s pro 版本是 0.62 美刀, 720p 5s lite 版本是 0.18 美刀 ;
  • token 倍数 720p:1080p =1:2.25480p:1080p =1:5.0625
  • token 倍数参考