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が世界を救うと語る

ブログ    
ブログ    
ブログ    

推薦する

世界初の大型モデルエージェントが発売!口を動かすだけでPCが働き者になる

最近、謎のアシスタントであるシャオ・シュアイの助けにより、彼のオフィスの効率は以前に比べて10倍以上...

...

DeLu Deep Visionが蘇州スマート博覧会に登場、3Dフルスタックでマシンビジョンの新時代を切り開く

8月14日、2020年世界人工知能製品応用博覧会(AIExpo2020)が予定通り蘇州国際博覧センタ...

顔認識に興味がありますか? JavaScriptで実装された顔検出方法

私はビデオや画像における顔のタグ付け、検出、顔認識技術に常に興味を持っています。顔認識ソフトウェアや...

杜暁曼自動機械学習プラットフォームの実践

1. 機械学習プラットフォームまず、Du Xiaomanの機械学習プラットフォームの背景、開発プロセ...

...

AIがコンピューティングをエッジに押し上げる

[[408175]]ここ数年の流行語といえば、エッジ コンピューティングは 5G や AI と密接に...

...

アルゴリズムだけでは不十分:AIの次のブレークスルーにはハードウェアの再検討が必要

この記事は公開アカウント「Reading Core Technique」(ID: AI_Discov...

このベクターニューラルスタイルのブラシを使用すると、GANなしで美しい絵画を生成できます

CVPR 2021で発表された論文の中で、NetEase Fuxiとミシガン大学の研究者は、制御可能...

2022年以降の中国の自動運転産業の展望

2022年1月28日、iResearchは「2021-2022年中国自動運転産業年次概要レポート」を...

ビッグデータに責任を負わせないでください。スモールデータをうまく活用する方が効果的かもしれません。

誰もがビッグ データについて語っていますが、大規模なデータ セットを処理するにはより多くのストレージ...

専門家は「人工知能+教育」は慎重に扱うべきだと考えている

[[278770]]地図:李暁軍● 学校での顔認識の導入は、データセキュリティと個人のプライバシーの...

2018年のソフトウェア開発に関する10の予測、注目のブロックチェーンとAIを含む

[[221321]]ブロックチェーン、NLP、AI 駆動型ツール、機械学習、サーバーレス コンピュー...