ResponseFormat

@Serializable
data class ResponseFormat(val audio: AudioResponseFormat? = null, val image: ImageResponseFormat? = null, val text: TextResponseFormat? = null, val video: VideoResponseFormat? = null)

Configuration for the model to configure output formatting and delivery. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(audio: AudioResponseFormat? = null, image: ImageResponseFormat? = null, text: TextResponseFormat? = null, video: VideoResponseFormat? = null)

Properties

Link copied to clipboard

Audio output format.

Link copied to clipboard

Image output format.

Link copied to clipboard

Text output format.

Link copied to clipboard

Video output format.