View Source ExOpenAI.Components.InputImageContent (ex_openai.ex v2.0.0-beta2)
An image input to the model. Learn about image inputs.
Fields
:detail- required -ExOpenAI.Components.ImageDetail.t()
The detail level of the image to be sent to the model. One ofhigh,low,auto, ororiginal. Defaults toauto.:file_id- optional -String.t() | any():image_url- optional -String.t() | any():type- required -:input_image
The type of the input item. Alwaysinput_image.
Allowed values:"input_image"
Default:"input_image"
Summary
Types
@type t() :: %ExOpenAI.Components.InputImageContent{ detail: ExOpenAI.Components.ImageDetail.t(), file_id: (String.t() | any()) | nil, image_url: (String.t() | any()) | nil, type: :input_image }