---
name: phix-product-photo-remix
description: Generate or edit PHIX product images from reference images, Pinterest-style ads, product folders, or creative briefs. Use when the user wants Codex to create PHIX product photography without Higgsfield, replace another product with PHIX, make PHIX versions of ad references, preserve snap scale, or use the local PHIX product assets.
---

# PHIX Product Photo Remix

Create PHIX product imagery using local product references and the available image generation tool. Use Higgsfield only if the user explicitly asks for Higgsfield; otherwise prefer built-in image generation/editing for speed.

## Product Assets

Local source folder:

`C:\Users\Med Lab\Documents\Clientes\MPG\Phix\IA PHIX\producto`

Core references:

- Snap front identity: `producto\fotos\Snap frente Limpio.png`
- Snap scale anchor: `producto\fotos\Snap en mano frente.png`
- Snap group/foil texture: `producto\fotos\Snaps varios.png`
- Snap back: `producto\fotos\Snap reverso limpio.png`
- Pillow box front: `producto\fotos\Caja de Snap frontal.png`
- Pillow box back: `producto\fotos\Caja de Snap  trasera.png`
- White bag/container: `producto\fotos\Bolsa contenedora de Snaps.png`
- White bag scale anchor: `producto\fotos\Referencia de tamaño bolsa de snaps.png`
- Product descriptor: `producto\descriptor.md`
- Product knowledge and claim rules: `producto\PHIX_Product_Knowledge_Base_para_Codex.md`

## Product Knowledge And Claims

Before writing headlines, benefit callouts, captions, or ad copy about PHIX, read or search:

`C:\Users\Med Lab\Documents\Clientes\MPG\Phix\IA PHIX\producto\PHIX_Product_Knowledge_Base_para_Codex.md`

Use it as the source of truth for benefits and mechanism. Do not invent benefits from the visual reference category. For example, if a reference is a skincare ad about hydration, do not copy "hydration" as a PHIX claim unless the knowledge base supports that wording.

PHIX messaging should center on:

- lúpulo madurado / matured hop bitter acids
- matriz fitoquímica inteligente
- mejores señales internas
- apoyo a metabolismo energético
- apoyo al equilibrio inflamatorio
- respuesta antioxidante endógena
- claridad mental y enfoque
- estrés y resiliencia biológica
- salud celular y equilibrio neuro-metabólico

Use cautious support language: "apoya", "contribuye a", "favorece", "puede ayudar a mantener", "se relaciona con", "se ha estudiado por su relación con".

Never write that PHIX cures, treats, reverses, prevents diseases, lowers glucose, replaces medication, guarantees results, or substitutes medical care.

## Non-Negotiable Identity And Scale Rules

When generating the blue PHIX snap, preserve identity before style:

- Use `Snap frente Limpio.png` for the exact front design, colors, logo placement, rounded square shape, and "0.04 FL OZ | 1.2 mL" text.
- Use `Snap en mano frente.png` for scale.
- The generated product must still look like the PHIX snap reference, not a generic blue packet with a PHIX-ish logo.
- Every PHIX snap in the same image must be the same real-world size. Do not place two snaps with different dimensions unless perspective clearly explains the difference. Prefer arranging snaps side by side on the same plane when showing multiple snaps.
- If a person holds a product, that product must also be PHIX. Never leave a generic bottle, jar, tube, or third-party package in the hand.

Always state this in the prompt:


```text
Use the PHIX snap reference image to preserve the exact product design: small rounded-square glossy blue foil sachet, white pHix logo, three water drops above the logo, and "0.04 FL OZ | 1.2 mL" at the bottom. The PHIX Snap is thumb-sized, approximately 4cm x 4cm, a tiny flexible foil sachet held between thumb and index finger. Do not redesign it. Do not make it a bottle, tube, full-size packet, card, pouch, or oversized package.
All PHIX snaps in the scene must be identical in real-world size.
```

If no hand appears in the final scene, include another scale cue such as a glass, tennis ball, spoon, fingers, product box, cup, or countertop props.

When generating the white bag/container:

- Use `Bolsa contenedora de Snaps.png` for product identity.
- Use `Referencia de tamaño bolsa de snaps.png` for real human scale.
- Keep the white bag as a flat flexible rectangular packet/sachet, not a box.
- Preserve the exact visual identity: cream/white front, dark blue vertical strip on the left, large dark blue PHIX logo centered, "marketplace global" at top, "SUPPORTS HEALTHY:" copy area below, and "6 servings" near the bottom.
- Do not convert the white bag into a pillow box, curved carton, rigid box, stand-up pouch, cereal bag, tote, or generic white package.

## Presentations

Use one of these product presentations:

- `snap`: small square blue glossy foil sachet, white pHix logo, water drop icon, "0.04 FL OZ | 1.2 mL".
- `pillow_box`: larger blue/white curved pillow box with pHix branding and 30 Snaps.
- `white_bag`: white/blue bag or container for snaps, sized according to `Referencia de tamaño bolsa de snaps.png`.

## Automatic Product Selection

Select the PHIX presentation from the reference image instead of asking the user unless the user specifies one:

- Choose `snap` when the reference shows a tiny item being held, pulled from a pocket/bag, added to water, placed beside small props, or used as an on-the-go ritual.
- Choose `pillow_box` when the reference shows a box-like hero product, ecommerce packshot, shelf product, product standing upright, or a larger foreground package.
- Do not choose `white_bag` automatically for now. Use it only when the user explicitly asks for the white bag. The current image generator often confuses it with the pillow box.
- If the reference product is a tube/bottle/can but the scene is about a bag, pouch, fruit basket, groceries, or wellness kit, prefer `snap` unless the user explicitly asks for `white_bag`.
- When adapting grocery, fruit, farmers-market, basket, or net-bag references for PHIX, replace irrelevant fruits such as oranges with hop cones (`lupulos`) unless the user asks to keep the original produce.
- If the scene needs both scale and product clarity, include the selected main presentation plus one tiny snap as a secondary object.
- When the reference contains a lineup of multiple non-PHIX products, replace every visible product with PHIX products or remove it. Do not leave non-PHIX bottles in the background, foreground, or in anyone's hand.

If the reference has a bottle/tube/can placed as the hero product, replace it with the PHIX presentation that best fits the scene:

- tiny in-hand ritual, water, gym, tennis, travel, pocket, daily-use scene -> `snap`
- larger foreground packshot, floor ad, shelf, ecommerce hero -> `pillow_box`
- pouch/container lifestyle, pantry, wellness kit, bundle -> `white_bag`

## Workflow

1. Read the user request and any attached/reference image.
2. If a Pinterest-style image is provided, use it for art direction: composition, camera angle, product placement, lighting, text hierarchy, and mood. Do not copy the third-party brand or exact ad text.
3. Select the PHIX presentation. If uncertain, use `snap` plus the scale anchor.
4. Load the relevant local product references visually before generation.
   - For `snap`, load both identity and hand-scale references.
  - For `white_bag`, load both identity and human-scale references.
5. Search the PHIX knowledge base before writing any benefit text or callouts.
6. For `pillow_box`, use the two-stage product-slot workflow when the reference product is a tube, bottle, vertical package, or any shape that could confuse the model:
   - Stage 1: generate the ad scene with a blank horizontal wide pillow-box placeholder, no branding.
   - Stage 2: edit the placeholder into the exact PHIX pillow box using `Caja de Snap frontal.png`.
7. Generate or edit the image with built-in image generation/editing.
8. While generating drafts, leave the original generated image in the default generated-images folder. When the user says the image is approved, copy the approved image to:

`C:\Users\Med Lab\Documents\Clientes\MPG\Phix\IA PHIX\outputs\imagenes`

Use a descriptive filename like:

`phix_<presentation>_<concept>_<YYYYMMDD_HHMM>.png`

Do not delete the original generated image. Only copy approved images into `outputs\imagenes`.

## Prompt Pattern

Use this structure:

```text
Create a premium PHIX product advertisement inspired by the reference image's composition, lighting, camera angle, environment, and text hierarchy, but replace the original product and branding with PHIX.

PHIX product: [presentation description].
Identity: [exact local reference that must be preserved].
Scale: [mandatory scale rule, especially for snap].
Scene: [adapted environment].
Text: [PHIX-safe headline/subheadline].
Style: photorealistic commercial product photography, premium wellness, clean blue/white palette.
Preserve: [composition/camera/mood from reference].
Avoid: copied third-party brand, wrong logo, oversized snap, distorted product, unreadable PHIX text, medical treatment claims.
```

## Text Replacement

Replace reference text with short PHIX copy from the knowledge base. Prefer punchy Spanish unless the user asks for English. Good short options:

- "MEJORES SENALES INTERNAS"
- "APOYA TU ENERGIA CELULAR"
- "BAJA EL RUIDO INTERNO"
- "EQUILIBRIO DESDE LA SENAL"
- "METABOLISMO CON MAS COHERENCIA"
- "CLARIDAD DESDE ADENTRO"
- "NO ES ESTIMULO. ES SENAL."
- "LUPULO MADURADO. MATRIZ INTELIGENTE."
- "TU RITUAL PHIX"
- "SNAP. MEZCLA. SIGUE."
- "LLEVA PHIX CONTIGO"

For sports references:

- "RINDE CON BALANCE"
- "FOCO. BALANCE. PHIX."
- "ENERGIA SIN SENTIRTE ACELERADO"

For skin/beauty references, do not use cosmetic claims like "hidrata profundamente", "piel sin grasa", or "barrera de la piel" unless the user explicitly wants a generic visual metaphor. Prefer internal-biology language:

- "BELLEZA QUE EMPIEZA EN LA SENAL"
- "APOYA TU EQUILIBRIO CELULAR"
- "ESTRES OXIDATIVO BAJO CONTROL"
- "PIEL, ENERGIA Y BALANCE EMPIEZAN ADENTRO"

Avoid disease claims, treatment claims, cosmetic-treatment claims, or promises of curing conditions.

## Quality Check

Before delivering, inspect the image:

- The selected PHIX product appears, not the original third-party product.
- Any product held by a person is PHIX, not a generic supplement bottle or original reference product.
- The PHIX product identity matches the local reference, especially the snap front design.
- If `white_bag` is used, it must match `Bolsa contenedora de Snaps.png`: flat rectangular packet, blue left strip, cream front, PHIX logo, not a pillow box.
- The snap is small enough if used.
- All snaps shown in the same plane are the same size.
- The white bag scale matches the human reference if used.
- The product does not become a bottle, tube, large pouch, or card.
- Main text is coherent and not visibly broken.
- The image keeps the useful reference style without retaining third-party branding.

If the output fails scale or product identity, regenerate with a stronger scale phrase and include the hand reference again.
