前往 WaytoAGI 飞书知识库 · 1 亿+ 次访问的开源 AI 知识库 →
通往 AGI 之路 WaytoAGI

社区问答存档

prompt

以下是关于 prompt 的相关知识:

  • 在角色参考方面:
    • 您可以在提示中使用图像作为角色参考,以在不同情况下创建同一角色的图像。要将字符引用添加到提示,请使用 --cref 参数和在线存储图像的网址(URL)。当使用 Midjourney 生成的包含单个角色的图像时,角色参考效果最佳。--cref 不适用于真人照片,并且会扭曲它们。诸如特定雀斑或 T 恤徽标之类的精确细节不太可能被复制。--cref 可以与 Midjourney 和 Niji Version 6 一起使用,并且可以与 --sref。您可以在单个提示中使用多个字符引用,但可能不需要这样做。任何常规图像提示都必须位于之前 --cref 。使用 Midjourney Bot 在直接消息中上传图像,以防止其他服务器用户看到图像。图像提示和参考在 Midjourney 网站上可见,除非您在Stealth Mode下生成。
    • 例子:Reference Image:BlueHairGuy.png ,Prompt:illustration of a man sitting in a cafe ,Prompt:illustration of a man sitting in a cafe--cref 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(blue)scatters more easily than the longer wavelength light(like reds and yellows),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(Region)+Remix 模式生成的作业将遵循以下参数:--chaos 、--fast 、--iw 、--no 、--stylize 、--relax 、--style 、--version 、--video 、--weird 。