Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "schema_version": "3.0",
- "reference": {
- "image": "AUTO_DETECT_FROM_REFERENCE",
- "main_model": "AUTO_EXTRACTED_FROM_REFERENCE",
- "background": "plain_white_smooth_backdrop"
- },
- "theme": {
- "palette": {
- "primary": "#000000",
- "secondary": "#4D4D4D",
- "accent": "#E6E6E6",
- "background": "#FFFFFF"
- },
- "typography": {
- "headline": { "family": "Sans-Serif ExtraBold", "size": 60, "color": "#1A1A1A" },
- "subheadline": { "family": "Sans-Serif Regular", "size": 28, "color": "#4D4D4D" },
- "cta": { "family": "Sans-Serif Bold", "size": 26, "color": "#FFFFFF" },
- "footer": { "family": "Sans-Serif Regular", "size": 22, "color": "#4D4D4D" }
- }
- },
- "layout": {
- "canvas": { "size": "1080x1920", "orientation": "portrait", "dpi": 300 },
- "grid": {
- "type": "fixed",
- "columns": 12,
- "gutter": 16,
- "margin": 40,
- "alignment_lock": true,
- "snap_tolerance_px": 2
- },
- "zones": {
- "photo_slot": {
- "z_index": 1,
- "position_index": 0,
- "x": 60, "y": 140, "width": 960, "height": 860,
- "image_mode": "contain",
- "default": "fashion_model_pose",
- "lock_position": true,
- "constraints": { "min_resolution_px": [1920,1080], "aspect_ratio": "4:5" }
- },
- "header_logo": {
- "z_index": 10,
- "position_index": 1,
- "x": 40, "y": 40, "width": 160, "height": 60,
- "content": "YOURLOGO",
- "editable": true,
- "lock_position": true,
- "constraints": { "min_width": 120, "max_width": 200 }
- },
- "headline": {
- "z_index": 20,
- "position_index": 2,
- "x": 60, "y": 1080, "width": 600, "height": 100,
- "text": "New Collection",
- "editable": true,
- "lock_position": true,
- "constraints": { "min_contrast_bg": 7.0, "max_chars": 30 }
- },
- "subheadline": {
- "z_index": 21,
- "position_index": 3,
- "x": 60, "y": 1180, "width": 780, "height": 80,
- "text": "smart casual style & other combinations refreshing and clean",
- "editable": true,
- "lock_position": true,
- "constraints": { "min_contrast_bg": 4.5, "max_chars": 120 }
- },
- "cta_button": {
- "z_index": 30,
- "position_index": 4,
- "x": 60, "y": 1280, "width": 240, "height": 80,
- "text": "SHOP NOW",
- "editable": true,
- "lock_position": true,
- "constraints": { "min_contrast_bg": 7.0, "tap_target_min": [240,80] }
- },
- "divider_right": {
- "z_index": 5,
- "position_index": 5,
- "type": "decoration_divider",
- "position": "lower_right",
- "anchor": "bottom",
- "x": "95%", "y": "50%",
- "width": "0.2%", "height": "30%",
- "color": "#E6E6E6",
- "opacity": 1.0,
- "lock_position": true,
- "constraints": { "proportional_height_pct": 30, "width_pct": 0.2, "x_pct": 95 }
- },
- "footer_text": {
- "z_index": 15,
- "position_index": 6,
- "x": 60, "y": 1840, "width": 960, "height": 60,
- "text": "www.yourlogo.com",
- "editable": true,
- "lock_position": true,
- "constraints": { "min_contrast_bg": 4.5, "max_chars": 60 }
- }
- }
- },
- "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).",
- "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",
- "validation": {
- "rules": [
- { "id": "z_index_order", "type": "stacking_check", "error": "Z-index order broken: photo must remain behind text; divider must not overlap CTA or text." },
- { "id": "position_index_seq", "type": "position_sequence", "expected": [0,1,2,3,4,5,6], "error": "Position index order not sequential or contains duplicates." },
- { "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." },
- { "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." },
- { "id": "contrast_text_AA", "type": "wcag_contrast", "level": "AA", "min_ratio": 4.5, "targets": ["subheadline","footer_text"], "error": "Text contrast too low." },
- { "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." },
- { "id": "no_overflow", "type": "no_overflow", "targets": ["headline","subheadline","footer_text","cta_button"], "error": "Text overflows or is clipped." }
- ],
- "auto_fix_strategies": [
- { "on_fail": "position_index_seq", "action": "reorder_position_index", "params": { "expected": [0,1,2,3,4,5,6] } },
- { "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 } } },
- { "on_fail": "grid_alignment", "action": "snap_to_nearest_grid" },
- { "on_fail": "contrast_text_AA", "action": "adjust_text_color_or_add_tint_overlay" },
- { "on_fail": "contrast_headline_cta_AAA_pref", "action": "adjust_text_color_or_button_fill" },
- { "on_fail": "no_overflow", "action": "reduce_font_size_or_soft_wrap" },
- { "on_fail": "divider_percentage_height", "action": "reposition_and_rescale_divider", "params": { "x_pct": 95, "width_pct": 0.2, "height_pct": 30, "anchor": "bottom" } }
- ],
- "export_checks": [
- { "id": "file_formats", "allowed": ["PNG","JPG","PDF"], "min_dpi": 300 },
- { "id": "safe_area", "safe_area_margin_px": 40, "bleed_px": 0 }
- ]
- },
- "accessibility": {
- "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.",
- "seo_tags": ["fashion","new collection","smart casual","minimalist poster","branding template"]
- },
- "social_media": {
- "platforms": ["Instagram","Facebook","TikTok"],
- "auto_caption": "✨ New Collection — smart casual meets clean design. Shop now: www.yourlogo.com",
- "hashtags": ["#NewCollection","#SmartCasual","#MinimalistStyle","#YourBrand"]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment