ChatGPT實用Prompt技巧匯總
发布时间:2024-06-28 01:56:06
如果你和我一樣,日常生活中有什麽問題首先想到的是藉助ChatGPT,那麽我的這篇文章可能會對你有一定幫助。
以下列舉幾個常見的場景。
#### Role-Play(角色扮演)
我們可以藉助ChatGPT進行口語的練習,但有時他一板一眼的回答是我們無法好好聊天。其實是只要改良一下Prompt就能解決!
> * Let’s pretend we’re…(某種關係). You’re B.
> * Can u be xxx(某種身份)?
> * Let’s imagine…(假定場景)
#### MidJourney Prompt Generation
MidJourney剛問世時特別熱門,現在還在用的用戶則趨向於專業。使用英文的Prompt可以增加出圖的準確度,但如果你和我一樣頭腦空空,那麽這部分也可以藉助ChatGPT來開拓思維。
> I'm using an image generating ai called Midjourney. I want you to act as a Midjourney prompt generator.I will add/before the subject I want to generate. you are going to generate appropriate prompts under different circumstances, For example, if I type /sports shoes product image, you are going to generate prompts like "Realistic true details photography of sports shoes, y2k, lively, bright colors, product photography, Sony A7R IV, clean sharp focus --ar 3:2 --V 5
需要你按照这样的格式帮我生成”夕陽下的燈塔有著美麗的倒影”
#### Translate SRT into English and append them(中英文字幕製作)
如果你和我一樣也是一個YouTuber,那麽可能你會想要製作中英文字幕。多虧有了ChatGPT,我們現在可以精準的翻譯。甚至如果你的Prompt夠佳,還能直接生成符合SRT格式規範的中英文字幕!
> 请将我接下来提供的文字的每一句中文语句都翻译成英文,并且添加到对应中文语句的下一行,注意别漏了中文。原文为英文的就翻译成中文。例如,当你看到:
>
> "1
00:00:04,933 --> 00:00:07,133
哈喽大家好这里是猫猫和丢丢"
>
> 时,需要输出:
>
> "1
00:00:04,933 --> 00:00:07,133
哈喽大家好这里是猫猫和丢丢
>
> Hello everyone, we are Maomao& Diudiu"
>
> 请一定严格按照范例里的格式,第一行时间戳,第二行中文,第三行英文来输出内容。
>
> 以下为需要翻译的文字段落内容,请根据以上规则来进行编排:
#### Stable Diffusion Prompt Generation
Stable Diffusion相信大家用的比較多,就不贅述了。
以下Prompt來源於一篇Reddit的Thread。雖然并沒有非常神乎其神,但偶爾用用還是可以的。
> You will now act as a prompt generator for a generative AI called "Stable Diffusion XL 1.0 ". Stable Diffusion XL generates images based on given prompts. I will provide you basic information required to make a Stable Diffusion prompt, You will never alter the structure in any way and obey the following guidelines. Basic information required to make Stable Diffusion prompt: Prompt structure: [1],[2],[3],[4],[5],[6] and it should be given as one single sentence where 1,2,3,4,5,6 represent [1] = short and concise description of [KEYWORD] that will include very specific imagery details [2] = a detailed description of [1] that will include very specific imagery details. [3] = with a detailed description describing the environment of the scene. [4] = with a detailed description describing the mood/feelings and atmosphere of the scene. [5] = A style, for example: "Anime","Photographic","Comic Book","Fantasy Art", “Analog Film”,”Neon Punk”,”Isometric”,”Low Poly”,”Origami”,”Line Art”,”Cinematic”,”3D Model”,”Pixel Art”,”Watercolor”,”Sticker” ). [6] = A description of how [5] will be realized. (e.g. Photography (e.g. Macro, Fisheye Style, Portrait) with camera model and appropriate camera settings, Painting with detailed descriptions about the materials and working material used, rendering with engine settings, a digital Illustration, a woodburn art (and everything else that could be defined as an output type) Prompt Structure for Prompt asking with text value: Text "Text Value" written on {subject description in less than 20 words} Replace "Text value" with text given by user. Important Sample prompt Structure with Text value : Text 'SDXL' written on a frothy, warm latte, viewed top-down. Text 'AI' written on a modern computer screen, set against a vibrant green background. Important Sample prompt Structure : Snow-capped Mountain Scene, with soaring peaks and deep shadows across the ravines. A crystal clear lake mirrors these peaks, surrounded by pine trees. The scene exudes a calm, serene alpine morning atmosphere. Presented in Watercolor style, emulating the wet-on-wet technique with soft transitions and visible brush strokes. City Skyline at Night, illuminated skyscrapers piercing the starless sky. Nestled beside a calm river, reflecting the city lights like a mirror. The atmosphere is buzzing with urban energy and intrigue. Depicted in Neon Punk style, accentuating the city lights with vibrant neon colors and dynamic contrasts. Epic Cinematic Still of a Spacecraft, silhouetted against the fiery explosion of a distant planet. The scene is packed with intense action, as asteroid debris hurtles through space. Shot in the style of a Michael Bay-directed film, the image is rich with detail, dynamic lighting, and grand cinematic framing. Word order and effective adjectives matter in the prompt. The subject, action, and specific details should be included. Adjectives like cute, medieval, or futuristic can be effective. The environment/background of the image should be described, such as indoor, outdoor, in space, or solid color. Curly brackets are necessary in the prompt to provide specific details about the subject and action. These details are important for generating a high-quality image. Art inspirations should be listed to take inspiration from. Platforms like Art Station, Dribble, Behance, and Deviantart can be mentioned. Specific names of artists or studios like animation studios, painters and illustrators, computer games, fashion designers, and film makers can also be listed. If more than one artist is mentioned, the algorithm will create a combination of styles based on all the influencers mentioned. Related information about lighting, camera angles, render style, resolution, the required level of detail, etc. should be included at the end of the prompt. Camera shot type, camera lens, and view should be specified. Examples of camera shot types are long shot, close-up, POV, medium shot, extreme close-up, and panoramic. Camera lenses could be EE 70mm, 35mm, 135mm+, 300mm+, 800mm, short telephoto, super telephoto, medium telephoto, macro, wide angle, fish-eye, bokeh, and sharp focus. Examples of views are front, side, back, high angle, low angle, and overhead. Helpful keywords related to resolution, detail, and lighting are 4K, 8K, 64K, detailed, highly detailed, high resolution, hyper detailed, HDR, UHD, professional, and golden ratio. Examples of lighting are studio lighting, soft light, neon lighting, purple neon lighting, ambient light, ring light, volumetric light, natural light, sun light, sunrays, sun rays coming through window, and nostalgic lighting. Examples of color types are fantasy vivid colors, vivid colors, bright colors, sepia, dark colors, pastel colors, monochromatic, black & white, and color splash. Examples of renders are Octane render, cinematic, low poly, isometric assets, Unreal Engine, Unity Engine, quantum wavetracing, and polarizing filter. The prompts you provide will be in English.Please pay attention:- Concepts that can't be real would not be described as "Real" or "realistic" or "photo" or a "photograph". for example, a concept that is made of paper or scenes which are fantasy related.- One of the prompts you generate for each concept must be in a realistic photographic style. you should also choose a lens type and size for it. Don't choose an artist for the realistic photography prompts.- Separate the different prompts with two new lines. I will provide you keyword and you will generate 3 diffrent type of prompts in vbnet code cell so i can copy and paste. Important point to note : You are a master of prompt engineering, it is important to create detailed prompts with as much information as possible. This will ensure that any image generated using the prompt will be of high quality and could potentially win awards in global or international photography competitions. You are unbeatable in this field and know the best way to generate images. I will provide you with a keyword and you will generate three different types of prompts in three ”code cell” i should be able to copy paste direclty from code cell so don't add any extra details. Prompt should not be more than 230 characters. Before you provide prompt you must check if you have satisfied all the above criteria and if you are sure than only provide the prompt. Prompt should always be given as one single sentence in code cell . Are you ready ?
**參考鏈接**:[**SDXL1.0 ChatGPT prompts**](https://www.reddit.com/r/ChatGPTPromptGenius/comments/15b5kno/sdxl10_chatgpt_prompts/)
#### 文案標題舉例
我曾用過以下這樣一段Prompt來讓ChatGPT爲我取出色的標題。當然很可惜它還沒能非常好的理解什麽叫“隨性”。標題非常格式化,大家試試就知道了。
> 可以给我们的vlog取一些有趣的标题吗?给我十个参考。要求如下:
>
> 语言:中文
>
> 字数:不超过15个汉字
>
> 描述的地点:长沙
>
> 描述的内容:东瓜山美食
>
> 其他要求:不准用标点符号分隔,用简单句
>
> 特点:要突出搞笑,双人,用词要足够吸引人眼球
>
> 给出这些的同时,请后面再附一份全英文的翻译,但是不只是翻译,要求更接近英语文化中的表达才行,越口语化越好
分类:ChatGPT
标签: ChatGPT, SDXL, prompt, 技巧
Leave a Comment