Skip to content

Azure gpt-image-1 Deployment Name #476

@luisjones

Description

@luisjones

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions