Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Koko-boya/Comfyui-GeminiWeb
/ types & classes
Types & classes
26 in github.com/Koko-boya/Comfyui-GeminiWeb
⨍
Functions
115
◇
Types & classes
26
↓ 9 callers
Class
APIError
Exception for package-level errors which need to be fixed in the future development (e.g. validation errors).
gemini_webapi/exceptions.py:9
↓ 5 callers
Class
RPCData
Helper class containing necessary data for Google RPC calls. Parameters ---------- rpcid : GRPC Google RPC ID. payload :
gemini_webapi/types/grpc.py:6
↓ 4 callers
Class
Gem
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 callers
Class
AuthError
Exception for authentication errors caused by invalid credentials/cookies.
gemini_webapi/exceptions.py:1
↓ 3 callers
Class
GemJar
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 callers
Class
GeminiError
Exception for errors returned from Gemini server which are not handled by the package.
gemini_webapi/exceptions.py:25
↓ 2 callers
Class
Candidate
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 callers
Class
GeminiClient
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 callers
Class
GeneratedImage
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 callers
Class
ModelInvalid
Exception for invalid model header string errors.
gemini_webapi/exceptions.py:49
↓ 2 callers
Class
TimeoutError
Exception for request timeouts.
gemini_webapi/exceptions.py:33
↓ 1 callers
Class
ChatSession
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 callers
Class
ModelOutput
Classified output from gemini.google.com Parameters ---------- metadata: `list[str]` List of chat metadata `[cid, rid, rcid]
gemini_webapi/types/modeloutput.py:7
↓ 1 callers
Class
TemporarilyBlocked
Exception for 429 Too Many Requests when IP is temporarily blocked.
gemini_webapi/exceptions.py:57
↓ 1 callers
Class
UsageLimitExceeded
Exception for model usage limit exceeded errors.
gemini_webapi/exceptions.py:41
↓ 1 callers
Class
WebImage
Image retrieved from web. Returned when ask Gemini to "SEND an image of [something]".
gemini_webapi/types/image.py:122
Class
Endpoint
gemini_webapi/constants.py:4
Class
ErrorCode
Known error codes returned from server.
gemini_webapi/constants.py:123
Class
GRPC
Google RPC ids used in Gemini API.
gemini_webapi/constants.py:13
Class
GemMixin
Mixin class providing gem-related functionality for GeminiClient.
gemini_webapi/components/gem_mixin.py:11
Class
GeminiWeb
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
Class
Headers
gemini_webapi/constants.py:34
Class
Image
A single image object returned from Gemini. Parameters ---------- url: `str` URL of the image. title: `str`, optional
gemini_webapi/types/image.py:12
Class
ImageGenerationError
Exception for generated image parsing errors.
gemini_webapi/exceptions.py:17
Class
ImageStatus
Status codes for image generation response parsing. Found at candidate[12][6][0] in the response structure.
gemini_webapi/constants.py:137
Class
Model
gemini_webapi/constants.py:63