ChatGPTを旅の途中のプロンプトジェネレーターに変える

ChatGPTを旅の途中のプロンプトジェネレーターに変える

ChatGPT は Midjourney 画像生成のテンプレートとして使用できると結論付けられました。この投稿では、個人的なユースケースに基づいてこれらのプロンプトを作成する方法を示し、ChatGPT によって生成されるプロンプトをより制御できるようにします。

プロンプトテンプレートを選択

Midjourney のテンプレートは非常に構造化されているため、ここでは次の構造を使用します。

写真

ChatGPTをご利用ください

ChatGPT が機能するためには、Midjourney プロンプトの生成に役立つ ChatGPT プロンプトも作成する必要があります。

ChatGPT のプロンプトは、ChatGPT にアイデアを繰り返し提示させ、それに関連する画像プロンプトを作成させます。私たちは ChatGPT にアイデアと要件を提示し、ChatGPT に作業を任せています。

信頼性が高く効果的なChatGPTプロンプトには、指示とコンテキストという2つの主要な要素があります。

まずコンテキストから始めます。要件をプレフィックス、シナリオ、サフィックスに簡単に分割できます。

 #这是Midjourney的命令/imagine prompt: PREFIX, SCENE, SUFFIX PREFIX defines the image's medium and style SCENE defines the content SUFFIX modulates PREFIX and SCENE

次のステップは、コンテキストと ChatGPT が情報を処理する方法の指示を組み合わせることです。

 This is the basic prompt anatomy for image generation with Midjourney: /imagine prompt: PREFIX, SCENE, SUFFIX PREFIX defines the image's medium and style SCENE defines the content SUFFIX modulates PREFIX and SCENE Create 10 prompts that illustrate the theme "father-son relationship"

上記および下記の制限は ChatGPT に対する要件です。ChatGPT は要件に基づいて結果を返します。これはおおよそ次のようになります。

 1. /imagine prompt: Vintage sepia photograph, A father teaching his son how to ride a bicycle in a park, With a sense of warmth and nostalgia. 2. /imagine prompt: Renaissance oil painting, A king passing his crown to his son in a lavish throne room, With an atmosphere of grandeur and responsibility. 3. /imagine prompt: Animated family movie style, A dad and son building a rocket ship in their backyard, Infused with a sense of adventure and bonding. 4. /imagine prompt: Watercolor sketch, A father and son fishing on a quiet lake as the sun sets, With a serene and tranquil atmosphere. 5. /imagine prompt: Comic book art, A superhero father with his sidekick son saving the day, With dynamic action and a sense of camaraderie. 6. /imagine prompt: Traditional Japanese Ukiyo-e style, A samurai father and his young son practicing martial arts under a cherry blossom tree, With a sense of discipline and tradition. 7. /imagine prompt: 90s sitcom illustration, A dad and son laughing together while attempting to fix a car in a garage, With a vibe of humor and togetherness. 8. /imagine prompt: Modern abstract art, An interpretation of the emotional bond between a father and son, With swirling colors that convey deep connection and love. 9. /imagine prompt: Children's book illustration, A boy on his father's shoulders, looking up at the stars, With a sense of wonder and shared curiosity. 10. /imagine prompt: Sci-fi concept art, A father and son in futuristic gear exploring an alien planet, With a sense of discovery and shared adventure.

これらのプロンプトを Midjourney にコピー/貼り付けるだけです。結果の一部を以下に示します。

良い

良い

上記は ChatGPT の最も簡単な使用方法のヒントです。以下のより高度なアプリケーションも使用できます。

アイデアを広げる

ChatGPT はトレーニングに大規模なコーパスを使用するため、次のヒントのようにアイデアを拡張するのに役立ちます。

 keep theme, set prefix to "modern abstract art", scene should contain metaphors (without explanations), use suffix to implement lens and camera types. list 5 prompts

結果は次のとおりです。

 /imagine prompt: Modern abstract art, An anchor and a soaring kite entwined, With a fisheye lens capturing the circular interplay of stability and freedom. /imagine prompt: Modern abstract art, A torch casting shadows of successive taller figures, With a tilt-shift lens emphasizing the central flame as the source of growth. /imagine prompt: Modern abstract art, Rivers of color weaving from a storm to a calm sea, With a wide-angle lens to envelop the viewer in the journey. /imagine prompt: Modern abstract art, A lighthouse beam morphing into a tapestry of music notes, With a telephoto lens bringing focus to the distant harmony. /imagine prompt: Modern abstract art, Clock gears turning into an unfolding map, With a macro lens capturing the intricacies of time and adventure's intertwinement.

