-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
I'm attempting to edit an image using an Enterprise deployment of Azure gpt-image-1, however I'm receiving a 404 from <base azure endpoint>/openai/images/edits?api-version=2025-04-15-preview
Looking at the documentation on Azure, the request is instead meant to be going to
<base azure endpoint>/openai/deployments/gpt-image-1/images/edits?api-version=2025-04-15-preview
output, err := c.client.Images.Edit(ctx, openai.ImageEditParams{
Prompt: prompt,
Model: openai.ImageModelGPTImage1,
Image: img,
N: openai.Int(1),
})
This is resolved in #477
Metadata
Metadata
Assignees
Labels
No labels