跳到主要内容

Gabrielle gemini-3-pro-image 图片生成(Interactions)

POST 

/v1beta/interactions

使用官方 Interactions API 为 gemini-3-pro-image 创建 Gemini 图片交互。网关按原始 JSON / SSE 透传,不转换成 Chat Completions,也不走 generateContent。POST /v1/interactions 行为相同,并保留客户端选择的版本号。

鉴权、流式事件、计费以及与直连 Google 的差异见 Interactions API 总览。

流式经常只出思考、不出成品图。流式出图请优先使用 gemini-3.1-flash-image。

Request

Responses

Interaction created. Non-stream JSON is the official Interaction object. Stream responses are text/event-stream.