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.
Connect your API key
Section titled “Connect your API key”- Click Settings in the topbar.
- Click the AI tab.
- Paste your Anthropic API key into the API key field.
- Select the Claude model you want to use (default: Claude Sonnet).
Optionally set a monthly budget cap to receive an alert when you’re close to your spend limit.
- Click Save.
Add an Unsplash key (optional)
Section titled “Add an Unsplash key (optional)”When an Unsplash access key is configured, the AI replaces placeholder image URLs with real photos fetched by keyword from Unsplash.
- Create a free app at unsplash.com/developers.
- Copy the Access Key.
- Paste it into the Unsplash access key field in Settings → AI.
Use the AI builder
Section titled “Use the AI builder”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:
| Task | What 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.
Per-operation model overrides
Section titled “Per-operation model overrides”In the Model overrides section you can assign different Claude models to different operations:
| Operation | When it fires |
|---|---|
create_page | Generate an entire new page |
add_section | Add a new section to an existing page |
edit_section | Edit a selected section |
update_settings | Change site settings via chat |
insert_block | Insert 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.
Budget expectations
Section titled “Budget expectations”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.
Privacy
Section titled “Privacy”- 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.
“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.