View Source ExOpenAI.Components.CreateImageRequest (ex_openai.ex v1.5.1)

Schema representing a CreateImageRequest within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.CreateImageRequest{
  model: ((:"dall-e-3" | :"dall-e-2") | String.t()) | nil,
  n: integer() | nil,
  prompt: String.t(),
  quality: (:hd | :standard) | nil,
  response_format: (:b64_json | :url) | nil,
  size:
    (:"1024x1792" | :"1792x1024" | :"1024x1024" | :"512x512" | :"256x256") | nil,
  style: (:natural | :vivid) | nil,
  user: String.t() | nil
}