Skip to content

Commit e7e5519

Browse files
committed
翻转摄像头
1 parent cae31ec commit e7e5519

File tree

10 files changed

+636
-12
lines changed

10 files changed

+636
-12
lines changed

README.MD

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Gemini 2.0 Flash 游乐场
2+
3+
## 项目简介
4+
5+
只需准备一个Gemini API Key,即可一键部署一个Gemini多模态对话的网站.
6+
使用Deno/Cloudflare免费无服务器部署,并且进行了API中转,不限地区/网络环境,打开即用。
7+
8+
## Deno部署(推荐)
9+
10+
1. [fork](https://github.com/tech-shrimp/gemini-playground/fork)本项目
11+
2. 登录/注册 https://dash.deno.com/
12+
3. 创建项目 https://dash.deno.com/new_project
13+
4. 选择此项目,填写项目名字(请仔细填写项目名字,关系到自动分配的域名)
14+
5. Entrypoint 填写 `src/deno_index.ts` 其他字段留空
15+
<details>
16+
<summary>如图</summary>
17+
18+
![image](/docs/images/1.png)
19+
</details>
20+
6. 点击 <b>Deploy Project</b>
21+
22+
## Cloudflare Worker 部署
23+
24+
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/tech-shrimp/gemini-playground)
25+
26+
27+
## 使用方法
28+
29+
填入API Key, 点击Connect按钮即可对话。
30+
以下三个按钮分别是:
31+
- 启用麦克风
32+
- 启用摄像头
33+
- 分享屏幕
34+
<br>
35+
![image](/docs/images/2.png)
36+
37+
## 感谢:
38+
39+
网站UI:
40+
```
41+
Author: ChrisKyle<br>
42+
Project: https://github.com/ViaAnthroposBenevolentia/gemini-2-live-api-demo<br>
43+
MIT License : https://github.com/ViaAnthroposBenevolentia/gemini-2-live-api-demo/blob/main/LICENSE
44+
```
45+
46+
Gemini转成OpenAI格式:
47+
```
48+
Author: PublicAffairs<br>
49+
Project: https://github.com/PublicAffairs/openai-gemini<br>
50+
MIT License : https://github.com/PublicAffairs/openai-gemini/blob/main/LICENSE
51+
```

docs/images/1.png

30.8 KB
Loading

docs/images/2.png

5.91 KB
Loading

0 commit comments

Comments
 (0)