> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiyi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 图片编辑报 Unable to process input image？新增 FAQ 讲清原因

> 新增 FAQ：Nano Banana 图片编辑返回 400 Unable to process input image 或 empty inlineData parameter，原因是请求里参考图的 base64 为空，与图片 URL 是否可访问无关；附逐项排查与发送前校验代码。另更新超时设置与日志用时两篇 FAQ。

**2026/10/14 13:51 (UTC+8)** · 文档更新 · Google

📚 **图片编辑报 `Unable to process input image`？多半是参考图的 base64 是空的，不是图片链接的问题**

真实工单：客户的 Nano Banana 编辑请求连续报 400，以为是腾讯云 COS 上的参考图链接无法访问。实际查下来，他发送的是 base64，只是字符串为空。`Unable to process input image` 和 `empty inlineData parameter` 两句报错是同一个原因。常见成因有三种：下载或转码那步失败、`JSON.stringify` 丢掉了值为 `undefined` 的字段、`data` 里带了 `data:` 前缀。修好后无需平台侧配置，失败的请求不扣费。

* 新增：[图片编辑报 Unable to process input image 怎么办？](/faq/gemini-empty-inlinedata)
* 更新：[如何避免接口超时？](/faq/timeout-configuration) 新增一问：timeout 设 200 秒，为什么偶尔还会超时
* 更新：[日志用时与客户端等待](/faq/log-duration-vs-client-wait) 新增两节：用时只统计最后成功的那一次；非流式请求在结果就绪前不返回响应头

***

← [返回实时动态](/live) · 📚 [按月归档](/live/archive)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.