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

Schema representing a CreateImageRequest within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

t() :: %ExOpenAI.Components.CreateImageRequest{
  n: integer() | nil,
  prompt: String.t(),
  response_format: (:b64_json | :url) | nil,
  size: (:"1024x1024" | :"512x512" | :"256x256") | nil,
  user: String.t() | nil
}