The contents of the message.
To pass images or audios (only with role=user):
- When content is a string, image or audio can be passed together with the text with HTML-style tags that wraps an image or audio URL (<img src="{url}" /> or <audio src="{url}" />), base64 encoded image or audio data (<img src="data:image/{format};base64,{base64encodedimage}" /> or <audio src="data:audio/{format};base64,{base64encodedaudio}" />), or an NVCF asset ID (<img src="data:image/{format};asset_id,{asset_id}" /> or <audio src="data:audio/{format};asset_id,{asset_id}" />) when the container is hosted in NVCF and the payload exceeds 200KB.
- When content is a list of objects, images can be passed as objects with type=image_url, and audios can be passed as objects with type=audio_url or input_audio.
- In both cases, images can be PNG, JPG or JPEG, and audios can be WAV or MP3.
For system and assistant roles, the object list format is not supported.