API-first website generation

Website Generator AI Agent

Generate professional local business landing pages from structured onboarding data, validate every SiteConfig, queue generation in Neon, and let the Render worker deploy selected static output to Cloudflare Pages.

SiteConfig pipelineReady
Schema validationstrict
RendererAstro static
Publishing targetDirect Upload

Workflow

From onboarding input to deployable local-service site.

  1. 01

    Enter business details

  2. 02

    Generate validated SiteConfig

  3. 03

    Poll job status

  4. 04

    Worker exports and deploys with Direct Upload

Why it works

Deterministic structure with room for AI-assisted copy.

The SaaS app is static and talks to the Cloudflare Worker API. Neon is the source of truth, the Render worker performs long-running generation/deploy work, and GitHub stores SiteConfig version history only.

Fast landing page generationSchema-driven outputReusable Astro templatesLocal-service SEO structureCloudflare Direct Upload publishing

Developer API

Generate websites from any integration.

POST https://website-generator.pages.dev/sites/create
Authorization: Bearer wg_...
Idempotency-Key: demo-flowfix-austin-001
Content-Type: application/json

{
  "businessName": "FlowFix Plumbing",
  "industry": "plumber",
  "city": "Austin",
  "region": "TX",
  "phone": "+1 555 123 4567",
  "email": "hello@example.com",
  "services": ["Emergency plumbing", "Drain cleaning", "Leak detection"],
  "serviceAreas": ["Austin", "Round Rock", "Cedar Park"],
  "tone": "urgent",
  "emergencyAvailable": true
}