export_html
Generate per-slide HTML files and an iframe container from a design spec or project ID to embed presentations.
Instructions
Generates per-slide HTML files and an iframe container based on the design spec.
Operates in two modes:
When design_spec_json is provided: Deterministically converts design spec to HTML (no LLM, fast and accurate)
When only project_id is provided: Auto-loads design spec from project directory for HTML conversion (recommended)
Each slide is generated as slides/slide_NN.html, and slides.html is the iframe container.
Args: design_spec_json: Design spec JSON string project_id: Project ID (auto-generated if not specified). When provided alone, auto-loads the design spec
Returns: JSON string containing session_id, slides_html_path, slide_count, project_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| design_spec_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |