Interactive Demo — No Signup Required

Rich Text Formatting Demo

Generate pharmaceutical product cards with superscript dosage notations, trademark symbols, and inline rich text styling — see the difference between plain and formatted text.

20 of 20 renders remaining
10/50
Preview: 25 mg/m²

Superscript, bold, and inline styling enabled

{
  "layers": {
    "drug_info": {
      "textRuns": [
        {
          "text": "LORATADINE",
          "bold": true,
          "fontSize": 36
        },
        {
          "text": "®",
          "superscript": true,
          "fontSize": 36
        }
      ]
    },
    "dosage_info": {
      "textRuns": [
        {
          "text": "Dosage: ",
          "color": "#6b7280",
          "fontSize": 20
        },
        {
          "text": "25 mg/m",
          "bold": true,
          "fontSize": 20
        },
        {
          "text": "2",
          "superscript": true,
          "fontSize": 20
        },
        {
          "text": " body surface area",
          "fontSize": 20
        }
      ]
    }
  }
}
Configure inputs and hit render to see output

Frequently Asked Questions

Want unlimited renders?

Start your free trial and unlock unlimited API renders, custom templates, and more.