{
  "format": "piksio-image",
  "version": 2,
  "name": "Coupon / discount",
  "category": "coupon",
  "tags": [
    "discount",
    "promo",
    "code"
  ],
  "width": 1200,
  "height": 600,
  "description": "A personal discount code with its expiry date.",
  "fields": [
    {
      "key": "first_name",
      "label": "First name",
      "kind": "text",
      "fallback": "there",
      "sample": "Maya"
    },
    {
      "key": "discount_code",
      "label": "Discount code",
      "kind": "text",
      "fallback": "WELCOME10",
      "sample": "MAYA15"
    },
    {
      "key": "expiry_date",
      "label": "Expiry date",
      "kind": "text",
      "fallback": "",
      "sample": "Oct 31"
    }
  ],
  "scene": {
    "version": "5.3.0",
    "objects": [
      {
        "type": "textbox",
        "version": "5.3.0",
        "originX": "left",
        "originY": "top",
        "left": 36,
        "top": 84,
        "width": 1128,
        "height": 88,
        "scaleX": 1,
        "scaleY": 1,
        "angle": 0,
        "opacity": 1,
        "text": "Hey {{first_name}},",
        "fontSize": 71,
        "lineHeight": 1.1,
        "fontWeight": 600,
        "fontFamily": "Inter",
        "textAlign": "center",
        "fill": "#1A1610",
        "styles": {},
        "layerName": "AI text — Hey {{first_name}},"
      },
      {
        "type": "textbox",
        "version": "5.3.0",
        "originX": "left",
        "originY": "top",
        "left": 36,
        "top": 204,
        "width": 1128,
        "height": 62,
        "scaleX": 1,
        "scaleY": 1,
        "angle": 0,
        "opacity": 1,
        "text": "Your exclusive code:",
        "fontSize": 50,
        "lineHeight": 1.1,
        "fontWeight": 500,
        "fontFamily": "Inter",
        "textAlign": "center",
        "fill": "#1A1610",
        "styles": {},
        "layerName": "AI text — Your exclusive code:"
      },
      {
        "type": "rect",
        "version": "5.3.0",
        "originX": "left",
        "originY": "top",
        "left": 307,
        "top": 260,
        "width": 585,
        "height": 184,
        "scaleX": 1,
        "scaleY": 1,
        "angle": 0,
        "opacity": 1,
        "fill": "#FF2E9A",
        "rx": 92,
        "ry": 92,
        "shapeKind": "rounded",
        "layerName": "Badge behind the code"
      },
      {
        "type": "textbox",
        "version": "5.3.0",
        "originX": "left",
        "originY": "top",
        "left": 363,
        "top": 289,
        "width": 473,
        "height": 127,
        "scaleX": 1,
        "scaleY": 1,
        "angle": 0,
        "opacity": 1,
        "text": "{{discount_code}}",
        "fontSize": 102,
        "lineHeight": 1.1,
        "fontWeight": 700,
        "fontFamily": "Space Mono",
        "textAlign": "center",
        "fill": "#1A1610",
        "styles": {},
        "layerName": "AI text — {{discount_code}}"
      },
      {
        "type": "textbox",
        "version": "5.3.0",
        "originX": "left",
        "originY": "top",
        "left": 36,
        "top": 490,
        "width": 1128,
        "height": 55,
        "scaleX": 1,
        "scaleY": 1,
        "angle": 0,
        "opacity": 1,
        "text": "Valid until {{expiry_date}}",
        "fontSize": 44,
        "lineHeight": 1.1,
        "fontWeight": 400,
        "fontFamily": "Inter",
        "textAlign": "center",
        "fill": "#1A1610",
        "styles": {},
        "layerName": "AI text — Valid until {{expiry_date}}"
      }
    ],
    "background": "#ffffff",
    "backgroundMode": "image",
    "backgroundImageUrl": "https://pub-4d556478232842378e5c512894985e29.r2.dev/v2-canvas/draft/e878e6c2-91f6-4291-beae-3efc4f4c9012.png",
    "backgrounds": [
      {
        "name": "default",
        "url": "https://pub-4d556478232842378e5c512894985e29.r2.dev/v2-canvas/draft/e878e6c2-91f6-4291-beae-3efc4f4c9012.png",
        "prompt": "A vibrant promotional banner background with energetic gradient flowing from coral pink on the left to sunny yellow on the right, soft bokeh light particles floating across the scene, clean modern aesthetic with plenty of negative space in the center and upper portions for text overlays, bright and cheerful atmosphere perfect for a special offer announcement, smooth gradient transitions creating depth, professional marketing design with premium feel, absolutely no text or graphics printed anywhere, completely blank and empty surface ready for personalized content. Strictly text-free image. No text, no letters, no words, no numbers, no barcodes, no logos, no charts, no watermarks anywhere. Leave clean blank flat surfaces for overlay layers."
      }
    ],
    "fieldFallbacks": {
      "first_name": "there",
      "discount_code": "WELCOME10"
    },
    "renderSettings": {
      "format": "png"
    }
  }
}
