image, and state clearly what to change and what to preserve.
Example
The example edits the same portrait over three turns. Each turn uses the previous output as its input and keeps the earlier edits.
Watch the demo video
Request
The request of the first turn.$DREAMTO_API_KEY is your API Key.
data[0].url of the previous response as the new image and replace prompt (for example “Put black sunglasses on the person and keep everything else unchanged”). Image links are valid for 24 hours; save the image yourself to continue editing later.
Interactive editing (marking the place to change with coordinates, boxes or arrows on the image) works the same way: send the marked-up image as image, explain the marks in the prompt and ask the model to remove them. See Create image for every parameter.





