One of the following:
str
content: List[InputContentParam]

The content of the message.

minItems0
maxItems16384
One of the following:
class InputContentParamInputText: …

Text input to the model.

text: str

The text sent to the model.

minLength0
maxLength1048576
type: Literal["input_text"]

The type of the object. Always input_text.

class InputContentParamInputImage: …

Image input to the model.

image_url: str

The URL of the image sent to the model.

minLength0
maxLength1048576
type: Literal["input_image"]

The type of the object. Always input_image.

role: Literal["user"]

The role of the message author. Always user.

type: Optional[Literal["message"]]

The type of the input item. Always message.