Module model

Module model 

Source

Structs§

Candidate
A candidate response
CitationMetadata
Citation metadata for content
CitationSource
Citation source
GenerateContentRequest
Request to generate content
GenerationConfig
Configuration for generation
GenerationResponse
Response from the Gemini API for content generation
MultiSpeakerVoiceConfig
Multi-speaker voice configuration
PrebuiltVoiceConfig
Prebuilt voice configuration
PromptFeedback
Feedback about the prompt
PromptTokenDetails
Details about prompt tokens by modality
SpeakerVoiceConfig
Configuration for a specific speaker in multi-speaker TTS
SpeechConfig
Configuration for speech generation (text-to-speech)
ThinkingConfig
Configuration for thinking (Gemini 2.5 series only)
UsageMetadata
Metadata about token usage
VoiceConfig
Voice configuration for text-to-speech

Enums§

BlockReason
Reason why content was blocked
FinishReason
Reason why generation finished