Skip to main content

Options

model
string
required
The name of the image AI model.
openAIApiKey
string
The OpenAI API key.
openAIOrgKey
string
The organization key for the OpenAI API.
openAIProjectKey
string
The project key for the OpenAI API.
endpointUrl
string
The endpoint URL for the OpenAI API.
azureAPIKey
string
The API key for the Azure API.
azureAPIVersion
string
The API version for the Azure API.

Arguments

prompt
string
required
The instruction for the LLM to populate the argument for the prompt.Example:
The prompt for image generation
useHD
string
The instruction for the LLM to determine whether high quality is desired.Example:
Set "hd" if the user requests high quality. Default is "standard"
size
string
required
The instruction for the LLM to determine the image size.Example:
Use 1024x1024 (square) as the default, 1792x1024 if the user requests a wide image, and 1024x1792 for full-body portraits
style
string
The instruction for the LLM to determine the image style.Example:
Must be one of vivid or natural. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images