The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the LiveGenerativeModel class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["\u003e This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nClass for Live generative model APIs. The Live API enables low-latency, two-way multimodal interactions with Gemini.\n\nThis class should only be instantiated with [getLiveGenerativeModel()](./ai.md#getlivegenerativemodel_f2099ac).\n\nThe constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `LiveGenerativeModel` class.\n\n**Signature:** \n\n export declare class LiveGenerativeModel extends AIModel \n\n**Extends:** [AIModel](./ai.aimodel.md#aimodel_class)\n\nProperties\n\n| Property | Modifiers | Type | Description |\n|---------------------------------------------------------------------------------------|-----------|-------------------------------------------------------------------------------------|------------------------|\n| [generationConfig](./ai.livegenerativemodel.md#livegenerativemodelgenerationconfig) | | [LiveGenerationConfig](./ai.livegenerationconfig.md#livegenerationconfig_interface) | ***(Public Preview)*** |\n| [systemInstruction](./ai.livegenerativemodel.md#livegenerativemodelsysteminstruction) | | [Content](./ai.content.md#content_interface) | ***(Public Preview)*** |\n| [toolConfig](./ai.livegenerativemodel.md#livegenerativemodeltoolconfig) | | [ToolConfig](./ai.toolconfig.md#toolconfig_interface) | ***(Public Preview)*** |\n| [tools](./ai.livegenerativemodel.md#livegenerativemodeltools) | | [Tool](./ai.md#tool)\\[\\] | ***(Public Preview)*** |\n\nMethods\n\n| Method | Modifiers | Description |\n|---------------------------------------------------------------------|-----------|---------------------------------------------------------------------------------------|\n| [connect()](./ai.livegenerativemodel.md#livegenerativemodelconnect) | | ***(Public Preview)*** Starts a [LiveSession](./ai.livesession.md#livesession_class). |\n\nLiveGenerativeModel.generationConfig This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\n**Signature:** \n\n generationConfig: LiveGenerationConfig;\n\nLiveGenerativeModel.systemInstruction This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\n**Signature:** \n\n systemInstruction?: Content;\n\nLiveGenerativeModel.toolConfig This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\n**Signature:** \n\n toolConfig?: ToolConfig;\n\nLiveGenerativeModel.tools This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\n**Signature:** \n\n tools?: Tool[];\n\nLiveGenerativeModel.connect() This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nStarts a [LiveSession](./ai.livesession.md#livesession_class).\n\n**Signature:** \n\n connect(): Promise\u003cLiveSession\u003e;\n\n**Returns:**\n\nPromise\\\u003c[LiveSession](./ai.livesession.md#livesession_class)\\\u003e\n\nA [LiveSession](./ai.livesession.md#livesession_class).\n\nExceptions\n\nIf the connection failed to be established with the server."]]