ChatGPTで画像生成する作業工程~プロンプト管理
ChatGPTの画像生成が大幅にアップデートされました。
生成に時間はかかりますが、より精度の高いイラストを作れるようになったようです。
このnoteの情報は古くなっています。
このnoteでは、私がChatGPTで画像生成する時に考えている思考や、生成手順をそのまま記した物です。
実際に画像生成しながら、どうやってプロンプトを決めていくか?をご紹介します。
行程をほぼそのままテキストにしただけなので、読みづらい部分があるかと思いますが、ご了承ください。
ちなみに、個人的な感想ですが
ChatGPTはイラスト系が得意に感じます。
実写系の人物は苦手な印象です。
ChatGPTは有料プランを利用しています。
ChatGPTで画像生成するメリット
ChatGPTで生成した画像は、著作権や所有権がユーザー(生成した人)にあります。
もちろん商用利用も可能です。
生成物でグッズを作ったり、ステッカーを作ったり、など商売で直接利用できます。
ただし、ChatGPTでの画像生成にはいくつかの注意点があります。
出力の所有権: ChatGPT(DALL-E)使って作成した画像の著作権は、原則としてユーザーが持ちます。これは、商用利用する場合でも同様です。
OpenAIも利用権を持つ:OpenAIがサービスの提供や改善などを目的として、ユーザーのコンテンツを使用できます。つまり、ユーザーが生成した画像を、OpenAIがサービス向上などのために使用する可能性があります。
版権キャラクター:既存のキャラクターをプロンプトに加えたり、意図的に似せるためにプロンプトを組んだ生成画像は、著作権侵害の可能性があります。Google画像検索などで似た画像がないことを確認しましょう。
いくつか注意がありますが、ビジネス用途で画像を作りたければ便利です。
他の画像生成AIサービスと違い、文章生成もできるので、仕事全般の事を任せられるのもChatGPTの良いところです。
画像生成手順
頭の中のイメージを生成するために、まずは言葉にします。
日本語でざっくりと書いて大丈夫です。
紅葉(実写風)をバック、下からのアングルで、こちらに手を伸ばす少女
を作ろうと思います。
実際に生成したイラストの一部👇



冬バーション



この画像を生成するまでの過程をご紹介していきます。
プロンプトを作る
【視点は下から上を見上げるようにして、少女が下を見下ろしながらこちらに手を伸ばしているイラストを描いて。背景は紅葉の木々で実写にしてください。】
ChatGPTに○○な画像を生成してください。と指示すると、勝手にプロンプトを英語にして生成してくれます。

視点は下から上を見上げるようにして、少女が下を見下ろしながらこちらに手を伸ばしているイラストを描いて。背景は紅葉の木々で実写にしてください。
と指示した場合、👇のように改変されました。
A girl looking down while reaching out her hand, from a low angle perspective as if the viewer is looking up at her. The background is a realistic scene of autumn foliage, with vibrant red and orange leaves on the trees. The girl has a gentle expression, and the atmosphere feels serene, with sunlight filtering through the trees.
アニメ風にする
人物をアニメ風にしてほしかったので、
「人物はアニメ風のイラストにしてください」と指示。

背景が気に入らなかったので、ちゃんと実写にしてもらえるように指示。

これでもイマイチだったので、
「背景は1眼レフで撮られたような画像にしてください」と指示。

アングルが気に入らなかったので、
ここで一度プロンプトを整理します。
プロンプトは画像をクリックすることで確認できます。

アングルに関するプロンプトを変更
A girl looking down while reaching out her hand, from a low angle perspective as if the viewer is looking up at her. The girl is drawn in an anime style with soft features and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.
👇『from a low angle』→『from below』👇
A girl looking down while reaching out her hand, from below perspective as if the viewer is looking up at her. The girl is drawn in an anime style with soft features and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.



