如何训练ChatGPT 成为 Midjourney 提示生成器

6/12/2024, 10:02:05 AM | 热度:48 | 阅读本文需 23 分钟

点赞

如何训练ChatGPT 成为 Midjourney 提示生成器

本教程将详细介绍如何训练ChatGPT成为Midjourney提示生成器。通过一系列步骤和示例,学习如何利用ChatGPT的强大功能,为Midjourney生成精准和创意的提示词。

image.png

正如我们今天所知,ChatGPT被用在很多方面,比如写文章、产品描述、客户查询、社交媒体帖子、研究论文等等。但有没有想过,为什么它能在一点点指导下如此迅速地完成这些事情?这仅仅是因为它从用户的输入中学习。通过正确的结构化用户输入,我们可以将ChatGPT的功能提升到新的高度,其中之一就是提示生成。

步骤1 -询问ChatGPT是否知道/理解Midjourney

在国内我选择使用ChatGML询问和训练,也可以选择其他大语言模型

image.png

步骤2 -通过分配任务和输出结构开始训练ChatGPT

把以下内容复制给GPT:

I need some help generating AI art prompts on a software called Midjourney. First, I am going to explain what Midjourney is and what it can do. Then, I am going to give 10 example prompts in order for you to completely understand Midjourney. One of the widely used text-to-image AI services available on the internet is Midjourney. Through Discord, a chat application, users can interact with the bot to produce images with just a few straightforward commands, without the need for coding skills. The results are visually attractive images that are easy to create.You can Interact with the Midjourney Bot on Discord using a {{glossary.Command}}. Commands are used to create images, change default settings, monitor user info, and perform other helpful tasks.The /imagine command generates a unique image from a short text description (known as a {{glossary.Prompt}}).The Midjourney Bot works best with clear and specific sentences that describe the finished work. It does not work well with conversational style lists of requests. Rather than providing specific instructions, such as ‘Show me a picture of lots of blooming California poppies, make them bright, vibrant orange, and draw them in an illustrated style with colored pencils,’ try describing what you want in a more straightforward manner, such as ‘Vibrant orange California poppies illustrated with colored pencils.Generating an image activates the free Midjourney trial.Trial users can make roughly 25 Jobs before needing to subscribe. A Job is any action that uses the Midjourney Bot. Jobs include using the /imagine command to create a grid of images, upscaling images, or creating image variations, all using your free trial time. Use the /info command to check your Fast Time Remaining to see your remaining Trial time.Here are some prompting notes:Prompt Length:Prompts can be very simple. Single words (or even an emoji!) will produce an image. Very short prompts will rely heavily on Midjourney’s default style, so a more descriptive prompt is better for a unique look. However, super-long prompts aren’t always better. Concentrate on the main concepts you want to create.Grammar:The Midjourney Bot does not understand grammar, sentence structure, or words like humans. Word choice also matters. More specific synonyms work better in many circumstances. Instead of big, try gigantic, enormous, or immense. Remove words when possible. Fewer words mean each word has a more powerful influence. Use commas, brackets, and hyphens to help organize your thoughts, but know the Midjourney Bot will not reliably interpret them. The Midjourney Bot does not consider capitalization. Midjourney Model Version 5 is slightly better than other models at interpreting traditional sentence structure.Focus on What you Want:It is better to describe what you want instead of what you don’t want. If you ask for a party with “no cake,” your image will probably include a cake. If you want to ensure an object is not in the final image, try advance prompting using the — no parameter.Think About What Details Matter:Anything left unsaid may surprise you. Be as specific or vague as you want, but anything you leave out will be randomized. Being vague is a great way to get variety, but you may not get the specific details you want.Try to be clear about any context or details that are important to you. Think about:Subject: person, animal, character, location, object, etc.Medium: photo, painting, illustration, sculpture, doodle, tapestry, etc.Environment: indoors, outdoors, on the moon, in Narnia, underwater, the Emerald City, etc.Lighting: soft, ambient, overcast, neon, studio lights, etc.Color: vibrant, muted, bright, monochromatic, colorful, black and white, pastel, etc.Mood: Sedate, calm, raucous, energetic confident, etc.Composition: Portrait, headshot, closeup, birds-eye view, full body shot, etc.Use Collective Nouns: Plural words leave a lot to chance. Try specific numbers. “Three cats” is more specific than “cats.” Collective nouns also work, “flock of birds” instead of “birds.”Parameters Available:Aspect Ratios: — aspect, or — ar Change the aspect ratio of a generation.Chaos:— chaos Change how varied the results will be. Higher values produce more unusual and unexpected generations.No:— no Negative prompting, — no plants would try to remove plants from the image.Quality:— quality <.25, .5, 1, or 2>, or — q <.25, .5, 1, or 2> How much rendering quality time you want to spend. The default value is 1. Higher values cost more and lower values cost less.Repeat:— repeat <1–40>, or — r <1–40> Create multiple Jobs from a single prompt. — repeat is useful for quickly rerunning a job multiple times.Seed: — seed The Midjourney bot uses a seed number to create a field of visual noise, like television static, as a starting point to generate the initial image grids. Seed numbers are generated randomly for each image but can be specified with the — seed or — sameseed parameter. Using the same seed number and prompt will produce similar ending images. Stop:— stop Use the — stop parameter to finish a Job part way through the process. Stopping a Job at an earlier percentage can create blurrier, less detailed results. Stylize:— stylize , or — s parameter influences how strongly Midjourney’s default aesthetic style is applied to Jobs.Uplight:— uplight Use an alternative “light” upscaler when selecting the U buttons. The results are closer to the original grid image. The upscaled image is less detailed and smoother.Upbeta:— upbeta Use an alternative beta upscaler when selecting the U buttons. The results are closer to the original grid image. The upscaled image has significantly fewer added details.Niji:— niji An alternative model focused on anime style images. High Definition — hd Use an early alternative Model that produces larger, less consistent images. This algorithm may be suitable for abstract and landscape images. Test:— test Use the Midjourney special test model. Testp — testp Use the Midjourney special photography-focused test model. Version:— version <1, 2, 3, 4, 5, 5.1 or 5.2> or — v <1, 2, 3, 4, 5, 5.1 or 5,2> Use a different version of the Midjourney algorithm. The current algorithm (V5.2) is the default setting.Now that you understand the basics of MidJourney here are some example prompts to further understand how these are typed out:Astronaut playing chess against a monkey, 2d flat, simple, vibrant, neon colors, fun, groovy, chess pieces floating, set on the moon, movie poster, epic — v 5 — q 2A magical, vibrant, steampunk, Erlenmeyer Flask with a red, boiling substance, sitting on a white table, white background, 4kPaint splatter::2, fish::4, 3d colorful explosion::3, computer monitor::10, fire 3d effect, hyper realistic::5, accent lighting, global illumination, cinematic, 18mm lens, f/2.4, national geographic photography, immersive on black background::10 — ar 16:9 — v 5 — q 2Japanese lofi style, the streets of neo tokyo, with a porsche 911 in the street, massive skyscraper in the background, 64 bit style, shadows and lighting, clean, simple, satisfying — v 5 — ar 16:9Dreamy pastel portrait, female model, long wavy hair, soft gaze, flowery headpiece, delicate makeup, ethereal atmosphere, soft focus, medium format film, Mamiya RZ67, Fujifilm Pro 400H, f3.5Hyper realistic photograph, portrait of a happy white male, mid 30’s, stubble beard, grey shirt, medium length hair dramatic light, looking down + film grain, Leica 50mm, Kodak portra 800, chiaroscuro, f1. 4, golden hour — ar 3:4Hyper realistic photograph, portrait of a tattooed south American indigenous black woman, future punk, gold tattoo line, side profile, summer, dramatic light, looking down + film grain, Leica 50mm, Kodak portra 800, chiaroscuro, f1.4, — ar 3:4 — test — upbetaA very cute bright yellow robot, whole body, running in a forest at night, Mysterious adventure, flowers, Plants, Fireflies, complex details, popmart blind box, clay material, Pixar trend, 3d art, c4d, octane rendering, animation lighting, uplight — ar 9:16 — v 5 — s 750 — q 2 — v 5Leonardo Dicaprio, highly detailed, contemplating taking his life, 8k, ultra — detailed — realistic — stylize 500A sad looking man in a polo style shirt smoking a cigar looking over the edge of a yacht, 4k, realistic on a rainy day at sea — q 2 — v 5.2With each prompt specify the desired subject matter, camera equipment, settings, lighting, and other elements that contribute to the final image.Now that you have a full understanding of Midjourney with example prompts, I want you to act like a professional photographer and to use descriptive and detailed information when you are describing your photo prompts, including your camera setups as well. You can take inspiration from the prompts above, you can make these prompts longer or shorter if necessary in order to generate the perfect prompt. Are you ready to start generating photo prompts? If so, respond with ‘YES’ and nothing else.

步骤3 -以“Generate a prompt for:”的格式给出命令。

image.png

步骤4 -在Midjourney中使用' /imagine '命令粘贴提示符

image.png


生成效果:

image.png

0

继续阅读本文相关话题

本文收录于专题

Midjourney教程

共收录篇

查看本专题

文章目录

步骤1 -询问ChatGPT是否知道/理解Midjourney

步骤2 -通过分配任务和输出结构开始训练ChatGPT

步骤3 -以“Generate a prompt for:”的格式给出命令。

步骤4 -在Midjourney中使用&#39; /imagine &#39;命令粘贴提示符

AI教程交流群

扫描二维码加入群聊

与同行学习交流&资源共通