PoloAPI 接口文档
首页Polo首页
首页Polo首页
  1. FLUX
  • 模型接口
    • 调用基础
      • 常见问题及解决办法
      • 批量请求示例
    • Openai
      • 文本生成
      • 文本生成---上下文阅读
      • 图片理解
      • 图片生成(gpt-image-1)
      • 图片编辑/edits
      • 图片编辑 / 网页版
      • 函数调用 tools
      • v1/Responses / 通用
      • 创建文本嵌入
      • 批量创建嵌入
      • 文本转语音 / TTS
      • 语音转文本 / whisper-1
      • 语音转文本 / gpt-4o-transcribe
      • 音频翻译
      • Audio接口 / 输出
      • Audio接口 / 输入
      • 内容补全接口
      • 创建内容审核
      • PDF文件分析
      • deep-research / 深度研究
      • Web search / 联网搜索
      • response_format
    • Anthropic Claude
      • 原生接口
        • 文本生成
        • 图片理解
        • 文本生成 / 强制返回思考
        • 函数调用
        • Web search / 联网搜索
        • 文本生成 (思考配置)
      • OpenAI兼容接口
        • 文本生成
        • 图片理解
        • 文本生成 / 强制返回思考
        • 函数调用
        • Web search / 联网搜索
    • Google Gemini
      • OpenAI兼容接口(推荐)
        • 文本生成
        • 文本生成 / 强制返回思考
        • 图片理解
        • 图片生成
        • 图片修改
        • 图片生成 / Imagen 4
        • 音频理解
        • 视频理解
        • 文本转语音 / TTS
        • 图片编辑(Nano-banana)
        • 图片编辑(Nano-banana) base64格式
      • Google Gemini接口
        • 文本生成
        • 文字转语音
        • 音频转文
        • 视频转文
        • 图片理解
        • 图片编辑(gemini-2.5-flash-image-preview)
    • Midjourney
      • Openai兼容/chat格式
        • MJ视频 (chat格式)
      • 原生接口
        • 文生图(Imagine)
        • 图片融合(Blend)
        • 按钮点击(Action)
        • 窗口执行(Modal)
        • 生成视频(Video)
        • 图生文(Describe)
        • 编辑图片(Edit)
        • 上传(upload)
        • 换脸(FaceSwap)
        • 缩短提示词(Shorten)
        • 查询
        • 获取种子(Seed)接口
        • 批量查询
        • 文生图 / OpenAI兼容
    • 文生图接口
      • flux / OpenAI兼容接口
      • flux-kontext-pro / OpenAI兼容接口
      • stable-diffusion / OpenAI兼容接口
      • ideogram / OpenAI兼容接口
      • recraftv3 / OpenAI兼容接口
      • flux携带参考图 / OpenAI兼容接口
    • Suno
      • 生成歌曲
      • 生成歌词
      • 查询任务状态(批量)
      • 查询任务状态(单个)
    • 3D模型
      • Hunyuan3D-2
    • veo
      • 图生视频
      • 文生视频
      • 查询视频生成状态
      • 图生视频(chat格式)
    • FLUX
      • /fal-ai/nano-banana 文生图
        POST
      • /fal-ai/nano-banana/edit 图片编辑
        POST
    • 豆包
      • doubao-seedream-4-0-250828-文生图
      • doubao-seedream-4-0-250828-图生图
      • doubao-seedream-4-0-250828-多图生图
  1. FLUX

/fal-ai/nano-banana 文生图

正式环境
https://poloai.top
正式环境
https://poloai.top
POST
https://poloai.top
/fal-ai/nano-banana
最后修改时间:2025-08-27 10:40:26
官方文档: https://fal.ai/models/fal-ai/nano-banana

请求参数

Header 参数

Body 参数application/json

示例
{
    "prompt": "An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.",
    "num_images": 1
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://poloai.top/fal-ai/nano-banana' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "prompt": "An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it'\''s mouth, and it'\''s paws paddling underwater.",
    "num_images": 1
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "status": "IN_QUEUE",
    "request_id": "e7e9202c-efb8-40f2-81c3-13b3f7aaa4ca",
    "response_url": "https://queue.fal.run/fal-ai/nano-banana/requests/e7e9202c-efb8-40f2-81c3-13b3f7aaa4ca",
    "status_url": "https://queue.fal.run/fal-ai/nano-banana/requests/e7e9202c-efb8-40f2-81c3-13b3f7aaa4ca/status",
    "cancel_url": "https://queue.fal.run/fal-ai/nano-banana/requests/e7e9202c-efb8-40f2-81c3-13b3f7aaa4ca/cancel",
    "logs": null,
    "metrics": {},
    "queue_position": 0
}
修改于 2025-08-27 10:40:26
上一页
图生视频(chat格式)
下一页
/fal-ai/nano-banana/edit 图片编辑
Built with