Get image description structure
Get image description structure for generation
Function GetImageDescriptionStructure(Val Prompt, Val Count, Val Background = "", Val Size = "", Val AdditionalParameters = "") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Prompt | --prompt | String | ✔ | Text description of the image for generation |
Count | --amount | Number | ✔ | Number of images to generate |
Background | --bg | String | ✖ | Generation background option: transparent, opaque, auto |
Size | --size | String | ✖ | Size option for generated images |
AdditionalParameters | --options | Structure Of KeyAndValue | ✖ | Additional request parameters, if necessary |
Returns: Structure - Fields structure
tip
The set of fields and their interpretation may vary depending on the model used
- Bash
- CMD/Bat
oint openai GetImageDescriptionStructure \
--prompt "Yellow alpaca" \
--amount 1 \
--size "1024x1024"
oint openai GetImageDescriptionStructure ^
--prompt "Yellow alpaca" ^
--amount 1 ^
--size "1024x1024"