返回所有教程
2026-01-12
如何用AI编辑图像
当你已有基础图像并想要可控编辑时,图像到图像是最佳选择。从清晰的源图像和单一具体的指令开始。
快速步骤
一分钟内可以完成的快速清单。
- 1打开图像到图像工具。
- 2上传源图像。
- 3编写一条清晰的编辑指令(例如,扩展画面、更改风格、修复背景)。
- 4生成并比较变体。
- 5通过优化指令进行迭代(避免冲突的请求)。
Tool options you can choose
Aspect ratio:match_input_image1:116:99:163:22:34:55:43:44:3
Resolution:match_input_image0.5 MP1 MP2 MP4 MP
Format:webpjpgpng
- Options vary by model (Nano Banana vs Flux).
教程示例(包含提示词和设置)
以下每个示例都是为本指南预先选择的(非随机)。
Example 1
Expand / complete an image (prompted edit)
Image-to-Imageimage-to-image
How to use this example
- 1.Open the tool.
- 2.Choose mode: Image-to-Image.
- 3.Upload the input shown below.
- 4.Use the keywords (or full prompt) and pick settings.
- 5.Generate and iterate (crop/lighting/prompt) if needed.
Inputs
.jpg)
Source
Prompt keywords
Complete the image so that the entire body appears on the screen
Show full prompt (copy)
Complete the image so that the entire body appears on the screen.
Settings (used in this example)
Example 2
Style transform (example)
Image-to-Imageimage-to-image
How to use this example
- 1.Open the tool.
- 2.Choose mode: Image-to-Image.
- 3.Upload the input shown below.
- 4.Use the keywords (or full prompt) and pick settings.
- 5.Generate and iterate (crop/lighting/prompt) if needed.
Inputs
.webp)
Image
Settings (used in this example)
提示
- 每次运行一条指令可减少奇怪的瑕疵。
- 如果主体变化太大,简化提示词并保持编辑较小。
- 使用干净的源图像以获得更好的结果。
常见问题
图像到图像与文本到图像有什么不同?▼
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.
为什么风格变化太大?▼
你的提示词可能太宽泛。使用较少的风格词并专注于你想要的具体编辑。
准备好生成了吗?
打开工具并重用上面的提示词/设置。