> For the complete documentation index, see [llms.txt](https://befriends.gitbook.io/free-vpn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://befriends.gitbook.io/free-vpn/ai/gemini.md).

# Google Gemini 注册与使用教程

## Google Gemini 使用教程

> 从零开始注册 Gemini，并掌握 AI 对话、文件分析、提示词技巧等功能

### 目录

* 一、什么是 Gemini
* 二、Gemini 能做什么
* 三、使用前准备
* 四、Gemini 注册教程
* 五、Gemini 登录使用
* 六、Gemini 基础功能
* 七、高效 Prompt 提示词技巧
* 八、Gemini 文件分析教程
* 九、Gem 自定义助手
* 十、Gemini 编程使用
* 十一、常见问题
* 十二、学习路线

***

## 一、什么是 Gemini

Gemini 是 Google 推出的人工智能助手。

它可以帮助用户完成：

* AI 对话
* 文档分析
* 图片识别
* 内容创作
* 编程开发
* 学习辅助
* 信息整理

Gemini 最大特点：

* 多模态能力
* 与 Google 生态结合
* 长文本处理能力

***

## 二、Gemini 能做什么

### 1. AI 对话

例如：

```
帮我制定一个30天英语学习计划
```

Gemini 可以生成：

* 学习计划
* 每日任务
* 练习内容

***

### 2. 文档分析

上传：

* PDF
* Word
* 图片
* 文本

可以让 Gemini：

```
总结这份文件

提取重点

生成笔记
```

***

### 3. 图片分析

例如上传图片：

```
分析这张图片中的内容

提取文字

解释含义
```

***

### 4. 编程开发

Gemini 可以帮助：

* 编写代码
* 分析 Bug
* 优化程序
* 学习技术

例如：

```
分析这段 Python 代码

找出错误并优化
```

***

## 三、使用前准备

### 1. Google 账号

使用 Gemini 需要 Google 账号。

建议：

使用长期稳定账号。

例如：

```
example@gmail.com
```

***

### 2. 浏览器

推荐：

* Chrome
* Edge
* Firefox

建议：

保持浏览器更新。

***

### 3. 访问地址

Gemini 官方入口：

```
https://gemini.google.com
```

***

## 四、Gemini 注册教程

### 第一步：打开 Gemini

访问：

```
https://gemini.google.com
```

点击：

```
Sign in
```

***

### 第二步：登录 Google 账号

输入：

```
Google账号

密码
```

完成登录。

***

### 第三步：同意服务条款

首次使用：

根据提示：

* 阅读协议
* 同意使用条款

进入 Gemini 主界面。

***

## 五、Gemini 登录使用

登录后：

页面主要包含：

```
聊天输入框

↓

输入问题

↓

Gemini生成回答
```

例如：

```
帮我写一个产品介绍文案
```

***

## 六、Gemini 基础功能

### 1. 普通聊天

示例：

```
解释一下什么是人工智能
```

***

### 2. 总结文章

输入：

```
总结下面文章

提取：

1. 核心观点

2. 关键数据

3. 实际应用
```

***

### 3. 翻译

例如：

```
把下面内容翻译成英文

要求：

保持专业表达
```

***

### 4. 制作方案

例如：

```
帮我制定一个网站推广方案

包含：

目标用户

推广渠道

执行步骤
```

***

## 七、高效 Prompt 提示词技巧

AI 输出质量：

取决于你的提问方式。

### 普通问法

```
写一篇文章
```

效果：

内容比较普通。

***

### 高质量 Prompt

```
你是一名专业 SEO 编辑。


请写一篇关于 AI 工具的教程。


要求：

1. 标题吸引用户

2. 结构清晰

3. 适合 GitBook 发布

4. 包含案例
```

***

## Prompt 五要素

一个优秀提示词：

```
角色

+

任务

+

背景

+

要求

+

输出格式
```

例如：

```
角色：

你是一名 Linux 运维专家


任务：

解决服务器网络问题


背景：

Debian 12


要求：

提供详细排查步骤


输出：

Markdown教程格式
```

***

## 八、Gemini 文件分析教程

### 上传文件

支持：

* PDF
* 图片
* 文档

上传后输入：

```
分析这个文件


告诉我：

1. 文件主要内容

2. 重点信息

3. 总结
```

***

### 制作学习笔记

例如：

```
根据这个 PDF

制作：

- 思维导图

- 学习笔记

- 复习问题
```

***

## 九、Gem 自定义助手

Gem 是 Gemini 中的自定义 AI 助手。

可以创建：

* 专属写作助手
* 编程助手
* 学习助手

***

### 创建 Gem

进入：

```
Gemini

↓

Gem

↓

创建新的 Gem
```

***

### 示例：创建编程助手

输入：

```
你是一名高级程序员。


擅长：

Python

Linux

Docker


回答问题时：

先分析问题

再提供解决方案
```

***

## 十、Gemini 编程使用

### 代码分析

提示：

```
分析下面代码。


告诉我：

1. 功能

2. 存在问题

3. 优化建议
```

***

### 修复 Bug

提示：

```
检查这个错误。


错误：

【错误日志】


要求：

找到原因

提供修复方案
```

***

### 开发项目

提示：

```
创建一个后台管理系统。


技术：

Vue3

Node.js

MySQL


要求：

包含用户登录和权限管理。
```

***

## 十一、常见问题

### Q1：Gemini 打不开怎么办？

检查：

* Google账号状态
* 网络连接
* 浏览器缓存

***

### Q2：Gemini 可以免费使用吗？

Gemini 提供免费版本。

部分高级功能需要升级套餐。

***

### Q3：Gemini 和 ChatGPT 区别？

| 项目   | Gemini   | ChatGPT  |
| ---- | -------- | -------- |
| 生态   | Google生态 | OpenAI生态 |
| 搜索结合 | 较强       | 较强       |
| 代码能力 | 优秀       | 优秀       |
| 办公场景 | 优秀       | 优秀       |

***

## 十二、学习路线

推荐路线：

```
注册 Gemini

↓

学习基础聊天

↓

掌握 Prompt

↓

文件分析

↓

创建 Gem

↓

AI 自动化应用

↓

AI 编程开发
```

***

## 总结

Gemini 使用流程：

```
准备 Google账号

↓

登录 Gemini

↓

学习 Prompt

↓

使用 AI 功能

↓

创建个人助手
```

掌握正确的方法后：

Gemini 可以成为：

* AI 助手
* 学习工具
* 编程助手
* 工作效率工具


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://befriends.gitbook.io/free-vpn/ai/gemini.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
