ZOLLY logoAPI

API Reference

Integrate ZOLLY's AI-powered generation into your applications

Authentication

All API requests require authentication using an API key. Include your API key in the request header:

Authorization: Bearer YOUR_API_KEY

Base URL

https://api.zolly.dev/v1

Endpoints

POST/api/generate

Generate a new landing page using AI

Parameters:

promptmodelprojectType
GET/api/designs

Retrieve all saved designs for authenticated user

Parameters:

userId
GET/api/designs/:id

Get a specific design by ID

Parameters:

id
PUT/api/designs/:id

Update an existing design

Parameters:

idhtmltitle
DELETE/api/designs/:id

Delete a design

Parameters:

id
POST/api/refine

Refine existing HTML with AI

Parameters:

htmlpromptmodel

Example Request

curl -X POST https://api.zolly.dev/v1/api/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a modern landing page for a SaaS product",
    "model": "deepseek-chat",
    "projectType": "landing_page"
  }'

Rate Limits

100
Requests/hour (Free)
1,000
Requests/hour (Pro)
10,000
Requests/hour (Enterprise)