Client for OpenAI Images API (DALL-E image generation and editing).
Access via client$images.
$create(prompt, ...)Generate a new image from a text description
$edit(image, prompt, ...)Edit an existing image using a mask
$create_variation(image, ...)Create variations of an existing image
new()ImagesClient$new(parent)
create()ImagesClient$create(
prompt,
model = "dall-e-3",
n = NULL,
quality = NULL,
response_format = NULL,
size = NULL,
style = NULL,
user = NULL
)
edit()ImagesClient$edit(
image,
prompt,
mask = NULL,
model = "dall-e-2",
n = NULL,
response_format = NULL,
size = NULL,
user = NULL
)
create_variation()ImagesClient$create_variation(
image,
model = "dall-e-2",
n = NULL,
response_format = NULL,
size = NULL,
user = NULL
)
clone()The objects of this class are cloneable with this method.
ImagesClient$clone(deep = FALSE)deepWhether to make a deep clone.