Generate the site with 8B
generate_siteGenerates the user's site with 8B from a design and the texts, colors, fonts and photo queries written for the business, and shows a live, animated preview in the conversation. Call get_design_brief first to see the fields. Returns the preview id, the preview link and the link to download the site. To change a site that is already built (a color, some texts, a photo), call it with base_preview_id and only the values that change: everything else is kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fonts | No | Current font family → new Google Fonts family spec | |
| texts | No | New text per field id from get_design_brief | |
| colors | No | New CSS color per palette id | |
| images | No | Image id → {query: English Unsplash search query, alt: photo description in the site language}. Photos of the same kind share one query; each place gets a different photo | |
| language | No | Language of the site, e.g. "ru" or "de", the same as for get_design_brief. Not needed with base_preview_id | |
| design_id | No | Design id from explore_designs. Required for a new site, not needed with base_preview_id | |
| site_name | No | Name of the business or project the site is for. Required for a new site | |
| base_preview_id | No | To change an existing preview: its id. Send only the values that change; the rest is taken from that preview |