Recipe prompt
Gather the source bundle
Start with a verified domain and a server-side key from the Quickstart. Retrieve Brand for company identity and Styleguide for fonts and design styles. Screenshots and images are optional visual inputs; omit calls your template does not need.success and data; HTTP 200 alone does not mean every format succeeded. You can combine screenshot and image formats into one Scrape request.
For source copy, scrape selected product pages or use a scoped crawl. Store source URLs with claims. Website imagery is an observed asset, not evidence that your application has rights to reuse it.
Approve a small theme
Choose an accent, logo, and font stack rather than copying every observed style. Keep explicit overrides separate from the latest snapshot. Use Brand assets for downloaded exports; Logo Link has different usage restrictions.- Documents
- Websites
Use
approveTheme to validate a chosen logo and color. Keep headings and body text on a neutral surface, with an accent for bounded elements.document-theme.ts
Render an editable preview
Use a fixed content schema and renderer. Keep model-generated text as text; do not inject it as executable markup. These React examples accept approved content and theme values:- Document
- Website
ClientReport.tsx
report.css