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