Skip to content

Add support for reference images in Agents SDK for image generation #1017

Open
@kailasa-l4

Description

@kailasa-l4

I’m building an application that uses the Agents SDK to generate images based on user-provided reference images—similar to the /image/edits endpoint. Currently, there doesn’t appear to be a way to pass reference image files or URLs through the Agents SDK.

Being able to supply one or more reference images (for example, to specify style, composition, or objects to transform) would be incredibly useful and streamline integration for apps that rely on visual guidance.

Use case:

  • User uploads a sketch or example photo
  • Agent receives the image reference and generates a new image in the same style or incorporating elements from the reference

Request:
Please add support for passing reference images (either as file uploads or URLs) to the image generation actions in the Agents SDK, analogous to how /image/edits accepts image and mask parameters.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions