Module requests

Source

Structs§

Candidate
Structure representing a candidate content.
Content
Structure representing content information.
GeminiEmbedRequest
Request structure for content embedding.
GeminiEmbedRequests
Request structure for batch content embedding.
GeminiRequest
Request structure for content generation.
GenerationConfig
ImageContent
Structure representing the image part of the Gemini request.
PrebuiltVoiceConfig
SpeechConfig
TtsGenerationConfig
TtsRequest
VideoGenRequest
Request payload for video generation using Veo.
VideoParameters
Optional parameters for generation behavior.
VideoPrompt
The prompt inside the request.
VoiceConfig

Enums§

Part
Define an enum to represent different types of parts in the content.