Generate a dynamic website in seconds
site_createCreate a complete, responsive, animated website from a short brief and host it instantly. Pick sections (hero, features, stats, about, pricing, testimonials, faq, gallery, contact, cta), a style and an accent colour. Includes dark mode, mobile menu, scroll reveals, count-up stats, monthly/yearly pricing toggle, FAQ accordion, validated contact form, SEO tags, favicon, robots.txt and sitemap. Returns a site_id and a live URL once published. Edit afterwards with site_files and redeploy with site_deploy. Sites are served in a sandbox, so avoid code that needs cookies or cross-origin storage. Cost: 3 credits per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | system | |
| lang | No | en | |
| name | Yes | Business or site name | |
| style | No | modern | |
| accent | No | #4f46e5 | |
| content | No | ||
| publish | No | ||
| site_id | No | Regenerate into an existing site (overwrites index.html, styles.css, app.js) | |
| tagline | Yes | Headline, e.g. 'Fresh bread, baked daily' | |
| cta_link | No | ||
| cta_text | No | Get started | |
| currency | No | $ | |
| sections | No | ||
| description | No | One or two sentences under the headline | |
| contact_email | No | Contact form falls back to opening this mailbox | |
| form_endpoint | No | Optional form backend (e.g. Formspree) that accepts JSON POST |