私の画像生成AIのプロンプト作成ワークフロー

Midjourney の新しいモデルが出たら再開する…。

その前に画像生成AI向けのプロンプトの作成ワークフローを整理した、そんな記録です。


今までずーっとなんとなくプロンプトを作ってきました。

ただ画像生成AIに対して、影響度の少ない単語が多く含まれた長いプロンプトはあまり好ましくないと言われています。

私自身も、影響度の少ない単語が多くプロンプトに入っていることは視認性に欠けて、かつメンテナンス性が非常に悪くなるといったデメリットのほうが大きくなるのではないか…。

ということをうすうす感じていました。

自己流を継続しますが画像生成AIの簡潔なプロンプト作成ワークフローでどこまでの表現が可能かを実験を兼ねて長期的に試してみようかなと思います。



Step 0.ワークフローの全体像

どのような要素を単語として組み合わせつつ、シンプルなデザイン表現になるかを考える時に以下の書籍が非常に有用でした。

詳細が気になる方は以下のリンクをご確認ください。

さて実際のワークフローです。

  • Step1. Determine the title of your artwork
    作品のタイトルを決める

  • Step2. Add a theme to your artwork
    作品にテーマを加える

  • Step3. Specify the artistic style of your artwork
    作品のアートスタイルを指定する

  • Step4. Specify the shooting technique/style
    撮影テクニック/スタイルの指定

  • Step5. Adding objects to the artwork
    作品にオブジェクトを追加する

  • Step6. Adding Accessories or Attributes to the Object
    オブジェクトにアクセサリーや属性を追加する

  • Step7. Add elements such as Light Source and Composition to the artwork
    作品に光源や構図などの要素を加える

  • Step8. Create a concise Description or Template Sentence for the Artwork
    作品の簡潔な説明文またはテンプレート文を作成する

  • Step9. Define the variables of the artwork
    作品の変数を定義する

  • Step10. The final result (art description) will look like the following example
    最終的な結果(アート記述)を作成する

  • Step11. Generate description, keywords, categories and call to action for design sales
    デザイン販売のための説明文、キーワード、カテゴリー、Call to Actionの生成を作成する


以降はフローの実行例にになります。一気に結果までお見せしますので是非ご覧下さるとありがたいです。

Input

Op Art Waves

Step 1. Determine the title of your artwork

作品のタイトルを決める

Title: Op Art Waves

Step 2. Add a theme to your artwork

作品にテーマを加える

Main Theme: Optical Illusion
Sub Theme: Movement

Step 3. Specify the artistic style of your artwork

作品のアートスタイルを指定する

Artistic Style: Op Art

Step 4. Specify the shooting technique/style

撮影テクニック/スタイルの指定

Shooting Technique: Digital Illustration

Step5. Adding objects to the artwork

作品にオブジェクトを追加する

Object Name: Waves
Object Type: Geometric Shape

Step6. Adding Accessories or Attributes to the Object

オブジェクトにアクセサリーや属性を追加する

Accessories/Attributes 1: Alternating Color Schemes
Accessories/Attributes 2: Repetitive Patterns

Step7. Add elements such as Light Source and Composition to the artwork

作品に光源や構図などの要素を加える

Light Source: Multiple, to create the illusion of movement
Composition: Overlapping waves with varying sizes and colors

Step8. Create a concise Description or Template Sentence for the Artwork

作品の簡潔な説明文またはテンプレート文を作成する

Artwork Description/Template Sentence:
Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with alternating color schemes and repetitive patterns. Multiple light sources and overlapping composition create an illusion of movement.

Step9. Define the variables of the artwork

作品の変数を定義する

Variable 1: [Color Scheme]: {Monochromatic, Complementary, Analogous, Triadic, Split-Complementary, Tetradic, Square, Rectangular, Warm, Cool}
Variable 2: [Wave Pattern]: {Uniform, Random, Gradual, Concentric, Radiating, Spiral, Zigzag, Sinusoidal, Circular, Elliptical}

Step 10. The final result (art description) will look like the following example:

最終的な結果(アート記述)は以下の例のようになる

