fal-ai/*

异步任务

支持 Fal 官方所有模型调用,具体请求参数请看官方模型文档: 提交任务会预扣,任务成功后多退少补,任务失败会补回 计费方式与 Fal.ai 一致,查询接口有返回消费

官 稳 保
¥--已优惠¥--
----
  • 申请赠送05000000 Tokens

    约¥0/ 5百万Tokens

  • 一元试用11000000 Tokens

    约¥1/百万Token

  • fal.ai-all5request

    按量计费

· 首次申请送500万Token
  • 使用文档

  • 附件资料

  • 计费明细

模型信息

模型 IDfal-ai/*供应商Fal-ai
输入模态未注明输出模态未注明
分类未注明发布时间1970-01-01 07:59:59

调用接口

分组接口渠道方法路径
FLUX.1 Kontext [Max Multi](实验性多图编辑)FLUX.1 Kontext [Max Multi](实验性多图编辑)本站 AI 中转站POST/fal-ai/flux-pro/kontext/max/multi

POST /fal-ai/flux-pro/kontext/max/multi

请求与响应结构
{
    "summary": "FLUX.1 Kontext [Max Multi](实验性多图编辑)",
    "responses": {
        "200": {
            "content": {
                "application/json": {
                    "schema": {
                        "type": "object",
                        "title": "FluxKontextOutput 响应体",
                        "required": [
                            "status",
                            "request_id",
                            "response_url",
                            "status_url",
                            "cancel_url",
                            "queue_position"
                        ],
                        "properties": {
                            "status": {
                                "type": "string"
                            },
                            "cancel_url": {
                                "type": "string"
                            },
                            "request_id": {
                                "type": "string"
                            },
                            "status_url": {
                                "type": "string"
                            },
                            "response_url": {
                                "type": "string"
                            },
                            "queue_position": {
                                "type": "integer"
                            }
                        }
                    }
                }
            },
            "description": "成功"
        }
    },
    "parameters": [],
    "description": "",
    "requestBody": {
        "content": {
            "application/json": {
                "schema": {
                    "type": "object",
                    "title": "FLUX.1 Kontext [Max Multi](实验性多图编辑)",
                    "$schema": "",
                    "required": [
                        "prompt",
                        "image_urls"
                    ],
                    "properties": {
                        "seed": {
                            "type": "integer",
                            "description": "随机种子,传入相同参数时图片结果保持一致"
                        },
                        "prompt": {
                            "type": "string",
                            "examples": [
                                "Put the little duckling on top of the woman's t-shirt."
                            ],
                            "description": "文本描述,模型将根据该描述及图片内容进行编辑"
                        },
                        "sync_mode": {
                            "type": "boolean",
                            "default": false,
                            "description": "同步模式。true时会等待图片生成并上传再返回,适合需要直接获得图片内容时"
                        },
                        "image_urls": {
                            "type": "array",
                            "items": {
                                "type": "string",
                                "format": "uri",
                                "description": "图片的公网可访问URL,如"
                            },
                            "minItems": 1,
                            "description": "批量编辑的图片列表,支持多张图片"
                        },
                        "num_images": {
                            "type": "integer",
                            "default": 1,
                            "maximum": 4,
                            "minimum": 1,
                            "description": "生成图片数量"
                        },
                        "aspect_ratio": {
                            "enum": [
                                "21:9",
                                "16:9",
                                "4:3",
                                "3:2",
                                "1:1",
                                "2:3",
                                "3:4",
                                "9:16",
                                "9:21"
                            ],
                            "type": "string",
                            "description": "输出图片比例"
                        },
                        "output_format": {
                            "enum": [
                                "jpeg",
                                "png"
                            ],
                            "type": "string",
                            "default": "jpeg",
                            "description": "输出图片格式"
                        },
                        "guidance_scale": {
                            "type": "number",
                            "default": 3.5,
                            "description": "提示词遵循程度 (Classifier Free Guidance Scale),数值越大越贴合prompt"
                        },
                        "safety_tolerance": {
                            "enum": [
                                "1",
                                "2",
                                "3",
                                "4",
                                "5",
                                "6"
                            ],
                            "type": "string",
                            "default": "2",
                            "description": "安全容忍度,1最严格(内容少),6最宽松(内容多)"
                        }
                    },
                    "x-apifox-id": "309299431"
                }
            }
        },
        "required": true
    }
}

价格

价格组渠道计费项价格单位
fal.ai-all AI 中转站requestCNY 5request

服务级错误码参照(error_code):

  错误码 说明
  221301 数据源超时
  221303 认证失败

认证失败,请稍后重试
认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复
  221306 参数错误

参数错误:姓名格式不正确
参数错误:手机号格式不正确
参数错误:身份证格式不正确
参数错误:银行卡号格式不正确
同一银行卡请求过于频繁

系统级错误码参照:

  错误码 说明
  10001 错误的请求KEY
  10002 该KEY无请求权限
  10003 KEY过期
  10004 错误的OPENID
  10005 应用未审核超时,请提交认证
  10007 未知的请求源
  10008 被禁止的IP
  10009 被禁止的KEY
  10011 当前IP请求超过限制
  10012 请求超过次数限制
  10013 测试KEY超过请求限制
  10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失)
  10020 接口维护
  10021 接口停用

错误码格式说明(示例:200201):

  2 002 01
  服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

使用文档下载

fal-ai/*
--
今日调用
--
成功率
--
近期调用

推荐API

  • gemini-3.8-flash-thinking-medium

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。
  • gemini-3.7-flash-thinking-low

  • gemini-3.8-flash-thinking-low

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。
  • gemini-3.7-flash-thinking-medium

  • gemini-3.8-flash-thinking-high

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。
  • gemini-3.8-flash

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。

API资讯

数 据 驱 动 未 来
Data Drives The Future
数 据 驱 动 未 来
Data Drives The Future