Endpoint
Request
Request Body
Name of the website
Description of what you want to build
Generation mode: “full” (default) or “minimal”
Whether to generate multiple pages (default: true)
Design style: “modern”, “minimal”, “bold”, etc.
Color scheme preferences
Response
Whether the request was successful
Object containing HTML files (key: filename, value: HTML content)
ID of the created website
Preview URL for the generated website
Example Response
Credits
This endpoint uses 1 credit per website generation.Errors
Error message if generation fails
Error code (e.g., “INSUFFICIENT_CREDITS”, “GENERATION_FAILED”)