Skip to content

/fal-ai/nano-banana/edit 图片编辑

POST https://aiapi.winfull.top/fal-ai/nano-banana/edit 官方文档: https://fal.ai/models/fal-ai/nano-banana/edit

请求参数

Body 参数application/json 生成代码 示例

{
  "prompt": "make a photo of the man driving the car down the california coastline",
  "image_urls": [
    "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
    "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
  ],
  "num_images": 1
}

请求示例代码

Shell JavaScript Java Swift Go PHP Python HTTP C C# Objective-C Ruby OCaml Dart R 请求示例请求示例 Shell JavaScript Java Swift cURLcURL-WindowsHttpiewgetPowerShell

curl --location --request POST 'https://aiapi.winfull.top/fal-ai/nano-banana/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
  "prompt": "make a photo of the man driving the car down the california coastline",
  "image_urls": [
    "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
    "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
  ],
  "num_images": 1
}'

返回响应

🟢200成功 application/json生成代码 Body 生成代码 示例

{
    "status": "IN_QUEUE",
    "request_id": "f8837f29-26cb-4213-90f5-22b2911a0ea7",
    "response_url": "https://queue.fal.run/fal-ai/nano-banana/requests/f8837f29-26cb-4213-90f5-22b2911a0ea7",
    "status_url": "https://queue.fal.run/fal-ai/nano-banana/requests/f8837f29-26cb-4213-90f5-22b2911a0ea7/status",
    "cancel_url": "https://queue.fal.run/fal-ai/nano-banana/requests/f8837f29-26cb-4213-90f5-22b2911a0ea7/cancel",
    "logs": null,
    "metrics": {},
    "queue_position": 0
}

修改于 2025-11-14 15:11:18

🚀 伝富AI-API文档 - 强大的AI接口平台