sites-ai

Create a site plan from a prompt (AI)

Returns JSON plan (theme, navbar, footer, pages[] with home plus optional extra routes)-same shape required by POST /api/v1/sites/generate/from-plan. Non-streaming; mirrors a plan-only step for programmatic flows; the dashboard New site page (/dashboard/new) uses one-step streaming generation instead.

post/api/v1/sites/generate/plan

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/sites/generate/plan
  • Auth: HTTP bearer

Request body

promptstring required

Natural-language site brief (same as POST /api/v1/sites/generate).

templateIdstring

Optional; same ids as GET /api/v1/templates, biases the plan step only.

Response

Site plan JSON

Changes

No recorded changes to this operation across all 1 revision of this API.