Skip to content

AI builder setup

The AI builder lets you describe what you want and Swebsy generates or edits page sections for you. It uses Anthropic’s Claude models and requires your own API key.

  1. Click Settings in the topbar.
  2. Click the AI tab.
  3. Paste your Anthropic API key into the API key field.
  4. Select the Claude model you want to use (default: Claude Sonnet).
  5. Optionally set a monthly budget cap to receive an alert when you’re close to your spend limit.

  6. Click Save.

When an Unsplash access key is configured, the AI replaces placeholder image URLs with real photos fetched by keyword from Unsplash.

  1. Create a free app at unsplash.com/developers.
  2. Copy the Access Key.
  3. Paste it into the Unsplash access key field in Settings → AI.

After saving your API key, open the AI panel from the editor and describe the change you want. The AI builder can help with common authoring tasks:

TaskWhat to ask for
Create a page”Create a landing page for a photography studio.”
Add a section”Add a pricing section below the hero.”
Edit selected content”Make this section clearer and more direct.”
Update site settings”Set the site title to Acme Studio and improve the meta text.”
Insert a matching block”Add a testimonials block that matches this page.”

For best results, select the page section you want to change before asking for an edit. Use short, specific prompts and review the generated content before publishing.

In the Model overrides section you can assign different Claude models to different operations:

OperationWhen it fires
create_pageGenerate an entire new page
add_sectionAdd a new section to an existing page
edit_sectionEdit a selected section
update_settingsChange site settings via chat
insert_blockInsert a specific block

Use this to run a more powerful (and more expensive) model only for full page generation, while keeping a faster model for quick edits.

Swebsy uses your own Anthropic account, so usage is billed by Anthropic. Keep the default model for everyday edits, use a stronger model only for larger page generation, and set a monthly budget cap if you want a visible reminder before spend grows.

  • Your API key is stored only in your browser — it never leaves your device, and it’s not included in project backups.
  • Enable Sanitize PII to have Swebsy redact emails and phone numbers before sending prompts to the AI.
Common issues

“Invalid API key” error — check that you copied the full key from the Anthropic Console without any extra spaces.

AI panel doesn’t appear — make sure you clicked Save after entering the key, then refresh the page.

Responses are slow — Claude Opus is slower than Sonnet or Haiku. Try switching to a faster model in the AI settings.