flux-best-practices
Skill này làm gì
Skill này hướng dẫn cách viết prompt tốt cho các mô hình ảnh FLUX. Nó dành cho nhà thiết kế và người sáng tạo muốn có ảnh chính xác, chất lượng cao từ AI.
Khi nào nên dùng
- ✓Khi bạn đang viết prompt cho một mô hình ảnh FLUX.
- ✓Khi bạn cần một ảnh có chữ dễ đọc hoặc một màu thương hiệu chính xác.
- ✓Khi bạn muốn chỉnh sửa ảnh hoặc kết hợp nhiều ảnh tham khảo với FLUX.
Liên kết skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/flux-best-practices/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Viết prompt FLUX cho ảnh sản phẩm một chai màu đỏ với tên thương hiệu đọc được trên nhãn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đưa ra cấu trúc prompt đơn giản: chủ thể, hành động, phong cách, bối cảnh, ánh sáng và chi tiết máy quay. Nó cũng giải thích mô hình nào phù hợp với từng việc, như bản nháp nhanh hoặc chất lượng cao nhất.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
FLUX Best Practices
Use this skill when generating prompts for any BFL FLUX model to ensure optimal image quality and accurate prompt interpretation.
Extended reference:
AGENTS.mdin this directory is the long-form upstream FLUX guide (vendored from Black Forest Labs). It is supplementary reference material scoped to this skill only —SKILL.mdis the loadable entry point and the authority. It does not override or extend the repository-rootAGENTS.md/AGENT_GUIDE.md.
When to Use
- Creating prompts for FLUX.2 or FLUX.1 models
- Text-to-image (T2I) generation
- Image-to-image (I2I) editing with FLUX.2 models
- Structured scene generation with JSON
- Typography and text rendering
- Multi-reference style transfer
- Color-accurate brand generations
Quick Reference
Prompt Structure Formula
[Subject] + [Action/Pose] + [Style/Medium] + [Context/Setting] + [Lighting] + [Camera/Technical]
Model Selection
| Use Case | Recommended Model | Notes |
|---|---|---|
| Fastest generation | FLUX.2 [klein] | 4B or 9B, sub-second |
| Highest quality | FLUX.2 [max] | Best detail, grounding search |
| Production balanced | FLUX.2 [pro] | Quality + speed |
| Typography/text | FLUX.2 [flex] | Best text rendering |
| Local/development | FLUX.2 [dev] | Open weights |
| Image editing | FLUX.2 [pro/max] | Pass image URL directly to input_image |
| Inpainting | FLUX.1 Fill | Object removal/completion |
| Context editing | FLUX.1 Kontext | Older model, prefer FLUX.2 |
Critical Rules
- NO negative prompts - FLUX does not support negative prompts; describe what you want
- Be specific - Vague prompts produce mediocre results
- Use natural language - Prose/narrative style works best
- Specify lighting - Lighting has the biggest impact on quality
- Quote text - Use "quoted text" for typography rendering
- Hex colors - Use #RRGGBB format with color description
Related
For API integration (endpoints, polling, webhooks), see the bfl-api skill.
Rules Reference
Read individual rule files for detailed guidance:
- rules/core-principles.md - Universal FLUX prompting principles
- rules/flux2-models.md - FLUX.2 family: klein, max, pro, flex, dev
- rules/flux1-models.md - FLUX.1 family: older generation of FLUX.2 models - pro, Kontext, Fill
- rules/t2i-prompting.md - Text-to-image prompting patterns
- rules/i2i-prompting.md - Image-to-image editing with FLUX.2
- rules/json-structured-prompting.md - Complex scene composition
- rules/hex-color-prompting.md - Precise color specification
- rules/typography-text.md - Text rendering and typography
- rules/multi-reference-editing.md - Multi-image references
- rules/negative-prompt-alternatives.md - Positive alternatives
- rules/model-selection-guide.md - Choosing the right model
Example Prompt
A weathered fisherman in his 70s with deep wrinkles and a salt-and-pepper beard,
wearing a navy cable-knit sweater, standing at the helm of his wooden boat.
Golden hour sunlight from the left creates dramatic rim lighting on his profile.
Shot on Hasselblad with 85mm lens at f/2.8, shallow depth of field with harbor
lights creating soft bokeh in the background. Kodak Portra 400 color science.
Câu hỏi thường gặp
Cấu trúc prompt cơ bản là gì?
Chủ thể, hành động, phong cách, bối cảnh, ánh sáng và chi tiết máy quay, viết theo đúng thứ tự đó.
Tôi nên dùng mô hình FLUX nào?
Skill gợi ý một mô hình nhanh cho bản nháp và một mô hình chất lượng cao hơn cho ảnh cuối, kèm ghi chú cho từng mô hình.
Có đề cập đến chữ trong ảnh không?
Có. Có hướng dẫn về kiểu chữ và cách hiển thị chữ.
Chi tiết
Mô tả gốc của tác giả
Comprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and model-specific best practices for FLUX.2 and FLUX.1 families.
repo: calesthio/OpenMontage
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2656
- Giấy phép
- AGPL-3.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-asset-generation
75kGiúp agent của bạn chọn cách tạo đối tượng 3D cho một cảnh, bằng thư viện có sẵn, các tool chuyển văn bản hoặc ảnh thành 3D, và Blender để lắp ráp cuối cùng.
acestep
75kGiúp agent của bạn tạo nhạc nền, bài hát, jingle và các stem cho video bằng trình tạo nhạc mã nguồn mở ACE-Step.
agents
75kGiúp agent của bạn xây dựng trợ lý AI giọng nói bằng ElevenLabs, như bot chăm sóc khách hàng và nhân vật giọng nói tương tác.
ai-video-gen
75kGiúp agent của bạn tạo các đoạn video AI từ mô tả bằng văn bản hoặc ảnh tham khảo, chọn trong số nhiều dịch vụ tạo video.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.