Skip to main content

Get image description structure

Get image description structure for generation

Function GetImageDescriptionStructure(Val Prompt, Val Count, Val Background = "", Val Size = "", Val AdditionalParameters = "") Export

ParameterCLI optionTypeRequiredDescription
Prompt--promptStringText description of the image for generation
Count--amountNumberNumber of images to generate
Background--bgStringGeneration background option: transparent, opaque, auto
Size--sizeStringSize option for generated images
AdditionalParameters--optionsStructure Of KeyAndValueAdditional request parameters, if necessary

Returns: Structure - Fields structure


tip

The set of fields and their interpretation may vary depending on the model used


    oint openai GetImageDescriptionStructure \
--prompt "Yellow alpaca" \
--amount 1 \
--size "1024x1024"