MCPcopy Create free account

hub / github.com/Koko-boya/Comfyui-GeminiWeb / types & classes

Types & classes26 in github.com/Koko-boya/Comfyui-GeminiWeb

↓ 9 callersClassAPIError
Exception for package-level errors which need to be fixed in the future development (e.g. validation errors).
gemini_webapi/exceptions.py:9
↓ 5 callersClassRPCData
Helper class containing necessary data for Google RPC calls. Parameters ---------- rpcid : GRPC Google RPC ID. payload :
gemini_webapi/types/grpc.py:6
↓ 4 callersClassGem
Reusable Gemini Gem object working as a system prompt, providing additional context to the model. Gemini provides a set of predefined gems, a
gemini_webapi/types/gem.py:4
↓ 3 callersClassAuthError
Exception for authentication errors caused by invalid credentials/cookies.
gemini_webapi/exceptions.py:1
↓ 3 callersClassGemJar
Helper class for handling a collection of `Gem` objects, stored by their ID. This class extends `dict` to allows retrieving gems with extra f
gemini_webapi/types/gem.py:36
↓ 3 callersClassGeminiError
Exception for errors returned from Gemini server which are not handled by the package.
gemini_webapi/exceptions.py:25
↓ 2 callersClassCandidate
A single reply candidate object in the model output. A full response from Gemini usually contains multiple reply candidates. Parameters
gemini_webapi/types/candidate.py:7
↓ 2 callersClassGeminiClient
Async httpx client interface for gemini.google.com. `secure_1psid` must be provided unless the optional dependency `browser-cookie3` is inst
gemini_webapi/client.py:41
↓ 2 callersClassGeneratedImage
Image generated by ImageFX, Google's AI image generator. Returned when ask Gemini to "GENERATE an image of [something]". Parameters ----
gemini_webapi/types/image.py:130
↓ 2 callersClassModelInvalid
Exception for invalid model header string errors.
gemini_webapi/exceptions.py:49
↓ 2 callersClassTimeoutError
Exception for request timeouts.
gemini_webapi/exceptions.py:33
↓ 1 callersClassChatSession
Chat data to retrieve conversation history. Only if all 3 ids are provided will the conversation history be retrieved. Parameters ------
gemini_webapi/client.py:1295
↓ 1 callersClassModelOutput
Classified output from gemini.google.com Parameters ---------- metadata: `list[str]` List of chat metadata `[cid, rid, rcid]
gemini_webapi/types/modeloutput.py:7
↓ 1 callersClassTemporarilyBlocked
Exception for 429 Too Many Requests when IP is temporarily blocked.
gemini_webapi/exceptions.py:57
↓ 1 callersClassUsageLimitExceeded
Exception for model usage limit exceeded errors.
gemini_webapi/exceptions.py:41
↓ 1 callersClassWebImage
Image retrieved from web. Returned when ask Gemini to "SEND an image of [something]".
gemini_webapi/types/image.py:122
ClassEndpoint
gemini_webapi/constants.py:4
ClassErrorCode
Known error codes returned from server.
gemini_webapi/constants.py:123
ClassGRPC
Google RPC ids used in Gemini API.
gemini_webapi/constants.py:13
ClassGemMixin
Mixin class providing gem-related functionality for GeminiClient.
gemini_webapi/components/gem_mixin.py:11
ClassGeminiWeb
Unified Gemini Web node for text-to-image, image-to-image, and chat. Handles authentication and all operations in a single node.
nodes.py:30
ClassHeaders
gemini_webapi/constants.py:34
ClassImage
A single image object returned from Gemini. Parameters ---------- url: `str` URL of the image. title: `str`, optional
gemini_webapi/types/image.py:12
ClassImageGenerationError
Exception for generated image parsing errors.
gemini_webapi/exceptions.py:17
ClassImageStatus
Status codes for image generation response parsing. Found at candidate[12][6][0] in the response structure.
gemini_webapi/constants.py:137
ClassModel
gemini_webapi/constants.py:63