Sample: 
Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a [Color Scheme] and a [Wave Pattern]. Multiple light sources and overlapping composition create an illusion of movement.
[Color Scheme]: {Monochromatic, Complementary, Analogous, Triadic, Split-Complementary, Tetradic, Square, Rectangular, Warm, Cool}
[Wave Pattern]: {Uniform, Random, Gradual, Concentric, Radiating, Spiral, Zigzag, Sinusoidal, Circular, Elliptical}

Important tokens/Midjourney短縮分析(/short)コマンド解析

このゾーンは分析用にMidjourneyという画像生成AIサービスに分析機能の結果を付け足したもので、生成したプロンプトの不要そうな単語のあたりをつけようかなと考えています。

プロンプトとして実装できればいいのですが、今のことろ後付けで我慢しています。

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a [Color Scheme] and a [Wave Pattern]. Multiple light sources and overlapping composition create an illusion of movement

Op Art Waves (0.52), an Optical (0.00) Illusion (0.01) themed (0.01) artwork (0.06) with Movement (0.03) sub (0.04) theme (0.00), features (0.01) geometric (0.01) shapes (0.00) named (0.01) Waves (0.00), adorned (0.01) with a [Color (1.00) Scheme (0.01)] and a [Wave (0.01) Pattern (0.01)]. Multiple (0.01) light (0.36) sources (0.23) and overlapping (0.02) composition (0.01) create (0.01) an illusion (0.01) of movement (0.01)
██████████ Color █████░░░░░ Op Art Waves ████░░░░░░ light ██░░░░░░░░ sources █░░░░░░░░░ artwork


Step11. Generate description, keywords, categories and call to action for design sales

デザイン販売のための説明文、キーワード、カテゴリー、Call to Actionの生成を自動生成しています。特にイラスト投稿とかで使う機会が多いのでフローの中に組み込んでいます。

Keywords(comma separated): Optical Illusion, Op Art, Abstract Art, Geometric Shapes, Waves, Movement, Color Theory

Description: A unique Op Art Waves design, bringing the illusion of movement to your space with its clever use of geometric wave patterns and color schemes. Perfect for adding a touch of abstract and modern aesthetic to any environment.

CTA: Add a wave of movement to your space with our Op Art Waves design! Shop now to bring this optical illusion to life.

Categories selected from the following: Graphics, Art

結果(Midjourney v5.2からの出力)

バリエーション1

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Monochromatic' and a 'Uniform' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement --v 5.2 --style raw

バリエーション1

バリエーション2

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Complementary' and a 'Random' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション2

バリエーション3

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Analogous' and a 'Gradual' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション3

バリエーション4

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Triadic' and a 'Concentric' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション4

バリエーション5

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Split-Complementary' and a 'Radiating' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション5

バリエーション6

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Tetradic' and a 'Spiral' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション6

バリエーション7

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Rectangular' and a 'Sinusoidal' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション7

バリエーション8

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Square' and a 'Zigzag' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション8

バリエーション9

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Warm' and a 'Circular' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション9

バリエーション10 

Op Art Waves, an Optical Illusion themed artwork with Movement sub theme, features geometric shapes named Waves, adorned with a 'Cool' and a 'Elliptical' Wave Pattern. Multiple light sources and overlapping composition create an illusion of movement. --v 5.2 --style raw

バリエーション10 

最後に

これから継続して、デザイン表現をシンプル化して拡張したときの画像生成AIの反応を見ていきたいと思います。

もし興味がわいた方がいらしたら、フォロー、スキをくださるとありがたいです。

これから作例をどんどん増やしてまいります。

なお、これらの過程を人力で続けるには、ちょっと労力が…って感じです。

ということで当然のようにChatGPTなどの文書生成AIの支援を受けています。

ChatGPTへの直接入力やOpen AI API、Poeなどの自分でシステムプロンプトを入力する文書生成AIどちらにも対応したプロンプトを自分で作成しています。

まだプログラムのコードとしてOpen AI APIには最適化していません。

もし欲しいがいらしたら、有償ではありますが提供したいと思いますのでコメント等で連絡頂ければと思います。



この記事が気に入ったらサポートをしてみませんか?