> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/ren-wu/model.md).

# 模型生成

编写提示词，从零生成图像或编辑现有图像。

***

### 模型生成：从图像开始

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FwLluH2oPMlDNn1kJ93OW%2Fgitbook_task_model_01.png?alt=media&amp;token=7c7b56bf-fd1b-4d73-abfe-71128c85384d" alt=""><figcaption></figcaption></figure>

### 模型生成：从文本开始

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2Fw2wpb8N2EHI3sUavddEJ%2Fgitbook_task_model_02.png?alt=media&amp;token=2e4e7ddd-c0ed-4219-acba-649d4aa147dd" alt=""><figcaption></figcaption></figure>

***

## 创建新场景

每次创建新场景时，系统都会询问你希望如何开始生成。要继续进行生成，请选择以下两种方法之一：<br>

* <i class="fa-image">:image:</i> **从图像开始：** 最适合编辑或优化现有图像。（了解如何 [这里](#start-from-an-image))
* <i class="fa-message-text">:message-text:</i> **从文本开始：** 最适合从零开始生成图像。（了解如何 [这里](#start-from-text))

<div data-with-frame="true"><figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2F1o4OngLxm7Gj2AdPZvI0%2Fgitbook_modelgeneration_1.png?alt=media&amp;token=63782235-4743-4fbc-aa6c-8989578a8933" alt=""><figcaption></figcaption></figure></div>

**如何创建新场景**

* **屏幕左侧的场景面板：** \
  在屏幕左上方的“场景面板”中，选择 <i class="fa-plus-large" style="color:$primary;">:plus-large:</i> 图标以创建新场景。
* **在创作空间的任意位置**\
  在创作空间中的任意位置右键单击并选择 <kbd><mark style="color:$primary;">**+ 创建新场景**<mark style="color:$primary;"></kbd> 或者使用键盘快捷键 <i class="fa-command">:command:</i>在 Mac 上按 +Shift+S，在 Windows 上按 Control+Shift+S。
* **将图像拖放到创作空间中**\
  将左侧资料库面板中的图像拖到创作空间的空白区域会自动创建一个新场景。
* **每次你创建一个新的创作空间**\
  启动你的新创作空间后，系统会提示你选择如何开始你的场景。

***

## 从图像开始

选择“从图像开始”来编辑或优化现有视觉内容。此功能可让你以图像为基础，通过文本提示进行修改或添加细节。该任务具有很高的灵活性，但结果取决于你的提示词是否清晰，以及所使用的图像生成模型。

{% hint style="info" icon="language" %}
**如何更改教程语言**\
教程默认以英文显示。要以其他语言查看本教程，请将鼠标悬停在右上角并选择 <i class="fa-language">:language:</i> **语言**.
{% endhint %}

{% @arcade/embed flowId="x1ALaO14jk50rwMGo4bh" url="<https://app.arcade.software/share/x1ALaO14jk50rwMGo4bh>" %}

{% stepper %}
{% step %}

#### 开始新的生成

{% endstep %}

{% step %}

#### 选择“从图像开始”

{% endstep %}

{% step %}

#### 上传你的图像

选择并上传你想编辑的图像。

你可以通过以下方式上传图片：

* 从资料库面板拖放图像
* 选择 <kbd><mark style="color:$primary;">**上传图片**<mark style="color:$primary;"></kbd> 在场景中
* 将电脑文件夹中的图片拖放进来

上传后，产品将显示在场景中。
{% endstep %}

{% step %}

#### 选择你的图像模型

这是左侧任务菜单中的第一个选项。最适合保持一致性的模型 <kbd><mark style="color:$primary;">**Nano Banana Pro**<mark style="color:$primary;"></kbd> 已自动选择。你也可以选择其他模型来生成图像。

<details>

<summary><strong>可用于图像生成的 AI 生成模型</strong></summary>

* **Nano Banana Pro：** 无缝、一致的编辑，具备准确的细节和反射
* **Nano Banana 2：** 以忠实结构和自然细节进行精修与变换
* **Nano Banana：** 无缝、一致的编辑，具备准确的细节和反射
* **GPT5：** 具备照片级真实细节与精确语义理解。
* **Seedream 4.5：** 超一致的编辑，具有卓越的细节保留和自然光照
* **Seedream 4：** 高保真编辑，具有自然光照和细节保留
* **Seedream 3：** 源自原始图像的全新、一致变体
* **Flux Kontext：** 精确、无缝的编辑，呈现自然结果
* **Qwen：** 多功能视觉创作，准确整合文本

</details>
{% endstep %}

{% step %}

#### 输入你的文本提示词

在右侧的生成设置面板中输入你的提示词。&#x20;

<details>

<summary><strong>文本提示词技巧</strong></summary>

* **直接表达，不必客气：** AI 不需要客套。使用清晰、简洁的指令即可精确得到你想要的结果。尤其对于日语等语言来说，保持语言直接并避免正式写法非常重要。
* **以动词开头：** 在句子开头就明确告诉 AI 需要执行什么操作。使用清晰的指令，例如“将背景替换为……”、“移除……”或“将光照改为……”；不要只是在描述一个场景。
* **从宏观到微观：** 在分步骤处理的思路上，始终先修改最大的元素。第一步先修正背景或整体光照。一旦确定下来，再用第二个提示词添加或优化较小的细节。
* **写实优先于诗意：** 既然你想避免抽象语言，就要记住 AI 无法理解情绪。不要要求“奢华氛围”，而要描述创造这种氛围的具体物件：“金色点缀、柔和的影棚光照，以及光滑的大理石”。
* **只提示修改，不要描述整张图像：** 在编辑时，你不需要把整个原始图像重新描述一遍。只需描述你希望在目标区域进行的具体改动。
* **定义锚点：** 进一步说明具体性——如果你要更改地板但想保留墙面，就要明确边界：“保持后墙完全不变，只把地板改成白色混凝土。”

</details>

<details>

<summary><strong>提示词库（保存并重复使用）</strong></summary>

你可以将提示词保存到你的资料库并稍后使用。通过这些步骤保存在资料库中的任何提示词，之后都可重复使用。即使生成已经完成，你也可以随时保存提示词。在生成设置面板打开后：

1. 选择 <kbd><mark style="color:$primary;">**库**<mark style="color:$primary;"></kbd> 位于提示词文本区域下方。
2. 在搜索栏右侧，选择 <i class="fa-plus-large" style="color:$primary;">:plus-large:</i> 图标以保存你当前的提示词。

</details>

<details>

<summary><strong>从图像自动生成提示词</strong></summary>

你可以通过上传图像来创建提示词，Beachside 会自动生成描述。在生成设置面板打开后：

{% hint style="danger" %}
此步骤将替换文本区域中当前的任何提示词。
{% endhint %}

1. 选择 <kbd><mark style="color:$primary;">**库**<mark style="color:$primary;"></kbd> 以重新使用之前保存的提示。
2. 来自 <i class="fa-cloud-arrow-up" style="color:$primary;">:cloud-arrow-up:</i> 图标，上传一张图片，Beachside 会生成一段描述，并将文本放入提示字段。

</details>
{% endstep %}

{% step %}

#### 可选：使用画笔工具

使用画笔为 AI 模型提供局部视觉引导。在画布上绘制形状，按颜色区分指令，并直接阐明意图：

1. 在场景下方，选择 <i class="fa-paintbrush" style="color:$primary;">:paintbrush:</i> <kbd><mark style="color:$primary;">**画笔**<mark style="color:$primary;"></kbd> 从工具菜单中。
2. 直接在画布上绘制形状以标示需要更改的区域。
3. 在提示词中引用画笔图层

了解更多画笔工具 [这里](/main/ch/gong-ju/hua-bi.md)
{% endstep %}

{% step %}

#### 可选：添加参考图像

你可以在基础文本输入中最多添加 3 张参考图像，以便为提示词生成器提供更多引导。在生成设置面板中：

1. 选择 <i class="fa-image" style="color:$primary;">:image:</i> <kbd><mark style="color:$primary;">**参考图像**<mark style="color:$primary;"></kbd> 位于提示词文本区域下方。
2. 从创作空间或上传标签页中选择最多 3 张图像。
3. 如果要上传：
   * 选择 <kbd><mark style="color:$primary;">**上传**<mark style="color:$primary;"></kbd> 选项卡。
   * 选择 <mark style="color:$primary;">**上传**</mark> 或选择之前上传的图片。
4. 要移除参考图像：
   * 将鼠标悬停在图片编号上。
   * 选择 <i class="fa-xmark" style="color:$primary;">:xmark:</i> 按钮。
     {% endstep %}

{% step %}

#### 选择输出数量

在右侧光照设置面板中：

* 选择要生成多少个变体。
* 你一次最多可以生成 4 个场景。
  {% endstep %}

{% step %}

#### Generate

确认所有设置后，选择 <kbd><mark style="color:$primary;">**Generate**<mark style="color:$primary;"></kbd>.

生成的场景将显示在你的创作空间中。

{% hint style="info" %}
对于 Nano Banana Pro，选择 **精确** 以在包装形状、浮雕徽标或纹理等复杂元素上获得更高保真度的结果。 [查看生成力度](#generation-effort-for-nano-banana-pro).
{% endhint %}
{% endstep %}
{% endstepper %}

***

## 从文本开始

选择“从文本开始”即可从零开始生成图像。结果取决于你的提示词是否清晰，以及所使用的图像生成模型。

{% hint style="info" icon="language" %}
**如何更改教程语言**\
教程默认以英文显示。要以其他语言查看本教程，请将鼠标悬停在右上角并选择 <i class="fa-language">:language:</i> **语言**.
{% endhint %}

{% @arcade/embed flowId="lPigmoOPOsheEpvNrNzB" url="<https://app.arcade.software/share/lPigmoOPOsheEpvNrNzB>" %}

{% stepper %}
{% step %}

#### 开始新的生成

{% endstep %}

{% step %}

#### 选择“从文本开始”

{% endstep %}

{% step %}

#### 选择你的图像模型

这是左侧任务菜单中的第一个选项。 <kbd><mark style="color:$primary;">**Seedream 4**<mark style="color:$primary;"></kbd> 已自动选择。你也可以选择其他模型来生成图像。

<details>

<summary><strong>可用于文本生成的 AI 生成模型</strong></summary>

* **Seedream 4：** 高保真编辑，具有自然光照和细节保留
* **Nano Banana 2：** 以忠实结构和自然细节进行精修与变换
* **Seedream 4o：** 超一致的编辑，具有卓越的细节保留和自然光照
* **GPT5：** 具备照片级真实细节与精确语义理解。
* **Seedream 3：** 源自原始图像的全新、一致变体
* **Qwen：** 多功能视觉创作，准确整合文本
* **Imagen 4：** 具备照片级真实感、细节丰富的图像，并具有快速文字排版精度。
* **Recraft：** 适用于创意工作流的一致性视觉生成。

</details>
{% endstep %}

{% step %}

#### 输入你的文本提示词

在文本提示词区域输入你的提示词。&#x20;

<details>

<summary><strong>文本提示词技巧</strong></summary>

* **直接表达，不必客气：** AI 不需要客套。使用清晰、简洁的指令即可精确得到你想要的结果。尤其对于日语等语言来说，保持语言直接并避免正式写法非常重要。
* **以动词开头：** 在句子开头就明确告诉 AI 需要执行什么操作。使用清晰的指令，例如“将背景替换为……”、“移除……”或“将光照改为……”；不要只是在描述一个场景。
* **从宏观到微观：** 在分步骤处理的思路上，始终先修改最大的元素。第一步先修正背景或整体光照。一旦确定下来，再用第二个提示词添加或优化较小的细节。
* **写实优先于诗意：** 既然你想避免抽象语言，就要记住 AI 无法理解情绪。不要要求“奢华氛围”，而要描述创造这种氛围的具体物件：“金色点缀、柔和的影棚光照，以及光滑的大理石”。
* **只提示修改，不要描述整张图像：** 在编辑时，你不需要把整个原始图像重新描述一遍。只需描述你希望在目标区域进行的具体改动。
* **定义锚点：** 进一步说明具体性——如果你要更改地板但想保留墙面，就要明确边界：“保持后墙完全不变，只把地板改成白色混凝土。”

</details>

<details>

<summary><strong>提示词库（保存并重复使用）</strong></summary>

你可以将提示词保存到你的资料库并在以后使用。通过这些步骤保存在资料库中的任何提示词，之后都可重复使用。即使生成已经完成，你也可以随时保存提示词：

1. 选择 <kbd><mark style="color:$primary;">**库**<mark style="color:$primary;"></kbd> 位于提示词文本区域下方。
2. 在搜索栏右侧，选择 <i class="fa-plus-large" style="color:$primary;">:plus-large:</i> 图标以保存你当前的提示词。

</details>

<details>

<summary><strong>从图像自动生成提示词</strong></summary>

你可以通过上传图像来创建提示词，Beachside 会自动生成描述：

{% hint style="danger" %}
此步骤将替换文本区域中当前的任何提示词。
{% endhint %}

1. 选择 <kbd><mark style="color:$primary;">**库**<mark style="color:$primary;"></kbd> 以重新使用之前保存的提示。
2. 来自 <i class="fa-cloud-arrow-up" style="color:$primary;">:cloud-arrow-up:</i> 图标，上传一张图片，Beachside 会生成一段描述，并将文本放入提示字段。

</details>
{% endstep %}

{% step %}

#### 选择纵横比

在下方：

1. 打开宽高比下拉菜单。
2. 为你的输出选择合适的分辨率和格式。 [分辨率](/main/ch/ren-wu/resolution.md)
   {% endstep %}

{% step %}

#### 选择输出数量

在右侧光照设置面板中：

* 选择要生成多少个变体。
* 你一次最多可以生成 4 个场景。
  {% endstep %}

{% step %}

#### Generate

确认所有设置后，选择 <kbd><mark style="color:$primary;">**Generate**<mark style="color:$primary;"></kbd>.

生成的场景将显示在你的创作空间中。
{% endstep %}
{% endstepper %}

***

## Nano Banana Pro 的生成力度

{% hint style="info" %}
Nano Banana Pro 的生成力度在以下功能中处于测试阶段 <kbd><mark style="color:$primary;">**从图像开始**<mark style="color:$primary;"></kbd>。包括 Combo 在内的更多任务支持已在计划中。
{% endhint %}

生成力度控制 Nano Banana Pro 在生成前对你的图像的分析深度，因此产品形状、浮雕徽标和纹理等细节都能完整保留。

有两个力度级别：

* **标准** （默认）：最适合大多数生成。大约需要 60 秒。
* **精确**：会更细致地分析你的图像，最适合复杂元素。大约需要 90 秒。

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2Fc0zD7vZRyjPHIVjgVSP5%2Fimage.png?alt=media&amp;token=376a0f81-9bb8-432c-a7e5-752b2d419d6a" alt=""><figcaption></figcaption></figure>

### 使用方法

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FdKqi8VyvWLGYWI6tY0zF%2Fimage.png?alt=media&amp;token=da141792-5bf2-435f-b873-7de1396310e9" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
**打开级别选择器**

在 <kbd><mark style="color:$primary;">**Generate**<mark style="color:$primary;"></kbd>，选择箭头以打开级别下拉菜单。

<kbd><mark style="color:$primary;">**标准**<mark style="color:$primary;"></kbd> 为默认选中。
{% endstep %}

{% step %}
**复杂元素请选择精确**

选择 <kbd><mark style="color:$primary;">**精确**<mark style="color:$primary;"></kbd> ，适用于细节丰富的生成，例如包装形状、压印徽标或纹理。

该 <kbd><mark style="color:$primary;">**Generate**<mark style="color:$primary;"></kbd> 按钮的图标和背景会更新，以显示你的选择。
{% endstep %}

{% step %}
**Generate**

选择 <kbd><mark style="color:$primary;">**Generate**<mark style="color:$primary;"></kbd>.

<kbd><mark style="color:$primary;">**精确**<mark style="color:$primary;"></kbd> 的耗时比 <kbd><mark style="color:$primary;">**标准**<mark style="color:$primary;"></kbd>更长，约 90 秒。
{% endstep %}
{% endstepper %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.theseaai.com/main/ch/ren-wu/model.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
