4. プロンプトエディタ詳細 4. Prompt Editor Details
「プロンプトエディタ (Normal
Mode)」は、Automatic1111などのWebUIと最も親和性が高い、テキストベースの編集画面です。
WebUIからコピーしたプロンプトを貼り付けたり、最終的な調整を行ったりするのに適しています。
"Prompt Editor (Normal Mode)" is a text-based editing screen with the
highest affinity for WebUIs such as Automatic1111.
It is suitable
for pasting prompts copied from the WebUI or making final
adjustments.
📝 エディタの機能 📝 Editor Features
単なるテキストボックスではなく、プロンプト編集に特化した機能(CodeMirror)を搭載しています。 It is not just a simple text box but is equipped with features specialized for prompt editing (CodeMirror).
入力されたテキストを解析し、色分けして表示します。
特に
#
で始まるコメント行は緑色で表示されるため、メモ書きと実際のプロンプトを視覚的に区別できます。
It analyzes the entered text and displays it in color-coded
sections.
In particular, comment lines starting with
# are displayed in green, allowing
you to visually distinguish notes from actual prompts.
左側に行番号が表示されます。長いプロンプトもエディタの幅に合わせて自動的に折り返して表示されるため、横スクロールの手間がありません。 Line numbers are displayed on the left. Long prompts are automatically wrapped to fit the width of the editor, eliminating the need for horizontal scrolling.
💾 ファイルの保存と読込 (File I/O) 💾 File Saving and Loading (File I/O)
作成したプロンプトをテキストファイル(.txt)としてパソコン内に保存したり、読み込んだりすることができます。 You can save your created prompts as text files (.txt) on your computer or load them from files.
Save .txt (保存) Save .txt (Save)
現在のエディタの内容をそのままテキストファイルとしてダウンロードします。
WebUIの「Styles」機能に登録するためのファイル作成や、シンプルにメモ帳で管理したい場合に便利です。
Downloads the current content of the editor as a text file.
Convenient
for creating files to register in the WebUI's "Styles" function or for
simply managing prompts with a text editor.
Load .txt (読込) Load .txt (Load)
ローカルにあるテキストファイルを選択して読み込みます。
Select and load a local text file.
ドラッグ&ドロップ対応
Drag & Drop Support
ボタンを使わずとも、テキストファイルをエディタエリアに直接ドラッグ&ドロップすることでも読み込みが可能です。
Loading is also possible by dragging and dropping a
text file directly into the editor area without using the
button.
📋 クリップボードへのコピー 📋 Copying to Clipboard
作成したプロンプトをWebUIに貼り付けるための方法は、以下の2通り用意されています。 There are two ways provided to copy the created prompt for pasting into the WebUI:
画面下部(または出力エリア)にある Pressing the 📋 プロンプトとしてコピー 📋 Copy as Prompt ボタンを押すと、すべてのタグが整形された状態でクリップボードにコピーされます。
基本的にはこのボタンを使うのが確実です。 button located at the bottom of the screen (or in the output area) copies all tags in a formatted state to the clipboard.
Basically, using this button is the most reliable method.
エディタ上部のツールバーにある Using the 📄 コピー 📄 Copy ボタンを使うと、現在エディタに入力されているテキスト(コメント行などを含む)をそのままコピーできます。
また、一般的なテキストエディタと同様に、テキストを選択して
Ctrl+C でコピーすることも可能です。
button on the toolbar at the top of the editor allows you to copy the
current text in the editor (including comment lines, etc.) as is.Also, similar to common text editors, you can copy selected text using
Ctrl+C.
🔄 編集サイクルのおさらい 🔄 Review of the Editing Cycle
プロンプトエディタは「入り口」であり「出口」です。 The Prompt Editor is both the "entrance" and the "exit."
- ここにテキストを貼る。
- Paste text here.
- ⬇️ ビジュアルエディタに反映 ⬇️ Reflect in Visual Editor を押して可視化・推敲する。 to visualize and refine.
- ⬆️ プロンプトエディタに反映 ⬆️ Reflect in Prompt Editor でテキストに戻す。 to return to text.
- 📋 プロンプトとしてコピー 📋 Copy as Prompt を押してWebUIへ持っていく。 and take it to the WebUI.
次は、もう一つの強力な編集モード「スプレッドシートエディタ」について解説します。
Next, we will explain the other powerful editing mode, the
"Spreadsheet Editor."
5. スプレッドシート詳細 へ進む ➡️
Go to 5. Spreadsheet Details ➡️