プロンプトのチートシート

プロンプトって何?なぜ必要なの?と思っていても大丈夫。子猫を使って説明します。

プロンプトとは、あなたの依頼をモデルの言葉に訳したものです。見たいものは、あなたにはわかっています。でもモデルには、はっきり書いて伝える必要があります。誰が、どこで、どのくらいの距離で、どんな光の中で。プロンプトとは、それだけのことです。

特別な言葉はいりません。ふつうの文で大丈夫です。カメラマンに撮影の指示を出すつもりで書きましょう。

同じ茶トラの子猫の3つのテイク:基本のスタジオポートレート、暗闇でろうそく1本に照らされた子猫、顔のクローズアップ
左から:私たちのプロンプト、1文を変えたもの、もう1文を変えたもの。

3枚とも同じプロンプトから作りました。毎回、1文だけを変えています。このページを読み終えるころには、どの文が何をするのかがわかります。

画像のプロンプト

良い画像プロンプトは、6つの問いにこの順番で答えます。

  1. フォーマット。どんな種類の画像で、どんな形か:A vertical 9:16 studio pet portrait。
  2. 被写体。誰なのか、はっきりした特徴をいくつか:a fluffy ginger tabby kitten… big blue-gray eyes, a pink nose and a cream chest。
  3. 構図。どこにいて、どのくらい近いか:in the center of the frame… full body visible。
  4. 光。どこから来て、どんな光か:Soft diffused light from the upper left。
  5. テキスト。画像に文字を入れたいときだけ。基本のプロンプトには入っていません。
  6. スタイル。スタイルはひとつ。それを本物らしく見せるディテールも添えます:Every whisker… in sharp focus… Natural studio pet photography。

これが基本のプロンプトです。長さは気にしないでください。A ginger kitten on a gray floor, soft light from the leftでもちゃんと使えます。各部分の役割がわかるように、詳しく書きました。この下では一度にひとつの部分だけを変え、残りは一字一句そのままにします。

Seedream 5.0 Pro、9:16、2K

A vertical 9:16 studio pet portrait of a fluffy ginger tabby kitten about
eight weeks old, with soft orange stripes, big blue-gray eyes, a pink nose
and a cream chest. He sits upright in the center of the frame on a seamless
mid-gray paper backdrop, full body visible, looking straight at the camera,
one hind paw turned out to show its pink toe pads. Soft diffused light from
the upper left, a gentle shadow on the floor to his right, the backdrop
falling off slightly darker at the top. Every whisker and the fine fluffy
fur in sharp focus, a few stray hairs catching the light. Natural studio pet
photography, true-to-life colors.
基本の子猫:グレーのスタジオ背景に座る茶トラの子猫

フォーマット:フレームの形

スマホなら9:16、画面なら16:9、フィード投稿なら1:1。プロンプトだけでなく、設定でも変えましょう。

フォーマットだけは画像で見せません。残りをひとつずつ見ていきます。

被写体:特徴を書く

次の部分の代わりに

a fluffy ginger tabby kitten about eight weeks old, with soft orange
stripes, big blue-gray eyes, a pink nose and a cream chest.

これだけを書きました。

a ginger kitten.
左は特徴なしのプロンプトから生まれた屋外の別の子猫、右は詳しいプロンプトから生まれた私たちの子猫
左:特徴なし。右:特徴あり。

特徴を書かないと、モデルが勝手に決めます。ここでは別の子猫を選び、外にまで連れ出しました。はっきりした特徴が2つか3つあれば十分です。毛並み、目、そして目を引く何かひとつ。

構図:近くか遠くか

次の部分の代わりに

He sits upright in the center of the frame on a seamless mid-gray paper
backdrop, full body visible, looking straight at the camera, one hind paw
turned out to show its pink toe pads.

こう書きます。

A tight close-up of his face against a seamless mid-gray paper backdrop,
looking straight at the camera.
左は全身の子猫、右は顔のクローズアップ
左:全身。右:クローズアップ。

近くなら感情、遠くなら場所が伝わります。書かなければ、モデルが決めます。

光:どこから来るかを書く

次の部分の代わりに

Soft diffused light from the upper left, a gentle shadow on the floor to his
right, the backdrop falling off slightly darker at the top.