背景はいい感じでしたが、まだアングルが気に入りません。
まだアングルが下過ぎるな って思ったので、視線に関するプロンプトを変更します。
再度、アングルを変更
A girl looking down while reaching out her hand, from hip level shot perspective as if the viewer is looking up at her. The girl is drawn in an anime style with soft features and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.

A girl looking down while reaching out her hand, from hip level perspective as if the viewer is looking up at her. The girl is drawn in an anime style with soft features and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.プロンプトは上のように改変されました。
やっぱりなんか違うので、またアングルを変えてみます。
アングルを横からにしてみます。
横アングルから生成する
「from hip level shot」→「from side」
A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in an anime style with soft features and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.
これで生成。







プロンプトは指示通りで改変されませんでした。
A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in an anime style with soft features and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.たまにカメラが出たり、指が変になったりしました。
が、アングルも背景もなかなか良かったので、これを中心にブラッシュアップしていきます。
人物の絵柄を変更
絵柄を漫画風の平たい感じにします。

もう一回生成。

A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a flat anime style with minimal shading and soft features, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.なかなか良かったので上のプロンプトで生成ガチャしていきます。







なかなか良いですが、さらに絵柄を変更していきます。
再び絵柄を変更
キャラクターを日本のマンガっぽい絵にしてもらいます。

A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.






紅葉(リアル風) × 少女(イラスト風)
の画像がいい感じに生成されました。
これはこれで完成です!
さらに、この画像をベースにアレンジしていきます。
ベース画像から新たな画像を生成する手順
さっき作った画像のプロンプト👇
A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.このプロンプトをベースに背景を雪景色にしていこうと思います。

A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing. The background is highly realistic, resembling a DSLR photograph, with snow-covered trees and a winter landscape, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere.





なんか、カメラに絵が映ったり、キャンパスに描かれるようになりました。
プロンプトを少し変えます。
プロンプトの順番を変更する
ChatGPT(DALL-E3)の画像生成は、最初の方のプロンプトが優先される傾向があります。
※なんとなくそんな感じがします。
なので、プロンプトの順番を変更します。
A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing. The background is highly realistic, resembling a DSLR photograph, with snow-covered trees and a winter landscape, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere.
👇変更👇
The background is highly realistic, resembling a DSLR photograph, with snow-covered trees and a winter landscape, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere.A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing.




背景は実写っぽく無くなったので、背景に関するプロンプトを変更します。
背景情報の一部を削除してみます。
【, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere】を削除。

The background is highly realistic, resembling a DSLR photograph, with snow-covered trees and a winter landscape. A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing.


改めて実写風にして、と指示しました

A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing. The background is highly realistic, resembling a DSLR photograph, with snow-covered trees and a winter landscape, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere.








カメラが出てくるのが気に入らないので、一眼レフに関するプロンプトを削除します。
【, resembling a DSLR photograph】を削除。
A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing. The background is highly realistic, with snow-covered trees and a winter landscape, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere.

A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual winter clothing. The background is highly realistic, with snow-covered trees and a winter landscape, detailed textures of snow, and soft sunlight filtering through, creating a serene and peaceful winter atmosphere.











以上が今回生成した画像です。
画像生成が拒否される場合
ChatGPTで制限枚数に達していないのに画像生成が拒否される場合があります。
ポリシー違反など
画像生成が拒否された場合、
新しいチャットを開いて、そこにプロンプトを入れ直せば生成できるようになる事があります。
それでも拒否される場合は、プロンプトに問題がある可能性があります。
プロンプトを入れて、
「このプロンプトをポリシーに反しないプロンプトに変更してください。」
などを入れれば、生成できるプロンプトを考え直してくれます。
画像の修正
ChatGPTでは生成した画像をピンポイントで修正することができます。
ChatGPTで修正できる条件
・ChatGPTで生成した画像
・画像を生成したチャット上でのみ修正可能
どこかからダウンロードした画像を修正できません。
チャット上で生成した画像だけ修正できます。

