rarre

Template campaigns

Sep 2nd, 2025 (edited)
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.69 KB | Source Code | 0 0
  1. {
  2.   "version": "CTA_Template_Story_FINAL_v1.8",
  3.   "canvas": { "aspect_ratio": "9:16", "background": "#FFFFFF", "lock": true },
  4.  
  5.   "brand": {
  6.     "name": "@mydistzi",
  7.     "palette": ["#0D0D0D", "#1A1A1A", "#FF3B3B", "#FF9F1C", "#1E90FF", "#F2F2F2"],
  8.     "fallback_strategy": "fixed-pastel",
  9.     "randomize_fallbacks": false
  10.   },
  11.  
  12.   "multi_campaign_mode": {
  13.     "enabled": true,
  14.     "variations": 5,
  15.     "seed_strategy": "incremental",
  16.     "seed_base": 20250903,
  17.  
  18.     "naming": {
  19.       "prefix": "MDZ",
  20.       "series": "FALL_SALE",
  21.       "pattern": "{prefix}-{series}-{channel}-{yyyymmdd}-V{variant}-{headline_value}-{pre_headline_export}",
  22.       "channel_map": { "story": "IGS", "post": "IGP", "reel": "IGR", "tiktok": "TTK" },
  23.       "variant_labels": ["A","B","C","D","E"]
  24.     },
  25.  
  26.     "slug": {
  27.       "pattern": "fall-sale-{yyyymmdd}-{variant}-{headline_value}-{pre_headline_export}",
  28.       "lowercase": true,
  29.       "separator": "-"
  30.     },
  31.  
  32.     "utm": {
  33.       "base_url": "https://yourwebsite.com/shop",
  34.       "source": "instagram",
  35.       "medium": "story",
  36.       "campaign": "fall_sale_{yyyymmdd}",
  37.       "content_pattern": "cta{headline_value}-{variant}-{seed}-{pre_headline_export}",
  38.       "param_keys": ["utm_source","utm_medium","utm_campaign","utm_content"]
  39.     },
  40.  
  41.     "export": {
  42.       "filename_pattern": "{prefix}-{series}-{channel}-{yyyymmdd}-V{variant}-{headline_value}-{pre_headline_export}",
  43.       "extension": "png",
  44.       "dpi": 144,
  45.       "color_profile": "sRGB",
  46.       "optimize": true,
  47.       "transforms": {
  48.         "pre_headline_export": {
  49.           "source_ref": "central_cta.pre_headline.value",
  50.           "default_casing": "uppercase",
  51.           "override_allowed": true,
  52.           "override_key": "export_casing_override"
  53.         }
  54.       }
  55.     },
  56.  
  57.     "tracking": {
  58.       "id_pattern": "MDZ-{yyyymmdd}-{seed}-{variant}-{headline_value}-{pre_headline_export}",
  59.       "a_b_bucket": { "groups": ["A","B","C","D","E"], "assignment": "by_variant" }
  60.     },
  61.  
  62.     "pre_headline_rotation": {
  63.       "selection": "single_per_campaign",
  64.       "variant_map": { "A": "discount", "B": "up to", "C": "flash sale", "D": "discount", "E": "up to" }
  65.     }
  66.   },
  67.  
  68.   "header": {
  69.     "logo_block": {
  70.       "position": "top_left",
  71.       "size": { "width": "120px", "height": "40px" },
  72.       "background": "#000000",
  73.       "text": { "content": "YOURLOGO", "font": "Sans-Serif Bold", "color": "#FFFFFF", "case": "uppercase" },
  74.       "lock": true
  75.     }
  76.   },
  77.  
  78.   "main_section": {
  79.     "layout": "split_vertical",
  80.     "divider": { "style": "line", "color": "#DADADA", "thickness": "1px" },
  81.  
  82.     "left_image": {
  83.       "slot": "[IMAGE_FEMALE]",
  84.       "position": "left_half",
  85.       "lock": true,
  86.       "fallback": {
  87.         "background": { "style": "gradient", "colors": ["#D8ECFF", "#EAF6FF"], "direction": "vertical" },
  88.         "placeholder": { "icon": "👩", "text": "Model Placeholder", "font": "Sans-Serif Italic", "color": "#999999" }
  89.       }
  90.     },
  91.  
  92.     "right_image": {
  93.       "slot": "[IMAGE_MALE]",
  94.       "position": "right_half",
  95.       "lock": true,
  96.       "fallback": {
  97.         "background": { "style": "gradient", "colors": ["#EDEDED", "#F7F7F7"], "direction": "vertical" },
  98.         "placeholder": { "icon": "👨", "text": "Model Placeholder", "font": "Sans-Serif Italic", "color": "#999999" }
  99.       }
  100.     },
  101.  
  102.     "central_cta": {
  103.       "container": { "background": "#FFFFFF", "opacity": "0.8", "alignment": "center", "lock": true },
  104.  
  105.       "pre_headline": {
  106.         "mode": "variant_locked_single",
  107.         "variant_map_ref": "multi_campaign_mode.pre_headline_rotation.variant_map",
  108.         "value": "{resolved_variant_value}",
  109.         "font": "Sans-Serif Thin",
  110.         "size": "8px",
  111.         "color": "#7A7A7A",
  112.         "position": "above_headline",
  113.         "letter_spacing": "1px",
  114.         "ui_casing": "lowercase",
  115.         "editable": true,
  116.         "export_casing_override": null,
  117.         "lock": true
  118.       },
  119.  
  120.       "headline": {
  121.         "headline_value": { "input": true, "default": "70%" },
  122.         "font": "Sans-Serif ExtraBold",
  123.         "size": "64px",
  124.         "color": "#1A1A1A",
  125.         "position": "center",
  126.         "lock": true
  127.       },
  128.  
  129.       "button": {
  130.         "text": "SHOP NOW",
  131.         "font": "Sans-Serif Medium",
  132.         "size": "20px",
  133.         "color": "#1A1A1A",
  134.         "border": { "style": "solid", "color": "#1A1A1A", "thickness": "1px" },
  135.         "padding": "12px 28px",
  136.         "position": "below_headline",
  137.         "lock": true
  138.       }
  139.     }
  140.   },
  141.  
  142.   "footer": {
  143.     "text_block": {
  144.       "position": "bottom_center",
  145.       "content": "www.yourwebsite.com",
  146.       "font": "Sans-Serif Regular",
  147.       "size": "16px",
  148.       "color": "#7A7A7A",
  149.       "lock": true
  150.     }
  151.   },
  152.  
  153.   "generation_rules": {
  154.     "determinism": { "use_seed": true },
  155.     "palette_use": {
  156.       "prefer_high_luminance_for_gradients": true,
  157.       "avoid_logo_color_collision": true,
  158.       "reserve_darkest_for_text": true
  159.     },
  160.     "text_casing": {
  161.       "pre_headline_ui": "lowercase",
  162.       "pre_headline_export": "uppercase_by_default"
  163.     }
  164.   },
  165.  
  166.   "validation": {
  167.     "headline_value": {
  168.       "accept_patterns": ["^\\d{1,2}%$", "^\\d{1,2}$"],
  169.       "coerce": [ { "when": "^\\d{1,2}$", "action": "append", "value": "%" } ],
  170.       "range": { "min_percent": 1, "max_percent": 99 },
  171.       "errors": {
  172.         "pattern": "Headline must be a number 1–99 with optional % (e.g., 30 or 30%).",
  173.         "range": "Headline percentage must be between 1% and 99%."
  174.       }
  175.     },
  176.     "pre_headline": {
  177.       "allowed_values_case_insensitive": ["discount", "up to", "flash sale"],
  178.       "coerce_ui": { "action": "lowercase" },
  179.       "coerce_export": { "action": "uppercase" },
  180.       "errors": {
  181.         "value": "Pre-headline must be one of: discount, up to, flash sale."
  182.       }
  183.     },
  184.     "accessibility": {
  185.       "min_contrast_ratio": 4.5,
  186.       "errors": { "contrast": "Text contrast is below WCAG AA (4.5:1). Adjust colors or opacity." }
  187.     }
  188.   },
  189.  
  190.   "accessibility": {
  191.     "alt_text_pattern": "{variant}: split banner with {left_state} on left and {right_state} on right. Central CTA at 80% opacity reads {pre_headline} above {headline_value} with 'SHOP NOW'. Brand @mydistzi.",
  192.     "left_state_tokens": { "with_image": "model photo", "fallback": "pastel light-blue gradient placeholder" },
  193.     "right_state_tokens": { "with_image": "model photo", "fallback": "pastel light-grey gradient placeholder" },
  194.     "contrast_min": 4.5
  195.   },
  196.  
  197.   "audit": {
  198.     "created_by": "system",
  199.     "created_at": "{iso_now}",
  200.     "locked_fields": [
  201.       "canvas.aspect_ratio",
  202.       "main_section.central_cta.container.opacity",
  203.       "header.logo_block.size",
  204.       "footer.text_block.position",
  205.       "main_section.left_image.fallback.background.colors",
  206.       "main_section.right_image.fallback.background.colors",
  207.       "central_cta.pre_headline.size"
  208.     ]
  209.   },
  210.  
  211.   "negative_prompts": [
  212.     "Do not change 9:16 aspect ratio or canvas margins",
  213.     "Do not alter CTA container opacity (must remain 0.8)",
  214.     "Render exactly one pre_headline per campaign (single option only)",
  215.     "Do not misalign or resize pre_headline (must remain 8px, thin)",
  216.     "Do not override headline_value default unless provided",
  217.     "Do not move, resize, or misalign the central CTA",
  218.     "Do not crop, stretch, or skew model images",
  219.     "Do not change pastel fallback colors (#D8ECFF→#EAF6FF left, #EDEDED→#F7F7F7 right)",
  220.     "Do not place gradients outside defined fallback zones",
  221.     "Do not blend or merge logo with CTA or footer",
  222.     "No noisy textures, watermarks, or unintended patterns",
  223.     "No color choices that reduce text contrast below WCAG 4.5:1"
  224.   ]
  225. }
  226.  
Tags: ai chatGPT
Advertisement
Add Comment
Please, Sign In to add comment