こう書きます。

The studio is dark, and a single candle on the left lights his face;
everything else falls into deep shadow.
左はやわらかいスタジオの光の子猫、右は暗闇でろうそく1本に照らされた子猫
左:スタジオの光。右:ろうそく1本。

同じ子猫なのに、雰囲気がまったく違います。光は、どんなスタイルの言葉よりも画像を大きく変えます。

あるテイクには驚きました。「studio」と書いたら、モデルはそれを画家のアトリエと受け取ったのです。イーゼル、絵筆、そしてテーブルの上には本物のろうそく。すてきですが、意図とは違います。写真スタジオのことなら、「photo studio」と書きましょう。

テーブルの上のろうそくの横にいる、画家のアトリエの子猫
モデルから見た「studio」。

テキスト:文字が必要なときだけ

1文を足して、入れたい言葉をそのまま引用符で囲みました。

Next to him stands a tiny chalkboard sign that reads "FEED ME" in white
chalk letters.
FEED MEと書かれた小さな黒板の横にいる子猫

Seedream 5.0 Proは文字を正しく書きました。入れたい言葉をそのまま引用符で囲み、どこに置くか、どんな見た目かも書きましょう。

スタイル:ひとつに絞る

スタイルは2か所にあります。最初の言葉と、最後の数行です。両方を変えないと、モデルに2つのスタイルを同時に渡すことになります。

次の部分の代わりに

A vertical 9:16 studio pet portrait … Every whisker and the fine fluffy fur
in sharp focus … Natural studio pet photography, true-to-life colors.

こう書きます。

A vertical 9:16 watercolor illustration … Soft watercolor washes on textured
paper, loose brushwork in the fur.
左は写真の子猫、右は水彩画の同じ子猫
左:写真。右:水彩画。

今度は、すべてのスタイルを一度に頼むとどうなるか見てみましょう。次の部分の代わりに

Natural studio pet photography, true-to-life colors.

こう書きます。

Photo, watercolor, anime, 3D render, oil painting, 8K, masterpiece.
すべてのスタイルを一度に指定したプロンプトから生まれた、つるんとしたありきたりな子猫の画像
すべてのスタイルを一度に。

モデルは6つのスタイルを同時には再現できないので、平均をとります。出てくるのは「スロップ」です。何千回も見たような、つるんとして個性のないありきたりな画像。基本の写真と比べてみてください。毛並みはぼやけ、光は平坦で、子猫は「ストック写真」っぽくなっています。「8K」や「masterpiece」(傑作)も、何の役にも立ちませんでした。

スタイルはひとつに絞りましょう。画像を本当に変えるのは、「fur texture」(毛の質感)や「film grain」(フィルムの粒子)のような具体的なディテールです。

画像を変更する

@と入力して画像を選びます。画像はImage 1(画像1)として入ります。変更は3つの部分でできています。

  1. 何を変えるか。Change only the light in Image 1。
  2. どう変えるか。to late evening… a warm table lamp at the right edge of the frame。
  3. 何を残すか。Keep the exact same kitten, pose, armchair, blanket, books, window and camera angle.

Seedream 5.0 Pro、9:16、2K。添付:肘掛け椅子の画像。

Change only the light in Image 1 to late evening. The window behind is deep
blue dusk, and a warm table lamp at the right edge of the frame lights the
kitten and the armchair with soft amber light and gentle shadows. Keep the
exact same kitten, pose, armchair, blanket, books, window and camera angle.

同じ変更を、「keep」(残す)の部分ありとなしで比べてみます。2回目は「only」(だけ)という言葉も外しました。

肘掛け椅子の子猫:昼の光の元画像、keepの部分ありの夕方版、keepなしの夕方版
左から:元画像、「keep」あり、「keep」なし。

「keep」がないと、モデルは好き勝手に変えました。ランプは消え、夕暮れは夕焼けになっています。「keep」があれば、頼んだとおりの結果になりました。

1つのプロンプトで変えるのは1か所だけ。まず光、それから次のこと。そして「keep」の部分は毎回くり返しましょう。

動画のプロンプト

