Index
InteractionsService(interface)VoicesHttpService(interface)VoicesService(interface)
InteractionsService
API that allows users to interact with models and agents.
| CancelInteraction |
|---|
|
Cancels an interaction.
|
| CancelInteractionHttp |
|---|
|
Cancels an interaction by id. This only applies to background interactions that are still running.
|
| CreateInteraction |
|---|
|
Creates an interaction.
|
| CreateInteractionHttp |
|---|
|
Creates a new interaction.
|
| CreateInteractionStream |
|---|
|
Creates an interaction and streams the response.
|
| DeleteInteraction |
|---|
|
Deletes an interaction.
|
| GetInteraction |
|---|
|
Fully typed proto, unary version of GetInteraction that returns Interaction proto.
|
| GetInteractionHttp |
|---|
|
Retrieves the full details of a single interaction based on its
|
| GetInteractionStream |
|---|
|
Fully typed proto, streaming version of GetInteraction that returns Interaction proto.
|
| ListInteractions |
|---|
|
List interactions.
|
| ListInteractionsHttp |
|---|
|
List interactions.
|
VoicesHttpService
HTTP transcoder service for managing custom voices and listing available voices for Gemini TTS.
VoicesService
Manages custom voices and lists available voices for Gemini TTS.
A voice is created either by replication from a reference audio recording or by prompting with a natural-language description. Created voices are referenced at synthesis time via GenerationConfig.speech_config.voice_config.voice (in GenerateContent / BidiGenerateContent) or GenerationConfig.speech_config.voice (in CreateInteraction).