Let’s take this code snippet from the docs as an example:
result = client.images.edit(
model="gpt-image-1",
image=[
open("body-lotion.png", "rb"),
open("bath-bomb.png", "rb"),
open("incense-kit.png", "rb"),
open("soap.png", "rb"),
],
prompt=prompt
)
What happens with these reference images really, internally?
I want to understand if I should talk about “reference images” in the textual prompt or if this mention is irrelevant.
Also, will the model know if I refer to any image by the filename? like… “use the same color as the soap in soap.png”.
The idea is to understand how this is working behind the scenes, to make the best out of this feature. So, any insight is welcome.
Thanks in advance!