以下是关于 prompt 的相关知识:
在角色参考方面:
您可以在提示中使用图像作为角色参考,以在不同情况下创建同一角色的图像。要将字符引用添加到提示,请使用 cref 参数和在线存储图像的网址下生成。
例子:Reference Image:BlueHairGuy.png ,Prompt:illustration of a man sitting in a cafe ,Prompt:illustration of a man sitting in a cafecref https://url.com/BlueHairGuy.png 。
提示简介方面:
提示是您给 Claude 的文本,用于引发相关输出。提示通常以问题或指示的形式出现。例如:|Role|Prompt| || |User|Why is the sky blue? 为什么天空是蓝色的? 。Claude 回答的文本被称为“响应”,有时也被称为“输出”或“完成”。
例子:|Role|Response| || |Assistant|The sky appears blue to us due to how the molecules in the air scatter light from the sun.The shorter wavelength light,so when we look up at the sky,what we see is all the scattered blue light.This is known as Rayleigh scattering.The color of the sky varies based on conditions like the angle of the sun and amount of dust/water in the air,but during the day with a clear sky,the blue wavelength of light is most responsible for the color we perceive. 。
改变区域+混音方面:
选择您的选择大小会影响结果。更大的选择为中途机器人提供了更多上下文信息,这可以改善新添加内容的扩展和上下文。但是选择太多可能会导致新生成的元素混合或替换您希望保留的原始图像的部分。
提示尝试使用“变化区域+混音模式”时如何修改提示。提示应集中于您希望在所选区域中发生的事情。中途机器人在生成选定区域时还会考虑现有图像,因此较短的聚焦提示通常更有效。中途提示不应是对话式的。不要说“请将草地小径变成美丽的溪流”,而是直接而迅速地“草地溪流”。
分步进行,如果您想要更改图像的多个部分,请一次只处理一个部分。这样,您可以为每个部分创建有重点的提示。
例子:原始图像 ,迅速的:gouache alligator in sunglasses 选择 ,更新提示:gouache alligator in green sunglasses ,结果 ,更新提示:gouache alligator in green sunglasses 。原始图像 ,迅速的:scratchboard apple tree branch 选择 ,更新提示:rainbow scratchboard apple tree branch 结果 ,更新提示:rainbow scratchboard apple tree branch 。
技术细节:使用 Vary:chaos 、fast 、iw 、no 、stylize 、relax 、style 、version 、video 、weird 。
2025-02-01