POST https://bestapi.aqi.email/fal-ai/nano-bananaAuthorization: Bearer YOUR_TOKEN
Content-Type: application/json| 参数名 | 类型 | 必需 | 说明 | 默认值 |
|---|---|---|---|---|
| prompt | string | ✅ | 生成图片的提示词(越详细越好哦!) | - |
| num_images | integer | ❌ | 生成图片数量(1-4张) | 1 |
{
"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
}{
"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
}POST https://bestapi.aqi.email/fal-ai/nano-banana/editAuthorization: Bearer YOUR_TOKEN
Content-Type: application/json| 参数名 | 类型 | 必需 | 说明 | 默认值 |
|---|---|---|---|---|
| prompt | string | ✅ | 图像编辑的提示词(描述你想要的修改效果) | - |
| image_urls | array[string] | ✅ | 需要编辑的图片URL列表 | - |
| num_images | integer | ❌ | 生成图片数量(1-4张) | 1 |
{
"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
}{
"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
}| 字段名 | 类型 | 说明 |
|---|---|---|
| status | string | 任务状态(IN_QUEUE: 排队中) |
| request_id | string | 请求唯一标识符 |
| response_url | string | 获取结果的URL |
| status_url | string | 查询状态的URL |
| cancel_url | string | 取消任务的URL |
| queue_position | integer | 队列位置 |
status_url 查询处理进度num_images 参数支持1-4张图片同时生成 🎨response_url 获取最终结果 📥