> 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/jp/tasuku/kuo-zhang.md).

# 拡張

1回の生成ステップで、画像を元の境界を超えて拡張します。拡張を使うと、視覚的な一貫性を保ちながら、アスペクト比と配置を調整できます。

***

<figure><img src="https://3749661168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FydWY1spv7llinsmCboSi%2Fgitbook_task_expand.png?alt=media&amp;token=d95e1c7c-ce4b-4035-ae38-ac5c784bd7e7" alt=""><figcaption></figcaption></figure>

***

## インタラクティブチュートリアル

{% hint style="info" icon="language" %}
**チュートリアルの言語を変更する方法**\
チュートリアルは既定で英語で表示されます。別の言語でこのチュートリアルを表示するには、右上隅にカーソルを合わせて、選択してください <i class="fa-language">:language:</i> **言語**.
{% endhint %}

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

***

## 使い方

{% stepper %}
{% step %}

#### 「AI 拡張」を選択

左側のタスクメニューで、 <kbd><mark style="color:$primary;">**サイズを変更**<mark style="color:$primary;"></kbd> その後 <kbd><mark style="color:$tint;">**AI 拡張**<mark style="color:$tint;"></kbd>

これで AI 拡張のワークスペースが開きます。
{% endstep %}

{% step %}

#### 商品画像をアップロード

商品画像は前景要素として使用されます。

画像は次の方法でアップロードできます。

* 選択する <kbd><mark style="color:$primary;">**画像をアップロード**<mark style="color:$primary;"></kbd> シーン内で
* コンピューター上のフォルダーから画像をドラッグ＆ドロップする
* 画面左下のライブラリパネルから画像をドラッグ＆ドロップする

アップロードすると、商品がシーンに表示されます。
{% endstep %}

{% step %}

#### 出力サイズを調整

キャンバス上で直接、画像サイズを手動で調整できます。

別の方法として：

* シーン右側の AI 拡張設定パネルで、ズーム率のコントロールを使用します。

アスペクト比を変更したい場合は、次の手順に進んでください。
{% endstep %}

{% step %}

#### 拡張比率を選択

右側の AI 拡張設定パネルで：

* 開いて、 <kbd><mark style="color:$primary;">**拡張比率**<mark style="color:$primary;"></kbd> のドロップダウンメニューを開きます。
* 新しいアスペクト比を選択します。

<details>

<summary><strong>選択可能なアスペクト比</strong></summary>

* 縦長（9:16、768×1344px）
* ワイドスクリーン（21:9、1536×672px）
* 縦ワイドスクリーン（9:21、672×1536px）
* フレキシブル 5:4（5:4、1152×896px）
* フレキシブル 4:5（4:5、896×1152px）
* 正方形（1:1、1024×1024px）
* 写真（3:2、1248×832px）
* 縦写真（2:3、832×1248px）
* クラシック（4:3、1184×864px）
* 縦クラシック（3:4、864×1184px）
* 横長（16:9、1344×768px）

</details>
{% endstep %}

{% step %}

#### 任意：テキストプロンプトを追加

右側の AI 拡張設定パネルで、全体的な方向性を示すテキストプロンプトを追加できます。\
テキストプロンプト欄：

1. テキストプロンプト欄に直接入力します。
2. 選択 <kbd><mark style="color:$primary;">**ライブラリ**<mark style="color:$primary;"></kbd> 以前保存したプロンプトを再利用します。
3. 次の <i class="fa-cloud-arrow-up" style="color:$primary;">:cloud-arrow-up:</i> アイコンから画像をアップロードすると、Beachside が説明文を作成し、そのテキストをプロンプト欄に配置します。
   {% endstep %}

{% step %}

#### 拡張

すべての設定を確認したら、 <kbd><mark style="color:$primary;">**拡張**<mark style="color:$primary;"></kbd>.

生成されたシーンがプレイグラウンドに表示されます。
{% 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/jp/tasuku/kuo-zhang.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.
