Saltar para o conteúdo principal
Versão: 20 R9 BETA

OpenAIImageParameters

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

Inherits

Propriedades

Nome da propriedadeTipoValor padrãoDescrição
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"O tamanho das imagens geradas. Must conform to model specifications.
styleText""O estilo das imagens geradas (deve ser vivid ou natural).
response_formatText"url"O formato para imagens retornadas, pode ser url ou b64_json.

Veja também