Saltar al contenido principal
Versión: 20 R10 BETA

OpenAIImageParameters

The OpenAIImageParameters class is designed to configure and manage the parameters used for image generation through the OpenAI API.

Hereda

Propiedades

Nombre de la propiedadTipoValor por defectoDescripción
modelText"dall-e-2"Specifies the model to use for image generation.
nInteger1The number of images to generate (must be between 1 and 10; only n=1 is supported for dall-e-3).
sizeText"1024x1024"El tamaño de las imágenes generadas. Must conform to model specifications.
styleText""The style of the generated images (must be either vivid or natural).
response_formatText"url"The format for returned images, can be either url or b64_json.

Ver también