Rewrite a web page in a voice
rewrite_pageRewrite a public web page's copy in the profile's voice, block by block, with the page's own context in the prompt (title, description, what its images show, its calls to action). Headings keep their key terms, every fact and number is kept, prices / legal lines / button labels are protected and never changed, each block stays within 20% of its length so the layout holds. Returns the ordered blocks (original + rewritten), a markdown of the whole page, and voice-match + AI-tell scores before and after. Costs 1 generation credit per 1,500 rewritable words (pages over 6,000 words are refused); paid plans only. Takes 10 to 90 seconds depending on length. Show the user a few before/after blocks, not the whole deck. Calls the ScriptGrain API, POST /v1/profiles/{id}/rewrite-page. API reference: https://scriptgrain.com/docs/api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public page to rewrite. | |
| continuity | No | Default true: the rewrite is told what the profile has already said. false ignores the memory. | |
| profile_id | Yes |