結果は次のとおりです。

写真

写真

ChatGPT出力を最適化する

Midjourney には、以前の記事で紹介した permutation という機能があり、次の方法を使用して ChatGPT で対応する形式で結果を生成できます。

 This is the basic prompt anatomy for image generation with Midjourney: /imagine prompt: PREFIX, SCENE, SUFFIX PREFIX defines the image's medium and style SCENE defines the content SUFFIX modulates PREFIX and SCENE You can group variations in comma-separated lists like this: {PREFIX 1, PREFIX 2, PREFIX 3} or {SCENE 1, SCENE 2} or {SUFFIX 1, SUFFIX 2} Important: when using variations, each item in the list has to be a single word or a phrase without comma (otherwise we'd break the syntax) ### Create a prompt that illustrate the theme "father-son relationship". Use 2 variations for prefix and 3 variations for suffix

ChatGPT は次の結果を返します。

 /imagine prompt: {oil painting, watercolor}, a father teaching his son how to ride a bike in a park, {with a touch of nostalgia, under a warm sunset, captured in a moment of laughter}

したがって、このプロンプトを Midjourney にコピーすると、次の結果が得られます。

写真

つまり、6 枚の画像を直接生成できます。以下は結果の例です。

良い

写真

要約する

ChatGPT は大規模なコーパスでトレーニングされた大規模な言語モデルであり、Midjourney は高品質の画像を生成できるため、2 つの利点を組み合わせて、より包括的で豊富なコンテンツの作成を実現します。この包括的なコンテンツ生成方法により、テキストと画像を通じて同時により多くの情報とインスピレーションを得ることができます。

<<:  2時間で人間を超えることができます! DeepMind の最新 AI が 26 の Atari ゲームをスピードラン

>>:  マーク・アンドリーセン氏、AIが世界を救うと語る

ブログ    
ブログ    
ブログ    

推薦する

...

ディープラーニングにおける8種類の畳み込みを視覚的に理解する

この記事では、ディープラーニングでよく使用される 8 種類の畳み込みについてまとめ、非常に鮮明な方法...

Google、再生可能エネルギーと機械学習の力を借りて風力発電の予測に成功

従来の観点から見ると、目に見えず、実体のない風が新しい日にどのような挙動を示すかを予測することは依然...

...

...

複数の LLM が連携して機能します。清華大学などがオープンソースのマルチエージェントフレームワークAgentVerseを開発:Minecraftのアイテムを共同で作成し、ポケモンを訓練

人類が地球上の食物連鎖の頂点に上り詰め、さらには宇宙の探査を続けられるようになったのは、個人の脳だけ...

ビル・ゲイツ:AIが最大の影響を与えるには何十年もかかる

[[271684]]ビル・ゲイツは、世界を変えるトレンドを予見し、それを活用することで、史上最も成功...

人工知能:ニューノーマルにおける成長促進要因

SHRMのレポートによると、中小企業経営者の43%がパンデミック中に事業を生き残るための新たな方法を...

Google は、開発者が独自のモデルを構築できるようにエンドツーエンドの AI プラットフォームをリリースしました。

Google は一連の人工知能ツールをリリースしました。これらすべての新しいツールとサービスの核と...

テクノロジーフロンティア | 昆虫はIoT AIの未来となるか?

研究者たちは、特定の昆虫の神経系の機能が、決定論的、確率的、揮発性、不揮発性メモリの機能とどのように...

退屈な「機械学習」がこのように学べるとは思ってもいませんでした!

[[234276]]機械学習は、確率論や統計などの複雑な分野を含む人工知能の中核分野の 1 つです...

人工知能を扱うなら必ず知っておくべき音声認識技術の原理

人工知能の急速な発展に伴い、音声認識は多くのデバイスの標準機能になり始めています。音声認識はますます...

AIビッグモデルデータ注釈「出稼ぎ労働者」の月収は5000元以下、単価は50セントから4セントに下落

10月9日のニュースによると、AIビッグモデルは近年、人工知能の分野で話題になっており、リアルなテ...

Ant Financialが機械学習ツールSQLFlowをオープンソース化、機械学習はSQLよりも簡単

5月6日、アント・ファイナンシャルの副CTOである胡曦氏はオープンソースの機械学習ツールSQLFlo...