mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-09-07 08:46:37 +08:00
docs: 修改README.md,添加关于端点的说明
This commit is contained in:
@@ -137,6 +137,8 @@ app/
|
||||
|
||||
### Gemini API Format (`/gemini/v1beta`)
|
||||
|
||||
This endpoint is directly forwarded to official Gemini API format endpoint, without advanced features.
|
||||
|
||||
* `GET /models`: List available Gemini models.
|
||||
* `POST /models/{model_name}:generateContent`: Generate content.
|
||||
* `POST /models/{model_name}:streamGenerateContent`: Stream content generation.
|
||||
@@ -145,6 +147,8 @@ app/
|
||||
|
||||
#### Hugging Face (HF) Compatible
|
||||
|
||||
If you want to use advanced features, like fake streaming, please use this endpoint.
|
||||
|
||||
* `GET /hf/v1/models`: List models.
|
||||
* `POST /hf/v1/chat/completions`: Chat completion.
|
||||
* `POST /hf/v1/embeddings`: Create text embeddings.
|
||||
@@ -152,6 +156,8 @@ app/
|
||||
|
||||
#### Standard OpenAI
|
||||
|
||||
This endpoint is directly forwarded to official OpenAI Compatible API format endpoint, without advanced features.
|
||||
|
||||
* `GET /openai/v1/models`: List models.
|
||||
* `POST /openai/v1/chat/completions`: Chat completion (Recommended).
|
||||
* `POST /openai/v1/embeddings`: Create text embeddings.
|
||||
|
||||
Reference in New Issue
Block a user