Interface CreateImageRequest

Export

CreateImageRequest

Hierarchy

  • CreateImageRequest

Properties

n?: null | number

The number of images to generate. Must be between 1 and 10.

Memberof

CreateImageRequest

prompt: string

A text description of the desired image(s). The maximum length is 1000 characters.

Memberof

CreateImageRequest

response_format?: CreateImageRequestResponseFormatEnum

The format in which the generated images are returned. Must be one of url or b64_json.

Memberof

CreateImageRequest

size?: CreateImageRequestSizeEnum

The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.

Memberof

CreateImageRequest

user?: string

A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.

Memberof

CreateImageRequest

Generated using TypeDoc