Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
docs(send-to-guide): enhance turns are free; render is the paid step (#2827)
Somansh Reddye3636db07e7e
diff --git a/docs/guides/claude-design-send-to-hyperframes.md b/docs/guides/claude-design-send-to-hyperframes.mdindex 51d1133e98..c5a2e7a40b 100644--- a/docs/guides/claude-design-send-to-hyperframes.md+++ b/docs/guides/claude-design-send-to-hyperframes.md@@ -30,8 +30,8 @@ The single most important consequence: **there is no file tree on the other side1. **You (Claude Design)** — author a valid HyperFrames composition as a single self-contained HTML.2. **Send to HyperFrames** — one click. The importer fetches your HTML, validates it, and creates a hosted HeyGen project. **Import is free.**-3. **Enhance in HyperFrames** — a motion-design agent adds what your export can't: sound effects, background music, and (later) HeyGen media. This is the paid step.-4. **Render** — the cloud pipeline produces the MP4.+3. **Enhance in HyperFrames** — a motion-design agent adds what your export can't: sound effects, background music, and (later) HeyGen media. **Enhance turns are free.**+4. **Render** — the cloud pipeline produces the MP4. **Render is the paid step:** free accounts get 3 renders per month; paid plans are charged 20 credits per rendered minute.Your job is step 1: a composition that imports cleanly and is a strong on-brand starting point.diff --git a/packages/cli/src/commands/claude-design/sendToGuideContract.test.ts b/packages/cli/src/commands/claude-design/sendToGuideContract.test.tsindex 494e58d32a..04d2e15845 100644--- a/packages/cli/src/commands/claude-design/sendToGuideContract.test.ts+++ b/packages/cli/src/commands/claude-design/sendToGuideContract.test.ts@@ -28,4 +28,20 @@ describe("Send-to guide fidelity contract", () => {expect(GUIDE).not.toContain("lossy by nature");expect(GUIDE).not.toContain("content match the brief exactly");});++ // Pricing is LLM-facing contract too: the guide once labeled Enhance "the paid step", which+ // teaches Claude the wrong billing boundary. The shipped model (heygen-server+ // magic_edit/logic/usage_limits.py) is: import + enhance turns free; only Render is billed —+ // FREE accounts get 3 renders/month, paid plans 20 credits/rendered-minute. Pin the concept,+ // not an exact sentence, and block the retired Enhance-as-paid wording from returning.+ it("identifies Enhance as free and Render as the paid/billed step, with the tiered contract", () => {+ expect(GUIDE).toContain("Enhance turns are free");+ expect(GUIDE).toContain("Render is the paid step");+ expect(GUIDE).toContain("3 renders per month");+ expect(GUIDE).toContain("20 credits per rendered minute");+ });++ it("does not restore the retired 'Enhance ... paid step' wording", () => {+ expect(GUIDE).not.toContain("HeyGen media. This is the paid step");+ });});