rarre

Template editable fashion campaigns

Sep 4th, 2025
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.01 KB | Source Code | 0 0
  1. {
  2.   "schema_version": "3.0",
  3.   "reference": {
  4.     "image": "AUTO_DETECT_FROM_REFERENCE",
  5.     "main_model": "AUTO_EXTRACTED_FROM_REFERENCE",
  6.     "background": "plain_white_smooth_backdrop"
  7.   },
  8.   "theme": {
  9.     "palette": {
  10.       "primary": "#000000",
  11.       "secondary": "#4D4D4D",
  12.       "accent": "#E6E6E6",
  13.       "background": "#FFFFFF"
  14.     },
  15.     "typography": {
  16.       "headline": { "family": "Sans-Serif ExtraBold", "size": 60, "color": "#1A1A1A" },
  17.       "subheadline": { "family": "Sans-Serif Regular", "size": 28, "color": "#4D4D4D" },
  18.       "cta": { "family": "Sans-Serif Bold", "size": 26, "color": "#FFFFFF" },
  19.       "footer": { "family": "Sans-Serif Regular", "size": 22, "color": "#4D4D4D" }
  20.     }
  21.   },
  22.   "layout": {
  23.     "canvas": { "size": "1080x1920", "orientation": "portrait", "dpi": 300 },
  24.     "grid": {
  25.       "type": "fixed",
  26.       "columns": 12,
  27.       "gutter": 16,
  28.       "margin": 40,
  29.       "alignment_lock": true,
  30.       "snap_tolerance_px": 2
  31.     },
  32.     "zones": {
  33.       "photo_slot": {
  34.         "z_index": 1,
  35.         "position_index": 0,
  36.         "x": 60, "y": 140, "width": 960, "height": 860,
  37.         "image_mode": "contain",
  38.         "default": "fashion_model_pose",
  39.         "lock_position": true,
  40.         "constraints": { "min_resolution_px": [1920,1080], "aspect_ratio": "4:5" }
  41.       },
  42.       "header_logo": {
  43.         "z_index": 10,
  44.         "position_index": 1,
  45.         "x": 40, "y": 40, "width": 160, "height": 60,
  46.         "content": "YOURLOGO",
  47.         "editable": true,
  48.         "lock_position": true,
  49.         "constraints": { "min_width": 120, "max_width": 200 }
  50.       },
  51.       "headline": {
  52.         "z_index": 20,
  53.         "position_index": 2,
  54.         "x": 60, "y": 1080, "width": 600, "height": 100,
  55.         "text": "New Collection",
  56.         "editable": true,
  57.         "lock_position": true,
  58.         "constraints": { "min_contrast_bg": 7.0, "max_chars": 30 }
  59.       },
  60.       "subheadline": {
  61.         "z_index": 21,
  62.         "position_index": 3,
  63.         "x": 60, "y": 1180, "width": 780, "height": 80,
  64.         "text": "smart casual style & other combinations refreshing and clean",
  65.         "editable": true,
  66.         "lock_position": true,
  67.         "constraints": { "min_contrast_bg": 4.5, "max_chars": 120 }
  68.       },
  69.       "cta_button": {
  70.         "z_index": 30,
  71.         "position_index": 4,
  72.         "x": 60, "y": 1280, "width": 240, "height": 80,
  73.         "text": "SHOP NOW",
  74.         "editable": true,
  75.         "lock_position": true,
  76.         "constraints": { "min_contrast_bg": 7.0, "tap_target_min": [240,80] }
  77.       },
  78.       "divider_right": {
  79.         "z_index": 5,
  80.         "position_index": 5,
  81.         "type": "decoration_divider",
  82.         "position": "lower_right",
  83.         "anchor": "bottom",
  84.         "x": "95%", "y": "50%",
  85.         "width": "0.2%", "height": "30%",
  86.         "color": "#E6E6E6",
  87.         "opacity": 1.0,
  88.         "lock_position": true,
  89.         "constraints": { "proportional_height_pct": 30, "width_pct": 0.2, "x_pct": 95 }
  90.       },
  91.       "footer_text": {
  92.         "z_index": 15,
  93.         "position_index": 6,
  94.         "x": 60, "y": 1840, "width": 960, "height": 60,
  95.         "text": "www.yourlogo.com",
  96.         "editable": true,
  97.         "lock_position": true,
  98.         "constraints": { "min_contrast_bg": 4.5, "max_chars": 60 }
  99.       }
  100.     }
  101.   },
  102.   "instructions": "Follow strict z-index and position-index: photo(0) → logo(1) → headline(2) → subheadline(3) → CTA(4) → divider(5) → footer(6). Keep divider strictly right-only and proportional (30% height, 0.2% width, X=95%, bottom-anchored).",
  103.   "negative_prompt": "blurry, pixelated, low-res, cartoon, anime, distorted face, bad anatomy, overexposed, underexposed, watermark, text cut-off, overflow, unreadable text, low contrast, misaligned elements, off-grid, z-index overlap errors, wrong stacking order, drifting positions, inconsistent spacing, incorrect fonts, jagged edges, color banding, cluttered background, button smaller than tap target, broken link, divider missing/too short/misaligned",
  104.   "validation": {
  105.     "rules": [
  106.       { "id": "z_index_order", "type": "stacking_check", "error": "Z-index order broken: photo must remain behind text; divider must not overlap CTA or text." },
  107.       { "id": "position_index_seq", "type": "position_sequence", "expected": [0,1,2,3,4,5,6], "error": "Position index order not sequential or contains duplicates." },
  108.       { "id": "divider_percentage_height", "type": "proportional", "target": "divider_right", "expected": { "height_pct": 30, "width_pct": 0.2, "x_pct": 95 }, "tolerance_pct": 1, "error": "Divider not scaled/placed correctly." },
  109.       { "id": "grid_alignment", "type": "snap_to_grid", "targets": ["header_logo","headline","subheadline","cta_button","footer_text","divider_right"], "tolerance_px": 2, "error": "Element is off-grid or moved from locked position." },
  110.       { "id": "contrast_text_AA", "type": "wcag_contrast", "level": "AA", "min_ratio": 4.5, "targets": ["subheadline","footer_text"], "error": "Text contrast too low." },
  111.       { "id": "contrast_headline_cta_AAA_pref", "type": "wcag_contrast", "level": "AAA_pref", "min_ratio": 7.0, "targets": ["headline","cta_button"], "error": "Headline/CTA contrast too low." },
  112.       { "id": "no_overflow", "type": "no_overflow", "targets": ["headline","subheadline","footer_text","cta_button"], "error": "Text overflows or is clipped." }
  113.     ],
  114.     "auto_fix_strategies": [
  115.       { "on_fail": "position_index_seq", "action": "reorder_position_index", "params": { "expected": [0,1,2,3,4,5,6] } },
  116.       { "on_fail": "z_index_order", "action": "reassign_z_index", "params": { "map": { "photo_slot": 1, "header_logo": 10, "headline": 20, "subheadline": 21, "cta_button": 30, "divider_right": 5, "footer_text": 15 } } },
  117.       { "on_fail": "grid_alignment", "action": "snap_to_nearest_grid" },
  118.       { "on_fail": "contrast_text_AA", "action": "adjust_text_color_or_add_tint_overlay" },
  119.       { "on_fail": "contrast_headline_cta_AAA_pref", "action": "adjust_text_color_or_button_fill" },
  120.       { "on_fail": "no_overflow", "action": "reduce_font_size_or_soft_wrap" },
  121.       { "on_fail": "divider_percentage_height", "action": "reposition_and_rescale_divider", "params": { "x_pct": 95, "width_pct": 0.2, "height_pct": 30, "anchor": "bottom" } }
  122.     ],
  123.     "export_checks": [
  124.       { "id": "file_formats", "allowed": ["PNG","JPG","PDF"], "min_dpi": 300 },
  125.       { "id": "safe_area", "safe_area_margin_px": 40, "bleed_px": 0 }
  126.     ]
  127.   },
  128.   "accessibility": {
  129.     "alt_text": "Minimalist fashion poster with model photo, logo top-left, headline 'New Collection', subheadline, CTA button, thin right-side divider (30% height), and footer link bottom-left.",
  130.     "seo_tags": ["fashion","new collection","smart casual","minimalist poster","branding template"]
  131.   },
  132.   "social_media": {
  133.     "platforms": ["Instagram","Facebook","TikTok"],
  134.     "auto_caption": "✨ New Collection — smart casual meets clean design. Shop now: www.yourlogo.com",
  135.     "hashtags": ["#NewCollection","#SmartCasual","#MinimalistStyle","#YourBrand"]
  136.   }
  137. }
  138.  
Tags: ai chatGPT
Advertisement
Add Comment
Please, Sign In to add comment