九类AI应用和五个简单LLM的Prompt技巧

一、九类AI应用

AI+艺术:造梦日记、MidJourney、Stable Diffusion、Adobe、Stability、Remove

AI+聊天:ChatGPT、Discord、文心一言、Google Bard、星火、Character.Al

AI+社区:Kaggle、Hugging Face、H20、Github、Replicate、OpenCV

AI+创造:Heygen、RunwayML、Jasper、WriteSonic

AI+设计:Figma、Canva

AI+框架:PyTorch、Llamalndex、Auto GPT、Cafe、TensorFlow、LangChain、Keras、Google generativeAI+Developers、Fixie

AI+硬件:AMD、Nvidia、Hiascend

AI+效率:阿里通义、Notion、Zoom、Voice Al、Slack

AI+研究:Anthropic、Cohere、Al21、OpenAl

扫描二维码关注公众号,回复: 15921460 查看本文章

二、五个提示词技巧

  • 技巧如You’re an expert in X;Explain step by step.
  • 提供具体背景,甚至举例说明,如Here’s a list of requirements.
  • 将相关上下文加载到内存:I’ll share my best writing first
  • 鼓励LLM多点提问:Ask questions if you need more info
  • 让LLM写多个方案,更好选择:Give me 3 variations

三、MidJourney的prompt使用举例

prompt 1:in the style of anime a giant floating chunk of land with a large japanese city on top with waterfalls coming off the side, surrounded by more floating rocks in the sky is flying msyterious animals the sun is shining warm and there is a valley below filled with lakes and cherry blossoms, booming with life
在这里插入图片描述
prompt 2(中国风):in the style of anime a giant floating chunk of land with a large china city on top with waterfalls coming off the side, surrounded by more floating rocks in the sky is flying msyterious animals the sun is shining warm and there is a valley below filled with lakes and cherry blossoms, booming with life
在这里插入图片描述
prompt 3:medium size sunflower, 23 year old Chinese female, ((white cloth)),[dress],[[[shoulder exposure]]], black hair, ((drill hair)), in the center, (((medium length hair))), against a dark background, looking at the camera, ((smiling)), no obstructions, beautiful eyes, photo, (Side light), Fairy tale world, medium focus length, Nikon, 85mm, f/1.8, attention to detail
在这里插入图片描述

其他prompt:

positive prompt: 1girl,(solo:1.4),Ruffled blouse, cute, perfect face,  laughing, offshoulder, corporate building, love, magical, romantic, joyous, unforgettable, passion, desire, devotion, bliss, forever, soulmate, forever, Cozy Ambiance, Warm Radiance, Gentle Coloration, <lora:Color Separation_B_1.1:0.7>

negative prompt: ng_deepnegative_v1_75t, (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, normal quality, ((monochrome)), ((grayscale)), (verybadimagenegative_v1.3:0.8), negative_hand-neg,

param: Steps: 25, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 4168117147, Size: 512x768, Model hash: e4a30e4607, Model: majicmixRealistic_v6, Denoising strength: 0.4, Clip skip: 2, ADetailer model: face_yolov8s.pt, ADetailer prompt: "compelling glances, tifa lockhart, <lora:tifaMeenow_tifaV2:0.6>", ADetailer confidence: 0.4, ADetailer dilate/erode: 4, ADetailer mask blur: 5, ADetailer denoising strength: 0.33, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer model 2nd: hand_yolov8s.pt, ADetailer prompt 2nd: "beautiful hands, perfect hands", ADetailer negative prompt 2nd: " bad-hands-5, missing fingers", ADetailer confidence 2nd: 0.6, ADetailer dilate/erode 2nd: 4, ADetailer mask blur 2nd: 6, ADetailer denoising strength 2nd: 0.38, ADetailer inpaint only masked 2nd: True, ADetailer inpaint padding 2nd: 32, ADetailer version: 23.7.5, Hires upscale: 1.8, Hires steps: 15, Hires upscaler: 4x-UltraSharp, Lora hashes: "tifaMeenow_tifaV2: 5bf0b0cc76ca", Version: v1.4.0

比如上面的第一个生成图片如下,都非常逼真:
在这里插入图片描述

Reference

[1] 超详细的胎教级Stable Diffusion使用教程
[2]
My 5 Favorite AI Prompts for Writing: https://creatoreconomy.so/p/my-5-favorite-ai-prompts-for-writing

猜你喜欢

转载自blog.csdn.net/qq_35812205/article/details/131467637