5. スプレッドシート詳細 5. Spreadsheet Details
「スプレッドシートエディタ (Spreadsheet
Mode)」は、Excelのように行と列でプロンプトを管理するモードです。
「衣装」「ポーズ」「背景」のように要素ごとに列を分けたり、複数のバリエーションを保存したりするのに最適です。
"Spreadsheet Editor (Spreadsheet Mode)" is a mode for managing
prompts in rows and columns like Excel.
It is ideal for
separating columns by elements such as "outfit," "pose," or
"background," and for saving multiple variations.
📊 テーブルの基本操作 📊 Basic Table Operations
| Comment | Tag 1 | Tag 2 | Tag 3 |
|---|---|---|---|
| Base | 1girl | solo | long hair |
| Outfit | white shirt | blue skirt | school uniform |
| Action | standing | looking at viewer | smile |
編集とクリア Editing and Clearing
- セルの編集: Editing Cells: 編集したいセルをクリックして文字を入力します。 Click the cell you want to edit and enter text.
- 行・列の追加: Adding Rows/Columns: ツールバーの Expand using the ➕ 行追加 ➕ Add Row / ➕ 列追加 ➕ Add Column ボタンで拡張できます。 buttons on the toolbar.
- クリア: Clearing: Press the 🗑️ クリア 🗑️ Clear ボタンを押すと、シートの内容をリセット(初期化)します。 button to reset (initialize) the content of the sheet.
ヘッダーが Comment となっている列に入力したテキストは、ビジュアルエディタへの反映時に自動的に「コメントブロック(#付き)」に変換されます。
そのため、スプレッドシート上でわざわざ
# Base のように記号を入力する必要はありません。
Text entered in a column with the header
Comment will be
automatically converted into a "comment block (with #)"
when reflected in the Visual Editor.Therefore, there is no need to enter symbols like
# Base on the spreadsheet.
💾 外部連携と保存 (Interoperability) 💾 External Integration and Saving (Interoperability)
このモードの最大の特徴は、ExcelやGoogleスプレッドシートとの連携機能です。 The most significant feature of this mode is its integration with Excel and Google Sheets.
タブ区切りテキスト (TSV) Tab-Separated Values (TSV) 形式での入出力に対応しています。 format is supported for input and output.
- Save TSV: Save TSV: データをTSVファイルとして保存します。Excelで開くことができます。 Saves data as a TSV file, which can be opened in Excel.
- Load TSV: Load TSV: TSVファイルを読み込みます。 Loads a TSV file.
Excel上のセル範囲をコピーし、このツールのセル上で
Ctrl+V (ペースト)
すると、テーブルが自動拡張されてデータが貼り付けられます。逆も可能です。
If you copy a range of cells in Excel and use
Ctrl+V (paste) on a cell in this tool, the table will
automatically expand and paste the data. The reverse is also
possible.
シートの状態をそのまま保存する形式です。 A format that saves the state of the sheet as is.
- Save JSON: Save JSON: 空のセルも含め、シート全体の構造を保存します。 Saves the entire structure of the sheet, including empty cells.
- Load JSON: Load JSON: 保存した状態を完全に復元します。 Completely restores the saved state.
🔄 ビジュアルエディタとの変換ルール 🔄 Conversion Rules with Visual Editor
スプレッドシートとビジュアルエディタ(タグブロック)の行き来には、以下のルールが適用されます。 The following rules apply when moving between the spreadsheet and the Visual Editor (tag blocks):
-
⬇️ 反映時 (Convert):
⬇️ During Reflection (Convert):
左上のセルから右へ、その後下の行へと順にタグが結合されます。
(例: Comment → Tag 1 → Tag 2 → Tag 3 → 次の行...) Tags are combined in order from the top-left cell to the right, and then to the next row below.
(e.g., Comment → Tag 1 → Tag 2 → Tag 3 → Next row...) -
⬆️ 反映時 (Reflect):
⬆️ During Reflection (Reflect):
ビジュアルエディタ上のタグ順序を維持して、セルに書き戻されます。
※元の列構造などはリセットされ、1つのセルに1つのタグが入る形で再配置される場合がありますのでご注意ください。 Tags are written back to cells while maintaining the tag order in the Visual Editor.
*Please note that the original column structure may be reset, and tags may be rearranged with one tag per cell.
次は、生成されるプロンプトの形式を調整する「生成オプション」について解説します。
Next, we will explain the "Generation Options" for adjusting the
format of the generated prompt.
6. 生成オプション へ進む ➡️
Go to 6. Generation Options ➡️