AI Page Generator - Protected
Generate New Page
Start AI page generation job (async with progress tracking).
This endpoint creates a background job that will:
- Fetch the existing website theme and blocks
- Use AI to generate a complete page based on user instructions
- Maintain consistency with the website's existing theme and design
- Follow all UI/UX rules and constraints
- Save the page to database and upload to S3
Returns a job_id that can be used to check generation status via: GET /api/websites/{website_id}/pages/generate/{job_id}
Example instructions:
- "Create a services page showcasing our auto repair services"
- "Generate a financing page explaining our payment options"
- "Create a team page with profiles of our mechanics"
post/api/websites/{website_id}/pages/generate
Path parameters
website_idinteger required
Headers
x-api-tokenstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.