Free cookie consent management tool by TermsFeed Generator
All Products & Integrations

jalpi page builder docs

AI Website Generator

Describe a website in plain language and let an AI provider you choose draft the sections for you. Jalpi turns the answer into ordinary, editable elements.

Jalpi CoreAdministrationNeeds an API key
4 min read Β· November 2026

The generator is off until an administrator connects an AI provider. It uses your own account and API key with that provider. Jalpi does not supply or resell AI usage.

Privacy: what is sent where

  • What you type into the generator (your description and the optional fields) is sent from your server to the AI provider you select. Do not enter confidential information.
  • The provider is one of Anthropic (api.anthropic.com), OpenAI (api.openai.com) or an HTTPS endpoint you choose. Their terms and privacy policies apply.
  • Nothing is sent until someone clicks Generate Website.

Connecting a provider#

  1. Go to Jalpi Page Builder → Settings and open the AI Generator tab ("AI Website Generator").
  2. Choose a Provider, set the Model, and enter your API key.
  3. Optionally lower Requests per hour, then save.
FieldDetails
ProviderAnthropic (Claude) (suggested model claude-sonnet-5-5), OpenAI (suggested model gpt-4o-mini) or OpenAI-compatible endpoint (no suggested model).
ModelThe model name, letters, numbers and . _ : / -, up to 80 characters.
API base URLUsed only for an OpenAI-compatible endpoint. It must be an https:// address on a public host.
API keyLeave blank to keep the saved key. Tick "Remove the saved key" to clear it. Keys must be 8 to 300 printable characters.
Requests per hourPer user. Default 10, from 1 to 200. When reached, the user sees "You have reached the hourly AI generation limit. Please try again later."
The AI Generator settings tab with provider, model, API base URL, API key and requests-per-hour fields
Figure: Connecting an AI provider.

How the key is protected#

  • The key is encrypted before it is stored, is never sent to the browser, and only its last four characters are kept for display.
  • If your server cannot encrypt it, the key is not saved: "The API key could not be encrypted on this server, so it was not saved."
  • To keep the key out of the database altogether, define it in wp-config.php. The constant takes priority over a saved key and the settings screen then says the key is set there:
define( 'JALPI_AI_API_KEY', 'your-api-key' );

Generating a website#

  1. Open a page in the editor. At the bottom of the Elements panel, click the AI button (AI Website Generator).
  2. Fill in the form:
    FieldNotes
    Describe the websiteRequired, up to 2000 characters. Use the "Use an example" link for inspiration. Very short descriptions are rejected: "Please describe the website in a little more detail."
    Website typeBusiness, Portfolio, Agency, Restaurant, Blog, Ecommerce, Landing Page, SaaS / App, Nonprofit, Education, Real Estate, Healthcare or Other.
    Brand name, Business description, Preferred colors, LanguageAll optional.
  3. Click Generate Website. This can take a minute.
  4. Review the result: a preview you can switch between Desktop, Tablet and Mobile, and a list of the sections.
  5. Choose Add to the end of this page or Replace this page (undo available), then click Apply to page.

If no provider is connected yet, the window shows an Open AI settings link.

The AI Website Generator with the description and website type form, and a result preview with device sizes and Apply to page
Figure: Generating and applying a draft website.

What you get#

  • Between about six and twelve sections chosen from: hero, features, about, stats, testimonials, pricing, FAQ, call to action, contact, gallery, team, text and footer, in light, dark or brand variants.
  • Real Jalpi elements, not a flat image or an embed, so everything can be edited, restyled and moved like any other content.
  • Images are placeholders. Replace them with your own in the editor.
  • The generated result is checked against an allowlist and cleaned by the same sanitiser as every other save, so the model cannot add scripts or unsupported elements.

Tips

  • Treat the output as a first draft. Read and rewrite the copy, since an AI can invent facts.
  • Choose Add to the end if the page already has content you want to keep.
  • If you replace a page by mistake, use undo, or restore an earlier version from the Revision Timeline.

Who can use it#

By default only administrators (the manage_options capability) can use the generator. The Role Manager adds further conditions: the user also needs access to the editor with permission to edit, and the button only appears for roles that can both add or remove sections and containers and add or remove content elements.

For developers#

ItemDetails
Settings optionjalpi_settings_ai. Removed on uninstall, including the encrypted key.
ConstantJALPI_AI_API_KEY
Filtersjalpi_ai_capability (default manage_options) and jalpi_ai_hourly_limit
REST routesGET /jalpi-page-builder/v1/ai/status and POST /jalpi-page-builder/v1/ai/generate
Source

Files

includes/class-jalpi-ai-generator.php includes/class-jalpi-ai-blueprint.php admin/editor/src/components/AIGeneratorModal.tsx