Submit an asynchronous image task
在线测试
提交异步图片任务
将 Gemini 原生 Nano Banana 请求加入队列,并通过 HTTP 202 获得 YingTu 任务 ID。
POST
Submit an asynchronous image task
请求体与同步方法完全一致。响应只确认任务已受理,不表示图片已经生成完成。
向调用方确认成功前先持久化返回的
task_id。当前流程没有回调 URL 或客户端幂等键。授权
YingTu API key.
路径参数
Current Nano Banana model ID.
可用选项:
gemini-2.5-flash-image, gemini-3.1-flash-lite-image, gemini-3.1-flash-image, gemini-3-pro-image 请求体
application/json
Messages sent to the model.
Minimum array length:
1Optional Gemini tools. Availability depends on the selected image model.
Configuration for tools declared in tools.
Optional cached content resource name when supported by the selected model.