# Flux Best Practices > Guía completa para los modelos de generación de imagen BFL FLUX: prompting, T2I, I2I, JSON estructurado, colores hex, tipografía, edición multi-referencia y buenas prácticas por modelo. Fuente: https://skillsagentes.com/skills/calesthio/openmontage/flux-best-practices Markdown: https://skillsagentes.com/skills/calesthio/openmontage/flux-best-practices.md Repositorio: https://github.com/calesthio/OpenMontage Autor: calesthio Licencia: AGPL-3.0 Actualizado: el mes pasado Coste de contexto: 54 tok instalada, 1.1k tok al activarse, 31.1k tok con todos los archivos del bundle Bundle: 14 archivos, 122 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add calesthio/OpenMontage --skill flux-best-practices --agent claude-code # Cursor npx -y skills add calesthio/OpenMontage --skill flux-best-practices --agent cursor # Codex npx -y skills add calesthio/OpenMontage --skill flux-best-practices --agent codex # Gemini CLI npx -y skills add calesthio/OpenMontage --skill flux-best-practices --agent gemini # Windsurf npx -y skills add calesthio/OpenMontage --skill flux-best-practices --agent windsurf # Cline npx -y skills add calesthio/OpenMontage --skill flux-best-practices --agent cline ``` ## Qué hace - Da la fórmula de estructura de prompt para los modelos FLUX y ayuda a elegir entre FLUX.2 y FLUX.1 - Cubre texto a imagen, edición imagen a imagen y generación de escena estructurada con JSON - Explica colores hexadecimales para generaciones fieles a la marca, y tipografía y renderizado de texto - Documenta transferencia de estilo con varias imágenes de referencia ## Cuándo usarla - Escribir prompts para modelos FLUX.2 o FLUX.1 - Generar texto a imagen o editar con imagen a imagen - Generar escenas estructuradas con JSON o renderizar tipografía - Transferir estilo con varias referencias o buscar color fiel a la marca ## Qué la activa - "Escríbeme un prompt para FLUX.2" - "¿Qué modelo FLUX me conviene para esto?" - "Genera esta imagen con los colores exactos de la marca" - "Edita esta imagen manteniendo el estilo de estas referencias" ## Archivos - AGENTS.md — 53 KB - SKILL.md — 4 KB - rules/_sections.md — 2 KB - rules/core-principles.md — 4 KB - rules/flux1-models.md — 4 KB - rules/flux2-models.md — 7 KB - rules/hex-color-prompting.md — 5 KB - rules/i2i-prompting.md — 6 KB - rules/json-structured-prompting.md — 6 KB - rules/model-selection-guide.md — 7 KB - rules/multi-reference-editing.md — 6 KB - rules/negative-prompt-alternatives.md — 6 KB - rules/t2i-prompting.md — 6 KB - rules/typography-text.md — 6 KB ## SKILL.md Reproducido tal cual desde calesthio/OpenMontage bajo AGPL-3.0. Esta sección es el documento original y está en inglés. # 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.md`](AGENTS.md) in 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.md` is the loadable entry point and the authority. It does not override or extend the repository-root `AGENTS.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 1. **NO negative prompts** - FLUX does not support negative prompts; describe what you want 2. **Be specific** - Vague prompts produce mediocre results 3. **Use natural language** - Prose/narrative style works best 4. **Specify lighting** - Lighting has the biggest impact on quality 5. **Quote text** - Use "quoted text" for typography rendering 6. **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](rules/core-principles.md) - Universal FLUX prompting principles - [rules/flux2-models.md](rules/flux2-models.md) - FLUX.2 family: klein, max, pro, flex, dev - [rules/flux1-models.md](rules/flux1-models.md) - FLUX.1 family: older generation of FLUX.2 models - pro, Kontext, Fill - [rules/t2i-prompting.md](rules/t2i-prompting.md) - Text-to-image prompting patterns - [rules/i2i-prompting.md](rules/i2i-prompting.md) - Image-to-image editing with FLUX.2 - [rules/json-structured-prompting.md](rules/json-structured-prompting.md) - Complex scene composition - [rules/hex-color-prompting.md](rules/hex-color-prompting.md) - Precise color specification - [rules/typography-text.md](rules/typography-text.md) - Text rendering and typography - [rules/multi-reference-editing.md](rules/multi-reference-editing.md) - Multi-image references - [rules/negative-prompt-alternatives.md](rules/negative-prompt-alternatives.md) - Positive alternatives - [rules/model-selection-guide.md](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. ``` ## Dónde encaja - Categoría: [Diseño y UI](https://skillsagentes.com/categorias/diseno-ui.md) — Sistemas de diseño, trabajo con componentes y acabado visual. - Creador: [calesthio](https://skillsagentes.com/creators/calesthio.md) — 0 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Seedance 2 5](https://skillsagentes.com/skills/calesthio/openmontage/seedance-2-5.md): Genera vídeo cinematográfico de 4-30 s con ByteDance Seedance 2.5 por fal.ai, Volcengine Ark, Runway o ComfyUI. Cubre el contrato de prompt 2.5, cortes duros, locks de continuidad y voz. - [Comfyui](https://skillsagentes.com/skills/calesthio/openmontage/comfyui.md): Úsalo al trabajar con workflows de ComfyUI en OpenMontage: comfyui_image/video/music, workflows propios, selección de output_node, modelos que faltan, LoRAs, poca VRAM e importación de workflows de la comunidad. - [Fish Audio Tts](https://skillsagentes.com/skills/calesthio/openmontage/fish-audio-tts.md): Genera narración expresiva y multilingüe con fish.audio (modelos S1 / S2) y reutiliza voces clonadas mediante reference_id. - [Minimax H3](https://skillsagentes.com/skills/calesthio/openmontage/minimax-h3.md): Genera vídeo con MiniMax H3 (Hailuo 3.0) por la API oficial v2, fal.ai, Runway, nodos partner de ComfyUI o pesos abiertos locales. Clips de 4-15s a 2K con animación de primer/último fotograma. - [Gemini Omni](https://skillsagentes.com/skills/calesthio/openmontage/gemini-omni.md): Genera y edita conversacionalmente vídeos cortos con Google Gemini Omni Flash: itera con ediciones en lenguaje natural, clips de 3-10s a 720p con audio y texto en pantalla, e imágenes de referencia por etiquetas. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)