Skip to content

Support for editing images #8

@dkotter

Description

@dkotter

While working on a new Experiment for the AI Experiments plugin, realized that currently it isn't possible to directly use this provider to create image edits, only image generations. OpenAI has a /images/edits endpoint that I was hoping to use.

Curious if this is currently on the roadmap anywhere? Or if there are any thoughts on how best to support this?

Doing an initial review, I think it could be fully supported just within this provider package (and others that want to provide the same, like Google) but there's also changes we could make upstream in the PHP AI Client that would make things nicer (like adding an IMAGE_EDITING capability in CapabilityEnum or better support for multipart/form-data which OpenAI uses here).

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