One Pixelixe template, many Next.js route previews
Create the social card in Pixelixe Studio, name the editable layers, save the template, and call Pixelixe from your route handler, build process, CMS webhook, or publishing job. Store the returned image URL and reference it in your Open Graph metadata.
- Render on publish, during a build job, or from a backend route handler.
- Map title, subtitle, category, cover image, author, and theme color to named layers.
- Store the returned
image_urlnext to the slug or CMS record. - Use the stored URL in
generateMetadata, Open Graph, and Twitter card metadata.