post_website_build
WHOLE-SITE generator — up to 6 finished, consistent HTML pages in one call. POST a site name, shared branding (colors, logo, footer), and a pages[] array (each with page_name, headline, content sections, hero images); one seed styles every page identically and a shared nav linking all pages is built automatically. Returns ready-to-upload files plus nav.json. The multi-page version of /api/website/page. ($0.05 per call, paid via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logo | No | Auto-generate mark: {query, colors, shape} | |
| seed | No | Style seed — omit for random; returned so you can add pages later | |
| pages | Yes | 1-6 pages: [{page_name, headline, title, caption, tagline, hero_images, content, cta}] | |
| colors | No | 1-2 accents, hex or CSS names | |
| footer | No | Footer text (all pages) | |
| logo_url | No | Nav logo image URL | |
| template | No | horizon, split, or editorial; omit to let the seed choose | |
| site_name | Yes | Brand/site name (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| pages | No | ||
| nav_json | No | ||
| template | No | ||
| page_count | No |