🖼️
入门 免费 中文

Stable Diffusion / FLUX 提示词大师课 — 免费 AI 画图完全指南

Master SD & FLUX Prompts — Free AI Image Generation Guide

yangmao.ai 原创 · yangmao.ai · 约 2.5 小时

不花钱也能用 AI 画出专业级图片。本课程教你 FLUX 和 Stable Diffusion 的 prompt 写法差异、免费跑图平台、ComfyUI 工作流,以及产品图、二次元、中国风等实战模板。

📖 你将学到

  • FLUX vs Stable Diffusion 的 Prompt 写法差异
  • FLUX 自然语言 Prompt 技巧
  • 免费跑 SD/FLUX 的平台推荐
  • ComfyUI 工作流入门
  • 产品图、二次元、中国风等实战模板

01 FLUX vs SD:两种完全不同的写法

FLUX 和 Stable Diffusion 的 prompt 风格差异很大,用错了效果会很差。

Stable Diffusion(SD 1.5 / SDXL)的写法:
- 用逗号分隔的关键词标签
- 支持权重语法 `(keyword:1.5)`
- 负面 prompt(Negative Prompt)很重要

```
正面 Prompt:
1girl, long hair, blue eyes, school uniform,
cherry blossom, spring, (masterpiece:1.2),
(best quality:1.4), detailed face

负面 Prompt:
lowres, bad anatomy, bad hands, blurry,
watermark, extra fingers, deformed
```

FLUX(推荐,2025-2026 主流)的写法:
- 用自然语言描述(像写作文)
- 不支持权重语法
- 不需要负面 prompt
- T5XXL 是 LLM,越像人话越好

```
A young woman with long flowing hair and
bright blue eyes, wearing a school uniform,
standing under cherry blossom trees in spring.
The petals are gently falling around her.
Soft natural lighting, high detail, photorealistic.
```

核心区别记忆法:
- SD = 关键词标签(像填表)
- FLUX = 自然描述(像写作文)

02 FLUX 自然语言 Prompt 深度技巧

FLUX 用的是 T5XXL 语言模型编码器,所以要像写文章一样写 prompt。

FLUX Prompt 结构:
```
[主体描述]。[场景/环境]。[光线/氛围]。[风格/质量]。
```

好的 FLUX Prompt:
```
A cozy home office with a large monitor showing
code on screen. Warm desk lamp casting soft golden
light. A cup of coffee steaming on the desk.
Plants on the windowsill. Photorealistic, 8K detail,
shallow depth of field.
```

坏的 FLUX Prompt(SD 风格,不适合 FLUX):
```
home office, monitor, code, desk lamp, coffee,
plants, (photorealistic:1.4), 8k, bokeh
```

FLUX 进阶技巧:

1)描述越具体越好
- 差:a cat → 好:a fluffy orange tabby cat sitting on a windowsill
- 差:a city → 好:a rainy Tokyo street at night with neon reflections

2)光线描述很关键
- soft natural light(自然柔光)
- dramatic side lighting(戏剧性侧光)
- warm golden hour glow(黄金时段暖光)
- cool blue moonlight(冷色月光)

3)质量词放最后
- photorealistic, 8K, sharp focus, professional photography
- digital art, highly detailed, trending on artstation

03 免费跑图平台 + ComfyUI 入门

不需要买显卡,这些平台可以免费跑 SD/FLUX。

完全免费平台:

1)Google Colab
- 免费 T4 GPU,够跑 FLUX.1-schnell
- 搜索 "FLUX Colab notebook" 找现成的笔记本
- 每天有使用时长限制

2)Hugging Face Spaces
- 很多免费 demo 可以直接用
- 推荐:FLUX.1-dev demo、SD 3.5 demo
- 不需要注册就能试

3)Tensor.Art
- 每天免费额度
- 支持各种模型和 LoRA
- 有社区分享的工作流

有免费额度的平台:
- Replicate:新用户免费 credits
- Together AI:$5 免费额度
- Fal.ai:免费试用

ComfyUI 本地部署(需要显卡):

ComfyUI 是目前最强的 SD/FLUX 前端,用节点式工作流。

最低配置:8GB 显存(RTX 3060/4060)

入门工作流:
```
文本输入 → CLIP 编码 → KSampler → VAE 解码 → 保存图片
```

推荐资源:
- ComfyUI-Manager(一键安装节点)
- OpenArt.ai/workflows(下载工作流)
- Civitai.com(模型 + LoRA 下载)

04 实战模板:产品图、二次元、中国风

模板 1 — FLUX 产品图:
```
A sleek modern smartphone floating in mid-air
against a clean gradient background transitioning
from deep blue to purple. Soft studio lighting
with subtle reflections. Professional product
photography, 8K resolution, sharp focus.
```

模板 2 — SD 二次元角色:
```
正面: 1girl, silver hair, red eyes, black dress,
standing in rain, city night, neon lights,
(masterpiece:1.3), (best quality:1.4),
detailed face, dynamic pose

负面: lowres, bad anatomy, extra fingers,
blurry, watermark, deformed
```

模板 3 — FLUX 中国风:
```
A serene Chinese ink painting landscape with
misty mountains, a small wooden boat on a calm
lake, and willow trees along the shore. Traditional
brush stroke style, monochrome with subtle touches
of red. Elegant and peaceful atmosphere.
```

模板 4 — FLUX 公众号封面:
```
Modern tech illustration showing a friendly robot
assistant helping a person at a computer desk.
Clean flat design, blue and orange color scheme,
white background, no text. Professional, minimal.
```

模板 5 — FLUX 电商产品图:
```
Professional product photography of [产品] on a
clean white surface. Soft diffused studio lighting
from above. Slight shadow underneath. Clean
background. Commercial quality, 8K, sharp details.
```

出图后的后处理建议:
- 用 ESRGAN 放大(ComfyUI 内置)
- 用 Canva 加文字和排版
- 用 Remove.bg 去背景
- 用 Photopea(免费 PS 替代)做最终调整

💡 想要更系统的 AI 学习路线?

去 ganhuo.ai 看完整路线图 →
🐑 小羊助手