動画にはSeedance 2.5のReferencesモードを使い、子猫の夕方の画像を@で添付しました。動画のプロンプトは部分が多めですが、必須なのは最初の2つだけです。誰なのか、何をするのか。1行足すごとに、モデルが当て推量することがひとつ減ります。私たちのプロンプトを1行ずつ見ていきましょう。

  • 誰が。A fluffy ginger tabby kitten with big blue-gray eyes, a pink nose and a cream chest sits upright on a cream knitted blanket in a sage-green armchair.
  • 何をするか。A tiny glowing dust mote drifts down through the lamp light. His eyes lock onto it and his head follows it in small, smooth turns. He rocks back and taps up at it once with one front paw, and the mote spins away out of the light. He looks at the camera, gives one tiny meow and blinks slowly.
  • どこで。A cozy living room at dusk, a stack of old books beside him, rain running down the dark window behind.
  • 光。Warm amber lamp light from the right, soft shadows, cool blue dusk in the window.
  • カメラ。Medium shot, one slow continuous push-in toward the kitten, focus on his eyes, the background softening.
  • スタイル。Intimate realistic pet footage, 50mm lens at a wide aperture.
  • 品質。Clean, sharp fur and eyes, fine natural grain, smooth natural motion.
  • 音。<Soft rain on the window glass, low and steady throughout. One tiny kitten meow. A quiet purr at the end.> No music, no voices.
  • 避けたいこと。No facial distortion, no extra limbs, not over-polished, no second kitten, no toys, no human hands, no subtitles, no text, no watermark.

そのままコピーして使える全文です。

Seedance 2.5、References、16:9、1080p、10秒、サウンドオン。添付:夕方の画像。

A fluffy ginger tabby kitten with big blue-gray eyes, a pink nose and a
cream chest sits upright on a cream knitted blanket in a sage-green
armchair.

A tiny glowing dust mote drifts down through the lamp light. His eyes lock
onto it and his head follows it in small, smooth turns. He rocks back and
taps up at it once with one front paw, and the mote spins away out of the
light. He looks at the camera, gives one tiny meow and blinks slowly.

A cozy living room at dusk, a stack of old books beside him, rain running
down the dark window behind.

Warm amber lamp light from the right, soft shadows, cool blue dusk in the
window.

Medium shot, one slow continuous push-in toward the kitten, focus on his
eyes, the background softening.

Intimate realistic pet footage, 50mm lens at a wide aperture.

Clean, sharp fur and eyes, fine natural grain, smooth natural motion.

<Soft rain on the window glass, low and steady throughout. One tiny kitten
meow. A quiet purr at the end.> No music, no voices.

No facial distortion, no extra limbs, not over-polished, no second kitten,
no toys, no human hands, no subtitles, no text, no watermark.

8つの部分に、音の行が1つ加わっています。Seedanceは音も作れるからです。

音を説明する

音の種類ごとに別のかっこを使います。そうすれば、モデルが混同しません。

  • < >は効果音:<soft rain on the window glass>
  • ( )は音楽:(a quiet music box starts playing)
  • { }はセリフ:a voice from the next room whispers: {Where's the kitten?}
  • 【 】は画面上のテキスト:【The Dust Mote Hunt】

今回のクリップで使ったのは1つ目だけです。雨、鳴き声、ゴロゴロという音。残りの3つは、音楽や声やタイトルを入れる場合の書き方の例です。

画像がうまくいかないとき

うまくいかなかった部分を見つけ、その部分だけを直して、もう一度生成します。

  • 子猫が違う。被写体を直します。特徴を1つか2つ足しましょう。
  • 近すぎる、遠すぎる。構図を直します。
  • 雰囲気が違う。光を直します。どこから来るかを書きましょう。
  • 見た目が変。スタイルを直します。ひとつに絞り、2か所とも変えましょう。
  • 変更した画像が元の画像からずれた。「keep」の部分を足します。

生成を1回むだにしないための小さな言葉

  • one kitten only。2匹目の子猫がこっそりフレームに入ってくることがあります。
  • photo studioと書き、studioだけにしない。正確な1語で、ろうそくのある画家のアトリエを避けられます。
  • no people and no animals。あとで子猫を入れる、空の部屋を作るときに。
  • no text。頼んでいないのに、でたらめな文字が出てくるときに。

アカデミーの関連記事