Docs / The AI builder

The AI builder

The builder is where prompts become pages. This page covers prompt craft, the two modes, and what each action costs.

Writing a good prompt

A great prompt names four things: what the page is for, who it speaks to, which sections it must include, and what mood it should strike. Miss any of those and LHAI falls back on generic patterns.

Bad vs. good

Don'tDo
"Make a site" "Landing page for a solo real-estate agent in Tel Aviv. Warm, trustworthy. Hero with headshot, 6 featured listings, a 30-second intro video section, testimonials, contact form with phone + email."
"Restaurant page" "Homepage for a mid-priced Italian trattoria. Editorial feel, cream + burnt-orange palette. Split-screen hero, menu by course, chef bio, press mentions, reservation form."
"Business page" "B2B consulting firm — ERP migrations for mid-market manufacturers. Corporate but human. Metrics bar, three-step process, case studies, discovery-call form."

Hebrew vs. English prompts

LHAI accepts both. Hebrew prompts produce Hebrew copy; English prompts produce English copy. In practice English prompts tend to yield slightly tighter structure — the underlying models have seen more English landing-page HTML — so for mixed-language projects we recommend writing the structural prompt in English and letting the AI translate the copy, or add a closing sentence: "Write all body copy in Hebrew."

Plan mode vs. Build mode

The builder has two distinct modes, selectable with the toggle at the top of the chat panel.

Plan mode

Plan mode is a conversation. You bounce ideas, LHAI asks clarifying questions, and nothing gets rendered to the canvas. Use it when you're still figuring out sections, tone, or structure — it's dramatically cheaper than re-building.

💰 Plan mode: 5 credits per turn.

Build mode

Build mode produces real HTML. The canvas streams the page as it's generated. When the stream ends, the post-build card appears with next-step buttons.

💰 Build: 10–60 credits — 10 base + 7 per section, capped at 60. A full landing page is typically ~50–60.

Streaming generation

You don't wait in silence. The HTML streams token-by-token into the preview frame; you can watch the structure form, and you can cancel from the chat at any time (charge is prorated to what was actually generated).

The post-build prompt

Every successful build ends with a card in the chat:

⚡
Your page is ready! What would you like to do next?
🎨 Generate Images 10 CR / IMAGE 📷 Upload My Images 🔧 Fix Something 👁 Preview Page 🚀 Publish

Editing with chat

The Fix Something button is shorthand for "type what you want changed." Examples that work well:

💰 Edit: 10–25 credits — small tweaks hit the 10-credit floor; rewriting a couple of sections costs ~17–25.

Regenerate vs. edit

If you dislike the overall direction (palette, layout style, tone), regenerate from scratch — it's one Build charge and you get an entirely new draft. If you like the skeleton but need specific changes, edit via chat — it's cheaper and preserves what you already tweaked manually.

Credit costs at a glance

ActionCostNotes
Build a new page10–6010 base + 7 per section, capped at 60
Edit via chat10–25Small edits hit the 10-credit floor
AI image generation10Per image
AI background image (Visual Editor)10Per background
Plan mode turn10Flat floor cost per AI reply
Art Director design pass5Automatic, once per build
Visual Editor manual changesFreeTypography, spacing, etc.
Publish / update / previewFreeShipping never costs credits