微信扫码
与创始人交个朋友
我要投稿
提示词工程又一魅力时刻!!!
推特上有作者发现在使用FLUX1.1的时候在prompt中加入类似于“IMG_1018.CR2”,图片的真实性会大大提高 ,无论是人物还是风景都能达到照片级别的效果
在提示词中模仿相机的文件命名,IMG+任意编号+相机原始文件格式
FLUX1.1 Pro 代号为“蓝莓”,黑暗森林团队(Black Forest Labs)在10月2日发布,在图像生成速度和质量上都取得了显著提升。与前代 FLUX1 Pro 相比,FLUX1.1 Pro 的生成速度提高了六倍,同时在图像质量、提示遵循度和多样性方面也有所改进 。
目前FLUX1.1 pro可以在togetherai上免费使用
网站链接:https://browser.com/?Url=https://api.together.ai/(链接错了见评论区)
以下示例图均为左边正常提示词,右边为加了“IMG_1018.CR2”
所有图片均为1024*768直出无任何后期处理,说实话即使提示词中没有加“IMG_1018.CR2”每张图片还是很逼真,不愧是FLUX1.1pro,分不出来根本分不出来
睡觉的小猫
a sleeping cat
站在树枝上的小鸟
Little bird sings saddest song, far too young for injured tone, strikes the heart like felted hammers, starring whispers through the pasture, little bird just say the word, the world will hear you little bird
阿尔卑斯的秋景
the picturesque autumn alps, green meadows and colorful trees are reflected on the clear water under the cloudy sky, high resolution, canon eos style camera. beautiful mountains and waters, picturesque scenery, colorful fallen leaves, colorful reflections in the water, mirror lake, residential houses by mountains and forests, colorful autumn leaves
女性肖像
A cinematic portrait of a young woman with long, wavy brown hair smiling warmly towards the camera, she is wearing a light, delicate, sleeveless dress with thin straps, the lighting in the scene is a rich mix of warm tones—deep oranges, soft reds, and subtle hints of pink—creating a vibrant yet intimate atmosphere that suggests a lively evening event, such as a wedding or a sophisticated party, the background is filled with softly blurred figures, creating a bokeh effect with round, diffused lights hanging in the distance, enhancing the depth and adding a dreamy quality to the image, the woman is captured in a slightly angled pose, with her body turned partially to the side, her right shoulder is closer to the camera, creating a dynamic perspective, her chin is slightly lifted, accentuating her jawline, and her head is tilted gently to her left, adding a playful yet elegant touch to her demeanor, her smile is wide and genuine, with her lips softly parted, exuding warmth and approachability, her eyes are bright and full of life, capturing the viewer’s attention with a sparkle that suggests joy and contentment, her hair cascades naturally over her shoulders, with soft waves framing her face, the lighting casts a soft glow on her skin, which is smooth and radiant, the slightly low angle of the shot adds to the sense of confidence and poise in her posture, the background is softly out of focus, with a bokeh effect occupying about 80% of the space, allowing the main subject to stand out while the figures behind her remain abstract, contributing to the overall sense of depth and warmth in the composition, The background showcases a meticulously crafted bokeh effect, occupying around 80% of the background space, with the blur strength set to a medium-high level, creating a smooth, creamy texture that softly dissolves the details of the figures behind her. The bokeh lights are a mixture of warm tones—primarily soft oranges and reds—adding to the intimate atmosphere of the scene
甚至提示词中我们除了“IMG_1018.CR2”外什么都不写,也能够生成这种逼真的由佳能相机拍摄的图片
当然FLUX1.1 pro目前暂未开源(预计一时半会也不会开源)只能通过调用api的形式使用,这里还是以大家最常用的FLUX dev作为示范
我就不解读了大家自己看吧,左边为正常出图,右边加了“IMG_1018.CR2”,分不清根本分不清,太真实了,以至于我不确定IMG_1018.CR2是否发挥了作用以及发挥了多少作用。。。
a sleeping dog in the park
不过在提示词较短的情况下,加了IMG_1018.CR2出图质量反倒变差,玄学。。。
既然这种提示词书写方式适用于FLUX,接下来我们再测试一下AI绘画领域的另一个扛把子Midjourney6.1的表现
在其他参数保持一致的情况下,仅改变提示词
一直觉得Midjourney对于真实风格人物的照片效果很一般,提示词中加上“IMG_1018.CR2”效果勉强可以接受,但是跟FLUX还是没法比
依旧是除了“IMG_1018.CR2”外什么都不写
我TM,真实的离谱,必须单独拎出来给大家看看,这跟照片有什么区别。。。
特别是第一张亚洲小女孩这张我真的爱了,扩一下图拿来做封面~
至于原理的话,因为我并不是专门研究提示词工程的,让我来GPT一下
其实我认为主要原因还是前面两点,在FLUX训练的过程中训练集有非常多类似文件名的由相机拍摄的高质量真实照片,就像lora的触发词那样,在提示词中加入特定相机文件名,会触发摄影相关的特征。(有懂的提示词大佬也可以评论区解释一下)
这让我想起了之前调教ChatGPT的时候,习惯性的会在提示词中加上“完成之后我会给你20美金作为小费”“深呼吸,一步一步思考”“如果你失败了会有200个无辜老奶奶去世”很玄学,但是有些时候真的有用(不过现在的GPT o1已经不需要了
53AI,企业落地应用大模型首选服务商
产品:大模型应用平台+智能体定制开发+落地咨询服务
承诺:先做场景POC验证,看到效果再签署服务协议。零风险落地应用大模型,已交付160+中大型企业
2024-11-22
如何写出高质量的 prompt
2024-11-22
微软发现不同prompt模版会导致最大40%性能差距!
2024-11-22
原理解析:17岁高中生「神级 Prompt,把 Claude 强化成满血 o1」
2024-11-22
10000块的提示词被破解了
2024-11-22
叙事Prompt也能提升LLM推理能力?用叙事框架SoT解决复杂问题 |波恩大学最新
2024-11-21
致继刚,感谢你继承乔哈里视窗和提示词心法
2024-11-20
郭美青 | 从Demo到商用—构建企业级提示词工程,加速AI应用商用落地
2024-11-20
云中江树 | 重塑自然语言编程,Agent 训练的核心探索
2024-06-29
2023-06-08
2024-08-20
2024-06-27
2024-06-14
2024-07-09
2024-07-12
2024-09-17
2024-06-26
2024-06-29