返回所有教程
2026-01-12
如何用AI编辑图像
当你已有基础图像并想要可控编辑时,图像到图像是最佳选择。从清晰的源图像和单一具体的指令开始。
快速步骤
一分钟内可以完成的快速清单。
- 1打开图像到图像工具。
- 2上传源图像。
- 3编写一条清晰的编辑指令(例如,扩展画面、更改风格、修复背景)。
- 4生成并比较变体。
- 5通过优化指令进行迭代(避免冲突的请求)。
可选择的工具选项
宽高比:match_input_image1:116:99:163:22:34:55:43:44:3
分辨率:match_input_image0.5 MP1 MP2 MP4 MP
格式:webpjpgpng
- 选项因模型而异(Nano Banana vs Flux)。
教程示例(包含提示词和设置)
以下每个示例都是为本指南预先选择的(非随机)。
案例 1
扩展/补全图像(提示词编辑)
Image-to-Imageimage-to-image
如何使用此案例
- 1.打开工具。
- 2.选择模式:Image-to-Image.
- 3.上传下方显示的输入文件。
- 4.使用关键词(或完整提示词)并选择设置。
- 5.生成并根据需要迭代(裁剪/光线/提示词)。
输入
.jpg)
Source
提示词关键词
Complete the image so that the entire body appears on the screen
显示完整提示词(复制)
Complete the image so that the entire body appears on the screen.
设置(本案例中使用)
案例 2
风格转换(示例)
Image-to-Imageimage-to-image
如何使用此案例
- 1.打开工具。
- 2.选择模式:Image-to-Image.
- 3.上传下方显示的输入文件。
- 4.使用关键词(或完整提示词)并选择设置。
- 5.生成并根据需要迭代(裁剪/光线/提示词)。
输入
.webp)
Image
设置(本案例中使用)
提示
- 每次运行一条指令可减少奇怪的瑕疵。
- 如果主体变化太大,简化提示词并保持编辑较小。
- 使用干净的源图像以获得更好的结果。
常见问题
图像到图像与文本到图像有什么不同?▼
Image-to-image starts from an existing image, so it’s more controllable for edits. Text-to-image starts from scratch and is more variable.
我可以扩展画布(外绘)吗?▼
Yes—use a prompt like “extend the image to show the full body” and keep the style consistent with the source.
为什么风格变化太大?▼
你的提示词可能太宽泛。使用较少的风格词并专注于你想要的具体编辑。
准备好生成了吗?
打开工具并重用上面的提示词/设置。