v4

OpenAPI 3.1.02026-08-03427198448.4 KB
proposal-media

Iterate Proposal Media

Iterate on an existing image (uploaded or AI-generated) by passing it to the Gemini image-edit model along with a text prompt describing the desired changes. Returns a new image hosted in proposal-media, same shape as /generate so the editor can use one append helper.

post/api/proposal-media/iterate

Request body

source_urlstring required
promptstring required
modelstring

Response

Successful Response

{"stackTrail":"paths:/api/proposal-media/iterate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}