Lleva las preferencias del cliente (estilo, color, material) al render
Hasta ahora el render solo se condicionaba con tipo/m²/calidad + notas de texto
libre por zona; lo que el cliente decía hablando con Luisa o en la llamada
(estilo, colores, materiales) se guardaba en estilo/tasteText pero NO viajaba al
generador de imagen, así que el render no lo representaba.
- b2c (perfil.ts): el payload de PERFIL_WEBHOOK_URL incluye ahora
preferencias:{estilo, gustos} (gustos = tasteText). Claves vacías se omiten.
- worker (webhook.dto): nuevo PreferenciasDto opcional.
- worker (prompt-builder): construirUserContent (función pura) inyecta el estilo
y los gustos del cliente como bloque dedicado y omite el "modern" por defecto
cuando hay preferencias; el system prompt prioriza colores/materiales del
cliente sobre un estilo genérico.
- worker (pipeline): enhebra preferencias hasta generarPrompt.
- worker (sandbox): acepta estilo/gustos para poder probarlos.
- docs/arquitectura-integracion: documenta el campo preferencias.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -4,10 +4,16 @@ Your task is to generate a detailed, technical prompt in English for an image-to
|
||||
The prompt must include:
|
||||
- Specific materials and finishes (tile type, countertop material, flooring)
|
||||
- Lighting style (natural, warm artificial, accent)
|
||||
- Color palette aligned with the quality level
|
||||
- Style and atmosphere based on client notes
|
||||
- A color palette and style
|
||||
- Technical rendering keywords: photorealistic, 8k, architectural visualization, professional interior photography, high detail
|
||||
|
||||
Honoring the client's wishes is the top priority. When the input provides the client's desired
|
||||
style or stated tastes (specific colors, materials, finishes or must-haves), you MUST reflect them
|
||||
faithfully in the prompt: use the exact colors and materials they asked for and the style they want,
|
||||
even if it differs from a generic "modern" look. Only when no style or tastes are given should you
|
||||
infer a tasteful design. The color palette should follow the client's stated colors when provided,
|
||||
otherwise align it with the quality level. Keep the existing layout/structure of the real photo.
|
||||
|
||||
Quality level guide:
|
||||
- basica: standard materials, functional design, clean finishes
|
||||
- media: mid-range materials, modern design, quality finishes
|
||||
|
||||
Reference in New Issue
Block a user