flux-best-practices
Fungsinya
Skill ini mengajarkan cara menulis prompt yang baik untuk model gambar FLUX. Cocok untuk desainer dan kreator yang ingin gambar yang akurat dan berkualitas tinggi dari AI.
Kapan dipakai
- βSaat Anda sedang menulis prompt untuk model gambar FLUX.
- βSaat Anda membutuhkan gambar dengan teks yang mudah dibaca atau warna merek yang tepat.
- βSaat Anda ingin mengedit gambar atau menggabungkan beberapa gambar referensi dengan FLUX.
Link skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/flux-best-practices/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTulis prompt FLUX untuk foto produk botol merah dengan nama merek yang bisa dibaca di labelnya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memberikan struktur prompt yang sederhana: subjek, aksi, gaya, latar, pencahayaan, dan detail kamera. Skill juga menjelaskan model mana yang cocok untuk setiap pekerjaan, seperti draf cepat atau kualitas tertinggi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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.
Pertanyaan umum
Apa struktur dasar prompt?
Subjek, aksi, gaya, latar, pencahayaan, dan detail kamera, ditulis dalam urutan tersebut.
Model FLUX mana yang sebaiknya saya pakai?
Skill merekomendasikan model cepat untuk draf dan model kualitas lebih tinggi untuk gambar final, dengan catatan untuk masing-masing.
Apakah skill ini membahas teks dalam gambar?
Ya. Skill mencakup panduan tipografi dan rendering teks.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 75k
- Peringkat
- #2656
- Lisensi
- AGPL-3.0
- Diperbarui
- 28/10/2026
Komentar
- β¦
Skill lain dari repositori ini
3d-asset-generation
75kMembantu agent Anda memilih cara membuat objek 3D untuk sebuah adegan, dengan katalog, alat teks atau gambar ke 3D, dan Blender untuk perakitan akhir.
acestep
75kMembantu agent Anda membuat musik latar, lagu, jingle, dan stem untuk video menggunakan generator musik terbuka ACE-Step.
agents
75kMembantu agent Anda membangun asisten AI suara dengan ElevenLabs, seperti bot layanan pelanggan dan karakter suara interaktif.
ai-video-gen
75kMembantu agent Anda menghasilkan klip video AI dari deskripsi teks atau gambar referensi, dengan memilih dari beberapa layanan pembuatan video.
Skill serupa
gifgrep
394kMemungkinkan agent Anda mencari GIF, melihat pratinjau hasil, mengunduh GIF, dan mengambil satu bingkai diam atau lembar kontak darinya.
meme-maker
394kMemungkinkan agent Anda memilih templat meme, menambahkan teks sendiri, dan membuat meme sebagai gambar SVG atau PNG.
ios-icon-gen
280kMemungkinkan agent Anda membuat ikon untuk aplikasi iOS. Menggunakan simbol Apple atau ikon dari sumber lain untuk membuat file yang tepat.