Skip to main content

Options

string
required
The name of the image AI model.Example:
string
The OpenAI API key.
string
The organization key for the OpenAI API.
string
The project key for the OpenAI API.
string
The endpoint URL for the OpenAI API.
string
The API key for the Azure API.
string
The API version for the Azure API.
float
required
Cost per text token.
float
required
Cost per image input token.
float
required
Cost per image output token.

Arguments

string
required
The prompt for the LLM to populate the argument for image generation. Example:
string
The image size. Possible values:
  • 1024x1024
  • 1536x1024
  • 1024x1536
  • auto
Example:
string
The quality level. Possible values:
  • auto
  • high
  • medium
  • low
Example:
string
Number of the most recently generated images to be returned.Example: