SnapMingle Logo
  • Home
  • Tutorial
  • Courses
  • Services
  • Products
  • News
  • About SnapMingle

    • SnapMingle
    • Founder
    • Brand
    • Stories
    • Contact
  • Home
  • Tutorial
  • Courses
  • Services
  • Products
  • News
  • About SnapMingle

    • SnapMingle
    • Founder
    • Brand
    • Stories
    • Contact

Loading...

SnapMingle Logo
  • Home
  • Tutorial
  • Courses
  • Services
  • Products
  • News
  • About SnapMingle

    • SnapMingle
    • Founder
    • Brand
    • Stories
    • Contact
  • Home
  • Tutorial
  • Courses
  • Services
  • Products
  • News
  • About SnapMingle

    • SnapMingle
    • Founder
    • Brand
    • Stories
    • Contact

Universal Packaging Dieline Generator (แกะแบบบรรจุภัณฑ์ 2D จากรูปเดียว)
Prompt-044

Universal Packaging Dieline Generator (แกะแบบบรรจุภัณฑ์ 2D จากรูปเดียว)

{
  "prompt_task": "Single-View Packaging Extrapolation to Full 360 Dieline (Industry-Aware + Multi-Packaging Types v3.4 | Spout Pouch + Header/Hanger | White BG)",
  "role": "Packaging Structural Engineer + Brand System Designer + Prepress Technician",
  "objective": "Given ONLY ONE SIDE image, generate a complete production-ready 2D dieline (or label/shrink sleeve template) and intelligently design missing panels in a brand-consistent, best-practice way. CRITICAL: If the pack is a flexible pouch with a screw cap/spout fitment, treat it as a SPOUT POUCH (not a bottle label). Output must be editable and safe: do not invent regulated facts; use placeholders where needed.",

  "input_data": {
    "source": "USER_ATTACHED_IMAGE_SINGLE_SIDE",
    "single_view_assumption": true,
    "front_view_assumption": "Assume the provided single-side image is the FRONT panel unless strongly contradicted by structural cues.",
    "reference_priority": ["STRUCTURE_CUES_FROM_IMAGE", "BRAND_STYLE_CUES_FROM_IMAGE", "INDUSTRY_STANDARD_LAYOUTS"]
  },

  "rendering_rules": {
    "background_color": "#FFFFFF",
    "view": "Orthographic 2D top-down (flat plan)",
    "no_shadows_or_scene": true
  },

  "global_output_spec": {
    "units": "mm",
    "deliverables": { "vector_keyline": "SVG_or_PDF_vector", "preview_mock": "PNG_300dpi" },
    "required_layers": [
      "CUTLINE_MAGENTA",
      "FOLDLINE_CYAN",
      "PERFLINE_GREEN",
      "SEAL_AREA_HATCH",
      "GLUE_AREA_GRAY",
      "FITMENT_ZONE",
      "NO_PRINT_ZONE",
      "BLEED_GUIDE",
      "SAFE_GUIDE",
      "ARTWORK_FRONT_REF",
      "ARTWORK_GENERATED_PANELS",
      "PLACEHOLDER_FIELDS"
    ],
    "prepress_guides": { "bleed_mm": 3, "safe_margin_mm": 3, "tolerance_mm": 0.5, "barcode_quiet_zone_mm": 2 },
    "panel_labeling": true,
    "always_output_dimension_table": true,
    "always_output_editable_fields_table": true,
    "always_output_assumptions_list": true
  },

  "process_workflow": {
    "step_0_visibility_and_confidence": {
      "instruction": "Check what is visible from the single view. Estimate confidence for structure, product category, and text legibility. List missing views and assumptions.",
      "outputs": ["visibility_report", "confidence_scores", "missing_views_list", "assumptions_list"]
    },

    "step_1_extract_brand_dna": {
      "instruction": "Extract brand DNA from the visible side to drive all missing sides.",
      "extract": {
        "logo_zone": "position, scale ratio, clearspace",
        "typography": "headline/body style approximation",
        "color_palette": "primary/secondary/accent",
        "layout_grid": "margins, alignment, hierarchy",
        "graphic_motifs": "patterns, dividers, icon style",
        "tone_of_voice": "premium/playful/clinical/eco/etc"
      },
      "outputs": ["brand_dna_profile", "layout_ruleset", "icon_style_spec"]
    },

    "step_2_industry_guess (PRODUCT CATEGORY FILTER)": {
      "instruction": "Infer product category ONLY to pick best-practice layout blueprint. This must NOT change product identity.",
      "categories": {
        "FOOD_SNACK": "snack, candy, dried food",
        "BEVERAGE": "drink bottle/can/juice/tea/coffee",
        "COSMETIC_SKINCARE": "cream/serum/mask/shampoo",
        "HOUSEHOLD_CLEANING": "detergent, cleaner",
        "SUPPLEMENT": "vitamin, capsules, nutrition",
        "MEDICAL_OTC": "OTC-style packaging (use extra caution placeholders)",
        "FASHION_ACCESSORY": "non-food retail packaging",
        "GENERIC": "fallback"
      },
      "outputs": ["guessed_category", "category_confidence", "selected_blueprint_set"]
    },

    "step_3_strict_structural_classification (PACKAGING TYPE FILTER)": {
      "instruction": "Classify packaging type using geometry/material cues. Choose ONE primary type + optional modifiers. CRITICAL OVERRIDE: If the body is flexible film with heat-seal edges AND has a screw cap/spout fitment, classify as TYPE_C2_SPOUT_POUCH (NOT container label).",
      "primary_types": {
        "TYPE_A_FLAT_SACHET": "Flexible, flat, sealed edges; no depth",
        "TYPE_C_STANDUP_POUCH": "Flexible doypack with bottom gusset (no spout)",
        "TYPE_C2_SPOUT_POUCH": "Flexible pouch with spout fitment + screw cap (may still be a doypack)",
        "TYPE_D_SIDE_GUSSET_BAG": "Bag with left/right gussets",
        "TYPE_B_RIGID_BOX": "Folding carton",
        "TYPE_B2_RIGID_BOX_WITH_INSERT": "Carton + internal insert tray/insert",
        "TYPE_E_LABEL_STICKER": "Flat diecut label/sticker",
        "TYPE_F_SLEEVE_WRAP": "Paper sleeve/wrap band",
        "TYPE_G_CONTAINER_LABEL": "Bottle/jar/can label or shrink sleeve (ONLY if rigid container body is detected)",
        "TYPE_H_TUBE_LABEL": "Tube label band + optional box"
      },
      "feature_modifiers": {
        "ZIPPER": "Resealable zipper track",
        "TEAR_NOTCH": "Tear notch",
        "EURO_HOLE": "Hang hole (slot/round)",
        "WINDOW": "Transparent window area",
        "ROUNDED_CORNERS": "Corner radius",
        "PERFORATION": "Tear perforation",
        "SPOUT_FITMENT": "Plastic spout/fitment welded to pouch",
        "SCREW_CAP": "Screw cap on fitment",
        "TOP_HEADER_EXTENSION": "Billboard/crown panel above top closure (cartons/sleeves)",
        "HANGER_TAB": "Header designed for hanging (hole/slot)",
        "HANDLE": "Handle cut/strap",
        "INNER_TRAY_DEEP": "Deep insert cavity"
      },
      "anti_misclassification_rules": [
        "If heat-seal edges + flexible film wrinkles are visible -> NEVER choose TYPE_G_CONTAINER_LABEL.",
        "If cap/spout exists but the body is a pouch -> choose TYPE_C2_SPOUT_POUCH.",
        "Only choose TYPE_G_CONTAINER_LABEL when the container body is rigid (bottle/jar/can) and label wrap is implied."
      ]
    },

    "step_4_parametric_dimensions_from_single_view": {
      "instruction": "Infer dimensions from proportions; if unknown, use intelligent defaults per packaging type. Always output a dimension table for user edits.",
      "defaults_mm": {
        "seal_width": 8,
        "top_seal_height": 12,
        "side_seal_width": 8,
        "bottom_seal_height": 10,

        "pouch_bottom_gusset_depth": 40,
        "zipper_offset_from_top": 18,

        "spout_fitment_diameter": 10,
        "spout_fitment_neck_height": 14,
        "spout_offset_from_top_seal": 6,
        "spout_offset_from_side": 0,
        "fitment_keepout_radius": 12,
        "no_print_margin_around_spout": 6,

        "glue_tab": 12,
        "box_flap_depth": 25,

        "label_gap_mm": 2,
        "shrink_seam_allowance_mm": 5,

        "insert_wall_thickness_mm": 1.2,
        "insert_cavity_depth_mm": 18,
        "insert_wall_height_mm": 20
      },
      "outputs": ["dimension_table", "editable_parameters"]
    },

    "step_5_generate_structure (STRICT BRANCHING)": {
      "instruction": "Generate dieline/templates strictly based on the detected primary type. Apply only detected modifiers. DO NOT MIX RULES.",

      "IF_TYPE_A_FLAT_SACHET": {
        "structure": "Front + Back flat web. Add SEAL margins only. NO fold lines. NO depth.",
        "include": ["SEAL_AREA_HATCH"]
      },

      "IF_TYPE_C_STANDUP_POUCH": {
        "structure": "Front + Back + Bottom Gusset (doypack). Add top seal area.",
        "include": ["gusset_fold_guides", "SEAL_AREA_HATCH", "zipper_if_detected"]
      },

      "IF_TYPE_C2_SPOUT_POUCH": {
        "structure": "Front + Back + (Bottom Gusset if the pouch stands) + Top Seal. Add SPOUT/FITMENT placement and keep-out zones.",
        "include": [
          "gusset_fold_guides_if_doypack",
          "SEAL_AREA_HATCH",
          "FITMENT_ZONE",
          "NO_PRINT_ZONE"
        ],
        "fitment_rules": {
          "placement": "Place spout on the top edge region according to the photo (center or off-center). If unknown, default to centered.",
          "keepout": "Draw a circular/rounded keep-out around spout (fitment_keepout_radius) and mark as NO_PRINT_ZONE (no_print_margin_around_spout).",
          "seal_logic": "Ensure spout sits within top seal area and does not break seal continuity; adjust top seal height if necessary.",
          "notes": [
            "Do NOT treat as bottle label.",
            "Do NOT create rigid bottle geometry.",
            "Cap is a component; dieline is for pouch film only. Mark fitment centerline."
          ]
        }
      },

      "IF_TYPE_D_SIDE_GUSSET_BAG": {
        "structure": "Front + Back + Left/Right Gussets + seals.",
        "include": ["gusset_crease_foldlines", "SEAL_AREA_HATCH"]
      },

      "IF_TYPE_B_RIGID_BOX": {
        "structure": "Carton net: Front, Back, Left, Right, Top, Bottom + glue tab + dust flaps.",
        "include": ["FOLDLINE_CYAN", "GLUE_AREA_GRAY"]
      },

      "IF_TYPE_B2_RIGID_BOX_WITH_INSERT": {
        "structure": {
          "outer_carton": "Standard folding carton net.",
          "inner_insert": "Separate insert dieline: tray base + walls + corner locks. If INNER_TRAY_DEEP detected, increase wall height and add reinforcement tabs."
        },
        "include": ["FOLDLINE_CYAN", "GLUE_AREA_GRAY", "insert_assembly_marks"]
      },

      "IF_TYPE_G_CONTAINER_LABEL": {
        "instruction": "Decide wraparound vs front/back vs shrink sleeve ONLY for rigid containers.",
        "variants": {
          "WRAPAROUND_LABEL": "Single rectangle with overlap + label gap",
          "FRONT_BACK_LABELS": "Two rectangles sized proportionally",
          "SHRINK_SLEEVE": "Full-body sleeve with seam allowance + distortion note"
        },
        "include": ["BLEED_GUIDE", "SAFE_GUIDE"]
      },

      "IF_TYPE_E_LABEL_STICKER": { "structure": "Diecut outline only + bleed/safe guides." },
      "IF_TYPE_F_SLEEVE_WRAP": { "structure": "Wrap panel with overlap/glue zone.", "include": ["GLUE_AREA_GRAY"] },
      "IF_TYPE_H_TUBE_LABEL": { "structure": "Tube label band template + curvature safe zones." }
    },

    "step_6_artwork_policy": {
      "visible_side": "Rebuild and place the visible artwork exactly on the corresponding panel. Keep all legible text exact.",
      "missing_panels": "Design the rest using ONLY extracted brand DNA and consistent layout logic. Do not change product identity or invent new claims.",
      "regulated_data_policy": "Never invent regulated facts/numbers. Use placeholders for ingredients, nutrition, reg no, address, lot/mfg/exp, net weight/volume if unknown."
    },

    "step_7_text_engine_thai_english": {
      "instruction": "Match Thai/English usage and tone from front. Thai marks must be correct. Unclear text must become [ILLEGIBLE] or placeholders (no guessing).",
      "placeholders": {
        "INGREDIENTS": "[INGREDIENTS_PLACEHOLDER]",
        "NUTRITION": "[NUTRITION_FACTS_PLACEHOLDER]",
        "NET_WEIGHT": "[NET_WEIGHT_PLACEHOLDER]",
        "VOLUME": "[VOLUME_PLACEHOLDER]",
        "REG_NO": "[REG_NO_PLACEHOLDER]",
        "ADDRESS": "[COMPANY_ADDRESS_PLACEHOLDER]",
        "PHONE": "[PHONE_PLACEHOLDER]",
        "WEBSITE": "[WEBSITE_PLACEHOLDER]",
        "LOT": "[LOT_PLACEHOLDER]",
        "MFG": "[MFG_DATE_PLACEHOLDER]",
        "EXP": "[EXP_DATE_PLACEHOLDER]"
      }
    },

    "step_8_qc_prepress_and_readability": {
      "instruction": "Run QC and produce warnings + editable fields list.",
      "qc_checks": [
        "Correct structure for packaging type (no mixed rules)",
        "If spout/cap on flexible pouch -> classified as TYPE_C2_SPOUT_POUCH",
        "Bleed/safe guides present",
        "Seal areas only for flexible packs",
        "Glue zones only for cartons/sleeves/inserts",
        "Spout keep-out and no-print zones present (if spout)",
        "Barcode quiet zone reserved",
        "Critical text not placed on seam/crease/spout zones",
        "All panels labeled and aligned",
        "Insert tray dieline separated and buildable (if present)"
      ],
      "outputs": ["qc_report", "warnings", "editable_fields_table", "final_assumptions_list"]
    }
  }
}
Published: December 27, 2025
Browse More

Full Prompt

prompt.txt
{
  "prompt_task": "Single-View Packaging Extrapolation to Full 360 Dieline (Industry-Aware + Multi-Packaging Types v3.4 | Spout Pouch + Header/Hanger | White BG)",
  "role": "Packaging Structural Engineer + Brand System Designer + Prepress Technician",
  "objective": "Given ONLY ONE SIDE image, generate a complete production-ready 2D dieline (or label/shrink sleeve template) and intelligently design missing panels in a brand-consistent, best-practice way. CRITICAL: If the pack is a flexible pouch with a screw cap/spout fitment, treat it as a SPOUT POUCH (not a bottle label). Output must be editable and safe: do not invent regulated facts; use placeholders where needed.",

  "input_data": {
    "source": "USER_ATTACHED_IMAGE_SINGLE_SIDE",
    "single_view_assumption": true,
    "front_view_assumption": "Assume the provided single-side image is the FRONT panel unless strongly contradicted by structural cues.",
    "reference_priority": ["STRUCTURE_CUES_FROM_IMAGE", "BRAND_STYLE_CUES_FROM_IMAGE", "INDUSTRY_STANDARD_LAYOUTS"]
  },

  "rendering_rules": {
    "background_color": "#FFFFFF",
    "view": "Orthographic 2D top-down (flat plan)",
    "no_shadows_or_scene": true
  },

  "global_output_spec": {
    "units": "mm",
    "deliverables": { "vector_keyline": "SVG_or_PDF_vector", "preview_mock": "PNG_300dpi" },
    "required_layers": [
      "CUTLINE_MAGENTA",
      "FOLDLINE_CYAN",
      "PERFLINE_GREEN",
      "SEAL_AREA_HATCH",
      "GLUE_AREA_GRAY",
      "FITMENT_ZONE",
      "NO_PRINT_ZONE",
      "BLEED_GUIDE",
      "SAFE_GUIDE",
      "ARTWORK_FRONT_REF",
      "ARTWORK_GENERATED_PANELS",
      "PLACEHOLDER_FIELDS"
    ],
    "prepress_guides": { "bleed_mm": 3, "safe_margin_mm": 3, "tolerance_mm": 0.5, "barcode_quiet_zone_mm": 2 },
    "panel_labeling": true,
    "always_output_dimension_table": true,
    "always_output_editable_fields_table": true,
    "always_output_assumptions_list": true
  },

  "process_workflow": {
    "step_0_visibility_and_confidence": {
      "instruction": "Check what is visible from the single view. Estimate confidence for structure, product category, and text legibility. List missing views and assumptions.",
      "outputs": ["visibility_report", "confidence_scores", "missing_views_list", "assumptions_list"]
    },

    "step_1_extract_brand_dna": {
      "instruction": "Extract brand DNA from the visible side to drive all missing sides.",
      "extract": {
        "logo_zone": "position, scale ratio, clearspace",
        "typography": "headline/body style approximation",
        "color_palette": "primary/secondary/accent",
        "layout_grid": "margins, alignment, hierarchy",
        "graphic_motifs": "patterns, dividers, icon style",
        "tone_of_voice": "premium/playful/clinical/eco/etc"
      },
      "outputs": ["brand_dna_profile", "layout_ruleset", "icon_style_spec"]
    },

    "step_2_industry_guess (PRODUCT CATEGORY FILTER)": {
      "instruction": "Infer product category ONLY to pick best-practice layout blueprint. This must NOT change product identity.",
      "categories": {
        "FOOD_SNACK": "snack, candy, dried food",
        "BEVERAGE": "drink bottle/can/juice/tea/coffee",
        "COSMETIC_SKINCARE": "cream/serum/mask/shampoo",
        "HOUSEHOLD_CLEANING": "detergent, cleaner",
        "SUPPLEMENT": "vitamin, capsules, nutrition",
        "MEDICAL_OTC": "OTC-style packaging (use extra caution placeholders)",
        "FASHION_ACCESSORY": "non-food retail packaging",
        "GENERIC": "fallback"
      },
      "outputs": ["guessed_category", "category_confidence", "selected_blueprint_set"]
    },

    "step_3_strict_structural_classification (PACKAGING TYPE FILTER)": {
      "instruction": "Classify packaging type using geometry/material cues. Choose ONE primary type + optional modifiers. CRITICAL OVERRIDE: If the body is flexible film with heat-seal edges AND has a screw cap/spout fitment, classify as TYPE_C2_SPOUT_POUCH (NOT container label).",
      "primary_types": {
        "TYPE_A_FLAT_SACHET": "Flexible, flat, sealed edges; no depth",
        "TYPE_C_STANDUP_POUCH": "Flexible doypack with bottom gusset (no spout)",
        "TYPE_C2_SPOUT_POUCH": "Flexible pouch with spout fitment + screw cap (may still be a doypack)",
        "TYPE_D_SIDE_GUSSET_BAG": "Bag with left/right gussets",
        "TYPE_B_RIGID_BOX": "Folding carton",
        "TYPE_B2_RIGID_BOX_WITH_INSERT": "Carton + internal insert tray/insert",
        "TYPE_E_LABEL_STICKER": "Flat diecut label/sticker",
        "TYPE_F_SLEEVE_WRAP": "Paper sleeve/wrap band",
        "TYPE_G_CONTAINER_LABEL": "Bottle/jar/can label or shrink sleeve (ONLY if rigid container body is detected)",
        "TYPE_H_TUBE_LABEL": "Tube label band + optional box"
      },
      "feature_modifiers": {
        "ZIPPER": "Resealable zipper track",
        "TEAR_NOTCH": "Tear notch",
        "EURO_HOLE": "Hang hole (slot/round)",
        "WINDOW": "Transparent window area",
        "ROUNDED_CORNERS": "Corner radius",
        "PERFORATION": "Tear perforation",
        "SPOUT_FITMENT": "Plastic spout/fitment welded to pouch",
        "SCREW_CAP": "Screw cap on fitment",
        "TOP_HEADER_EXTENSION": "Billboard/crown panel above top closure (cartons/sleeves)",
        "HANGER_TAB": "Header designed for hanging (hole/slot)",
        "HANDLE": "Handle cut/strap",
        "INNER_TRAY_DEEP": "Deep insert cavity"
      },
      "anti_misclassification_rules": [
        "If heat-seal edges + flexible film wrinkles are visible -> NEVER choose TYPE_G_CONTAINER_LABEL.",
        "If cap/spout exists but the body is a pouch -> choose TYPE_C2_SPOUT_POUCH.",
        "Only choose TYPE_G_CONTAINER_LABEL when the container body is rigid (bottle/jar/can) and label wrap is implied."
      ]
    },

    "step_4_parametric_dimensions_from_single_view": {
      "instruction": "Infer dimensions from proportions; if unknown, use intelligent defaults per packaging type. Always output a dimension table for user edits.",
      "defaults_mm": {
        "seal_width": 8,
        "top_seal_height": 12,
        "side_seal_width": 8,
        "bottom_seal_height": 10,

        "pouch_bottom_gusset_depth": 40,
        "zipper_offset_from_top": 18,

        "spout_fitment_diameter": 10,
        "spout_fitment_neck_height": 14,
        "spout_offset_from_top_seal": 6,
        "spout_offset_from_side": 0,
        "fitment_keepout_radius": 12,
        "no_print_margin_around_spout": 6,

        "glue_tab": 12,
        "box_flap_depth": 25,

        "label_gap_mm": 2,
        "shrink_seam_allowance_mm": 5,

        "insert_wall_thickness_mm": 1.2,
        "insert_cavity_depth_mm": 18,
        "insert_wall_height_mm": 20
      },
      "outputs": ["dimension_table", "editable_parameters"]
    },

    "step_5_generate_structure (STRICT BRANCHING)": {
      "instruction": "Generate dieline/templates strictly based on the detected primary type. Apply only detected modifiers. DO NOT MIX RULES.",

      "IF_TYPE_A_FLAT_SACHET": {
        "structure": "Front + Back flat web. Add SEAL margins only. NO fold lines. NO depth.",
        "include": ["SEAL_AREA_HATCH"]
      },

      "IF_TYPE_C_STANDUP_POUCH": {
        "structure": "Front + Back + Bottom Gusset (doypack). Add top seal area.",
        "include": ["gusset_fold_guides", "SEAL_AREA_HATCH", "zipper_if_detected"]
      },

      "IF_TYPE_C2_SPOUT_POUCH": {
        "structure": "Front + Back + (Bottom Gusset if the pouch stands) + Top Seal. Add SPOUT/FITMENT placement and keep-out zones.",
        "include": [
          "gusset_fold_guides_if_doypack",
          "SEAL_AREA_HATCH",
          "FITMENT_ZONE",
          "NO_PRINT_ZONE"
        ],
        "fitment_rules": {
          "placement": "Place spout on the top edge region according to the photo (center or off-center). If unknown, default to centered.",
          "keepout": "Draw a circular/rounded keep-out around spout (fitment_keepout_radius) and mark as NO_PRINT_ZONE (no_print_margin_around_spout).",
          "seal_logic": "Ensure spout sits within top seal area and does not break seal continuity; adjust top seal height if necessary.",
          "notes": [
            "Do NOT treat as bottle label.",
            "Do NOT create rigid bottle geometry.",
            "Cap is a component; dieline is for pouch film only. Mark fitment centerline."
          ]
        }
      },

      "IF_TYPE_D_SIDE_GUSSET_BAG": {
        "structure": "Front + Back + Left/Right Gussets + seals.",
        "include": ["gusset_crease_foldlines", "SEAL_AREA_HATCH"]
      },

      "IF_TYPE_B_RIGID_BOX": {
        "structure": "Carton net: Front, Back, Left, Right, Top, Bottom + glue tab + dust flaps.",
        "include": ["FOLDLINE_CYAN", "GLUE_AREA_GRAY"]
      },

      "IF_TYPE_B2_RIGID_BOX_WITH_INSERT": {
        "structure": {
          "outer_carton": "Standard folding carton net.",
          "inner_insert": "Separate insert dieline: tray base + walls + corner locks. If INNER_TRAY_DEEP detected, increase wall height and add reinforcement tabs."
        },
        "include": ["FOLDLINE_CYAN", "GLUE_AREA_GRAY", "insert_assembly_marks"]
      },

      "IF_TYPE_G_CONTAINER_LABEL": {
        "instruction": "Decide wraparound vs front/back vs shrink sleeve ONLY for rigid containers.",
        "variants": {
          "WRAPAROUND_LABEL": "Single rectangle with overlap + label gap",
          "FRONT_BACK_LABELS": "Two rectangles sized proportionally",
          "SHRINK_SLEEVE": "Full-body sleeve with seam allowance + distortion note"
        },
        "include": ["BLEED_GUIDE", "SAFE_GUIDE"]
      },

      "IF_TYPE_E_LABEL_STICKER": { "structure": "Diecut outline only + bleed/safe guides." },
      "IF_TYPE_F_SLEEVE_WRAP": { "structure": "Wrap panel with overlap/glue zone.", "include": ["GLUE_AREA_GRAY"] },
      "IF_TYPE_H_TUBE_LABEL": { "structure": "Tube label band template + curvature safe zones." }
    },

    "step_6_artwork_policy": {
      "visible_side": "Rebuild and place the visible artwork exactly on the corresponding panel. Keep all legible text exact.",
      "missing_panels": "Design the rest using ONLY extracted brand DNA and consistent layout logic. Do not change product identity or invent new claims.",
      "regulated_data_policy": "Never invent regulated facts/numbers. Use placeholders for ingredients, nutrition, reg no, address, lot/mfg/exp, net weight/volume if unknown."
    },

    "step_7_text_engine_thai_english": {
      "instruction": "Match Thai/English usage and tone from front. Thai marks must be correct. Unclear text must become [ILLEGIBLE] or placeholders (no guessing).",
      "placeholders": {
        "INGREDIENTS": "[INGREDIENTS_PLACEHOLDER]",
        "NUTRITION": "[NUTRITION_FACTS_PLACEHOLDER]",
        "NET_WEIGHT": "[NET_WEIGHT_PLACEHOLDER]",
        "VOLUME": "[VOLUME_PLACEHOLDER]",
        "REG_NO": "[REG_NO_PLACEHOLDER]",
        "ADDRESS": "[COMPANY_ADDRESS_PLACEHOLDER]",
        "PHONE": "[PHONE_PLACEHOLDER]",
        "WEBSITE": "[WEBSITE_PLACEHOLDER]",
        "LOT": "[LOT_PLACEHOLDER]",
        "MFG": "[MFG_DATE_PLACEHOLDER]",
        "EXP": "[EXP_DATE_PLACEHOLDER]"
      }
    },

    "step_8_qc_prepress_and_readability": {
      "instruction": "Run QC and produce warnings + editable fields list.",
      "qc_checks": [
        "Correct structure for packaging type (no mixed rules)",
        "If spout/cap on flexible pouch -> classified as TYPE_C2_SPOUT_POUCH",
        "Bleed/safe guides present",
        "Seal areas only for flexible packs",
        "Glue zones only for cartons/sleeves/inserts",
        "Spout keep-out and no-print zones present (if spout)",
        "Barcode quiet zone reserved",
        "Critical text not placed on seam/crease/spout zones",
        "All panels labeled and aligned",
        "Insert tray dieline separated and buildable (if present)"
      ],
      "outputs": ["qc_report", "warnings", "editable_fields_table", "final_assumptions_list"]
    }
  }
}

Usage Tips

Modify the style keywords as needed to match your desired output. (แก้ไขคำสำคัญพื่อให้ตรงกับผลลัพธ์ที่คุณต้องการ)

Share This Prompt

Share on TwitterShare on Facebook