kontext提示词技巧大全
2025-07-01修复老照片:“Restore and colorize this image. Remove any scratches or imperfections.”,修复老照片并上色,去除折痕和瑕疵。
修复老照片:Restore the photo by removing JPEG artifacts and bad pixels, eliminating stains and cracks, increasing resolution, and adding color 修复照片,消除jpeg坏像素,消除污点和裂痕并提高分辨率,着色
去除水印:使用提示词 “remove the watermark from the pic”,能去除图片上各种复杂的水印。
专业摄影:输入 “change the image to a professional photo, remove imperfections. professional light, high details, best quality”,可将模糊照片处理成高清、有细节的专业摄影照片。
移除背景 / 物体 / 文字:用提示词 “remove people in the background” 等,可移除背景里的人物或其他物体、文字,如去除旅游照中的无关人员。
角色参考:用于保持角色一致性,如 “the 3D girl riding bicycle, facing camera”“the 3D girl dancing on the stage with colorful light”,可生成同一角色不同场景和动作的图片。
连续编辑一张图:可通过一系列提示词连续编辑图片,如 “change clothes to business suit”“wear a black glasses”“peace sign pose”,实现换衣、戴眼镜、摆姿势等操作。
商品展示:利用提示词 “the man holding the book with two hand in front of his chest”,能让人物以指定姿势拿着指定物品,用于商品展示。
虚拟试衣:输入 “the woman wear the black coat”,可让指定人物穿上指定衣服,实现虚拟试衣效果。
复刻衣服:通过提示词 “Extract only the T - shirt over a grey background, product photography style”,能将人物穿着的衣服复刻成样品图。
生成三视图:使用提示词 “generate the girl's front view, side view, rear view”,可生成人物的正视图、侧视图和背视图。
扩图:输入 “extend to full body shot”,可将图片扩展成全身照。
修改文字:如提示词 “change ‘EMP YOUR MIND’ to ‘HAVE NICE DAY’”,能将图片中的文字进行修改。
修改物体:通过提示词 “change the dessert to a burger”,可将图片中的物体进行替换。
添加指定物体:例如 “put the logo on the top left of a pink T - shirt, small size”,可给衣服印上 logo 等指定物体。
修改人物:能修改人物的年龄、发型等,如提示词 “make the woman 30 years older”,可将女性变老 30 岁。
修改视角:输入 “change the woman to side view”,可改变人物的视角。
修改画风:使用提示词 “change to Ghibli style”“change to low poly style”,可将图片改成吉卜力风格、低多面体风格等。
画风参考:根据参考图风格,用提示词 “using this style. draw a liquid glass style icon of camera app”,生成类似画风的图片。
修改光照 / 时间:通过提示词 “change the time to daytime”,可修改图片的光照或时间,如将时间改为白天。
修改天气:输入 “It's now snowing, everything is covered in snow”,可修改图片中的天气,如让画面变成下雪场景。
根据下面的文本可以让ai生成对应的提示词
请根据如下规则帮我生成提示词:使用英文
### 1. 基础修改
- 简单直接:`"Change the car color to red"`
- 保持风格:`"Change to daytime while maintaining the same style of the painting"`
### 2. 风格转换
**原则:**
- 明确命名风格:`"Transform to Bauhaus art style"`
- 描述特征:`"Transform to oil painting with visible brushstrokes, thick paint texture"`
- 保留构图:`"Change to Bauhaus style while maintaining the original composition"`
### 3. 角色一致性
**框架:**
- 具体描述:`"The woman with short black hair"`而非`"她"`
- 保留特征:`"while maintaining the same facial features, hairstyle, and expression"`
- 分步修改:先改背景,再改动作
### 4. 文本编辑
- 使用引号:`"Replace 'joy' with 'BFL'"`
- 保持格式:`"Replace text while maintaining the same font style"`
## 常见问题解决
### 角色变化过大
❌ 错误:`"Transform the person into a Viking"`
✅ 正确:`"Change the clothes to be a viking warrior while preserving facial features"`
### 构图位置改变
❌ 错误:`"Put him on a beach"`
✅ 正确:`"Change the background to a beach while keeping the person in the exact same position, scale, and pose"`
### 风格应用不准确
❌ 错误:`"Make it a sketch"`
✅ 正确:`"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture"`
## 核心原则
1. **具体明确** - 使用精确描述,避免模糊词汇
2. **分步编辑** - 复杂修改分为多个简单步骤
3. **明确保留** - 说明哪些要保持不变
4. **动词选择** - 用"更改"、"替换"而非"转换"
## 最佳实践模板
**对象修改:**
`"Change [object] to [new state], keep [content to preserve] unchanged"`
**风格转换:**
`"Transform to [specific style], while maintaining [composition/character/other] unchanged"`
**背景替换:**
`"Change the background to [new background], keep the subject in the exact same position and pose"`
**文本编辑:**
`"Replace '[original text]' with '[new text]', maintain the same font style"`
> **记住:** 越具体越好,Kontext 擅长理解详细指令并保持一致性。
请严格根据以上规则生成提示词。