https://mp.weixin.qq.com/s/XwN87mNOQj6f_khqRuNi6Q
与其直接复制别人的提示词(“抄”),不如学会自己创作提示词的方法,从而灵活、随心所欲地生成符合自己需求的内容。分享几个我在应对常见的场景时候使用的方法,其实也是把我之前文章里提到过的总结归纳成一篇完整的内容,我根据不同主题分几篇内容来发~今天的话题是:我想知道这个图片是什么风格,画出同款。
就三个方法,一个是不用管提示词,拿图片当参考图直接模仿,另一个就是用AI的多模态功能识别图片风格类型,直接描述出对应的「提示词」,还有一个是混合体,把同类型的多个提示词都扔给AI,让AI去提炼。请参考图片中的风格,画类似的插画,主题是一只可爱的肥猫愤怒的在敲键盘,桌子上放着一瓶可乐。
A cute fat cat is angrily typing on the keyboard, and there is a bottle of cola on the table. –ar 3:2 –sref https://s.mj.run/jC0xuCY1XQQ –v 7.0
请描述下图片含义,尤其是风格特征,给出完整的提示词,方便我在A I工具通过文生图的方式画出同款,并分离出常量部分与变量部分,可以通过修改变量画出不同事物但同款风格。
“a cartoon-style illustration of a young girl with blonde hair in a ponytail, wearing a red and white striped shirt, angrily smashing a keyboard in front of a computer, with exaggerated facial expressions showing frustration, red cheeks, gritted teeth, and dynamic action lines around her hands, set against a simple yellow background, vibrant colors, clean lines, humorous and emotional tone”
通过保留常量部分的风格描述,你可以灵活调整变量部分,生成不同内容但同款风格的图像。也就是这样:a cartoon-style illustration, exaggerated facial expressions, dynamic action lines, vibrant colors, clean lines, humorous and emotional tone, set against a simple yellow background「卡通风格的插图,夸张的面部表情,动感的动作线,鲜艳的颜色,干净的线条,幽默和情感的基调,背景为简单的黄色。」我们用提炼出的完整提示词试试在各个AI工具上的效果:当然Midjourney自带一个图片识别提示词的功能,就是参数/describe其实有点类似前面提到的变量和常量方法,是我比较喜欢用的方式,简单来说就是,我们找到同类的图片都提示词,都扔给AI,让AI帮我们提炼出哪些是控制图片风格的(常量),哪些字段是可以换人物换场景的(变量),我也是用这个方法来做一些应用时候的提示词工程的,比如:上面的这个应用对应的提示词,辅助提示词就是用户可以随便改的变量。这样的好处就是,出来的提示词在不同的AI工具下有更强的实用性。比如我在Midjourney上看到很多这种图片的提示词:提示词1:A cute girl Wearing sunglasses sitting on top of luggage with travel accessories 3d illustration style, cartoon character design, in a bright green environment, in a 3D flat art style, with a simple and colorful background, rendered using Blender software, soft lighting一个可爱的女孩,戴着太阳镜,坐在行李上,身边有旅行配件,3D插图风格,卡通角色设计,处于明亮的绿色环境中,采用3D平面艺术风格,背景简单而多彩,使用Blender软件渲染,柔和的光照。提示词2:3d model characters hiking family colorful wholesome art white background happy hiking3D模型角色徒步旅行家庭彩色健康的艺术白色背景快乐的徒步旅行提示词3:cheerful clay shepherd with a round nose and tousled clay hair, wearing a woolen vest over a checkered shirt, placing a tall traditional Easter cake (kulich) with thick dripping white clay glaze onto a sturdy wooden table, the kulich with a rustic shape and sprinkled with chunky clay sugar, small clay goat peeking through an open clay door, cozy countryside clay kitchen with handcrafted mugs on shelves and woven towels hanging, all food placed neatly on table or shelves, soft spring light, stylized claymation style快乐的泥土牧羊人,圆鼻子和凌乱的泥土头发,穿着毛织背心,里面是一件格子衬衫,正把一个高大的传统复活节蛋糕(库利奇)放在坚固的木桌上,蛋糕外形粗犷,撒上了厚厚的泥土糖,旁边有一只小泥土山羊从开着的泥土门窥视,温馨的乡村泥土厨房,架子上摆放着手工制作的杯子,挂着编织的毛巾,所有食物整齐地放在桌子或架子上,柔和的春天光线,风格化的泥土动画风格。提示词4:a heartwarmin Pixar/Disney-style character image of a 5-year old child dressed like in the 50th with orange, vintage clothes. she is holding her dachshund in her arms. she ist crazy and is having fun.一幅温馨的皮克斯/迪士尼风格的角色图像,描绘了一位5岁的小女孩,穿着50年代的橙色复古衣服。她怀抱着她的腊肠犬,显得疯狂而快乐。请根据我提供的提示词,提取常量部分(相似部分)和变量部分,概括成一个可以通用的完整文生图用的提示词,同时请拆解出常量和变量部分。中文输出,完整提示词可以是英文,提示词内容如下:
A cute girl sitting on top of luggage wearing sunglasses with travel accessories, in a 3D flat art, cartoon character design style, set in a bright green environment with a simple and colorful background, rendered with Blender software, under soft lighting, with a colorful color scheme.一个可爱的女孩坐在行李上,戴着太阳镜,身边有旅行配件,采用3D平面艺术,卡通角色设计风格,置身于一个明亮的绿色环境中,背景简单而多彩,使用Blender软件渲染,柔和的光照下,色彩丰富。分别是:Midjourney,ChatGPT4o(Sora),google Gemini,即梦稍微拆解下,就得出哪些是通用,哪些是可以自行diy的~{自行diy}, in a 3D flat art, cartoon character design style, set in a bright green environment with a simple and colorful background, rendered with Blender software, under soft lighting, with a colorful color scheme.甚至你可以直接扔给AI,就说我想要一个类似风格,主题是肥猫喝可乐的~
得到的提示词:
A cute chubby cat sipping cola from a can, sitting on a pile of luggage, wearing sunglasses with travel accessories like a tiny backpack and map, in a 3D flat art, cartoon character design style, set in a bright green environment with a simple and colorful background, rendered with Blender software, under soft lighting, with a vibrant and colorful color scheme.
一只可爱的胖猫正在从罐子里喝可乐,坐在一堆行李上,戴着太阳镜,配有旅行配件,如小背包和地图,采用3D平面艺术和卡通角色设计风格,背景是明亮的绿色环境,简单而多彩,使用Blender软件渲染,在柔和的灯光下,色彩鲜艳且丰富。
实在毫无灵感,就去把你脑子里想的到的形容词去搜索引擎的图片搜索里找一下,翻到符合你要求的图片,再用这个图片按照上面的方法操作即可。
你学会了么?
https://mp.weixin.qq.com/s/XwN87mNOQj6f_khqRuNi6Q