Generates professional infographics with various layout types and visual styles.
Analyzes content, recommends layout and style, and generates publication-ready infographics.
Use when user asks to create "infographic", "信息图", "visual summary", or "可视化".
Creative-mode PPT pipeline. One full-page 16:9 PNG per slide.
LLM / VLM calls go through sn-ppt-standard/lib/model_client.py (shared thin
client). Text-to-image (the actual png rendering) goes through
sn-image-base/scripts/sn_agent_runner.py. Falls back to web image search
when T2I generation fails. Expects task_pack.json + info_pack.json already
written by sn-ppt-entry.
Entry point for PPT generation. Asks the user to choose a mode (fast,
standard, or creative), then collects role / audience / scene / page_count
as needed. For standard mode, also asks how images should be sourced (AI
generation, web search, or none) and whether charts should use AI-generated
infographics or ECharts. Parses uploaded pdf/docx/md/txt files, produces
task_pack.json + info_pack.json in a new deck_dir, then dispatches to
sn-ppt-creative or sn-ppt-standard. Fast mode skips optional questions and
gets straight to building. Use when the user asks to make a PPT /
presentation / 演示 / PPT.
Standard and fast PPT pipeline. All LLM / VLM / T2I calls are wrapped in a
single CLI entry (scripts/run_stage.py). The main agent's job is simple:
emit ONE shell command per stage, never write loops, never write prompts.
Standard mode plans thoroughly with a style preview checkpoint, web research,
and image search for polished, delivery-ready presentations. Fast mode builds
a complete draft immediately with autonomous decisions, then provides
structured refinement suggestions so the user can iterate quickly. Supports
AI-generated infographics (U1) for diagrams and flowcharts, web image search
(Serper) for real photos, and ECharts for data charts.