Hierarchy

  • APIResource
    • Images

Constructors

  • Parameters

    • client: OpenAI

    Returns Images

Methods

  • Creates a variation of a given image.

    Parameters

    Returns APIPromise<ImagesResponse>

  • Creates an edited or extended image given an original image and a prompt.

    Parameters

    Returns APIPromise<ImagesResponse>

  • Creates an image given a prompt.

    Parameters

    Returns APIPromise<ImagesResponse>