Using API for Image Variation with Prompt

Hello,
I am using ChatGpt to perform image variation with a prompt :

  • I upload the image
  • I use a prompt like “Transform the uploaded image into an image that resembles to …”

I would like to achieve the same goal using the API.
My code is working well for simple image variation but the image endpoint for variation (openai.images.createVariation(…)) do not allow prompting
Could you please advice me a workarround for image variation with prompt trought API ?
Have a nice day
P.

1 Like

I have try of course to achieve this goal using an Assistant but currently there is no DallE support in Assistant