ChatGPT上で修正したい画像をクリックすると、以下の画面が出てきます。

ペンみたいなマークをクリックすると、修正画面になります。

修正したい部分を選択して、プロンプトを入力。
「手とカメラを消してください」と入れました。

すると、カメラが自然な感じで消えました。
まだ、指が多いです。
これも先ほどと同じ手順で消します。

以上が画像修正の手順です。
プロンプロ管理
お気に入りの画像ができたらプロンプトを残しておきたいですよね?
ChatGPTのチャット上でもプロンプトを確認できますが、チャットが流れてプロンプトを探しにくくなります。
プロンプトは自分で忘れないようにメモしておきましょう。
画像をダウンロード



画像は「.webp形式」で保存されます。
webp画像を【○○.jpg】形式で保存
こちらはWindowsの画面です。
※MacBookでの操作は持っていないので分かりません。しかし同じような機能があると思います。
画像を開きます。
開いたら『名前をつけて保存』をクリック。

ファイルの種類を選択します。
.jpg / .jpeg
どちらでも良いですが、個人的には『.jpg』をよく使ってます。


画像のコメント機能を使う
保存したJPG画像を右クリックして、プロパティを開きます。
プロパティの詳細タブを開いて、コメント部分にプロンプトを入力します。

OKを押せば、プロンプトの保存はOKです。
お気に入りの画像ができたら、しっかりプロンプトをメモっておきましょう!
別の生成ツールでも活用する事もできます。
番外編:ChatGPTで作ったプロンプトはDesignerでも使える
このnote内で作った画像のプロンプトをDesignerで生成してみました。

A girl looking down while reaching out her hand, from side perspective as if the viewer is looking up at her. The girl is drawn in a traditional Japanese manga style with bold lines and expressive eyes, wearing casual autumn clothing. The background is highly realistic, resembling a DSLR photograph, with vibrant red and orange autumn leaves on trees, detailed textures, and sunlight filtering through, creating a serene and peaceful atmosphere.指の破綻が多くて、没画像がかなり多いですが、Designerは生成枚数の制限がほとんどありません。
生成ガチャで良い画像を選別しました。









Designerでの画像生成は別記事で解説しています。
1枚完成させれば、そのプロンプトをベースにいろんな画像を作れる
お気に入りの画像を1枚作り、プロンプトをメモしたら、それをベースに新たな画像を生成できます。
このnoteでも解説したように、
「季節を秋から冬にして」と指示すれば似たテイストで新たな画像を作れます。
背景を変えたり、人物を変えたり、表情を変えたり
作り込まれたプロンプトから、さらに派生して良い画像を生成できるようになるのです。
そのためには、いろんなパターンの画像を作って、プロンプトのストックを増やしておくことが大切です。
PR
メンバー限定にはなりますが、生成した画像のプロンプトをメモってます。
画像生成の参考になると思います。
おまけ①:既存の画像を参考にプロンプトを作る方法
ChatGPTには、画像から画像を作るいわゆるi2i(イラスト to イラスト)はできません。
しかし、擬似的なi2iは可能です。
試しに、以前生成した画像で生成してみます。

「この画像はどんな画像ですか?どんな画像か事細かく教えてください。」
と命令してみます。

以下の様な回答をもらえます。

画像の説明をしてもらえるので、
「同じような絵を再現するためにはどんなプロンプトを書けば良いですか?」
と命令します。

プロンプトを提示してくれるので、コピーして生成します。

こんな画像が生成されました。

完全に再現はできませんが、プロンプトのベースを作るくらいはできます。
おまけ②:いろんな画像のプロンプト
いろんなパターンの画像とプロンプトのストックを増やしておくことで、画像生成のバリエーションが増えます。
ご自身で考えても良いですが、参考プロンプトと画像をご紹介します。








有料部分では、画像のプロンプトを記載しています。
ここから先は
この記事が気に入ったらチップで応援してみませんか?
