imageURL
abstract suspend fun imageURL(creation: ImageCreation, requestOptions: RequestOptions? = null): List<ImageURL>
Creates an image given a prompt. Get images as URLs.
Parameters
creation
image creation request.
requestOptions
request options.
abstract suspend fun imageURL(edit: ImageEdit, requestOptions: RequestOptions? = null): List<ImageURL>
Creates an edited or extended image given an original image and a prompt. Get images as URLs.
Parameters
edit
image edit request.
requestOptions
request options.
abstract suspend fun imageURL(variation: ImageVariation, requestOptions: RequestOptions? = null): List<ImageURL>
Creates a variation of a given image. Get images as URLs.
Parameters
variation
image variation request.
requestOptions
request options.