Introduction: Treating "AI for PPT" as one category is step one of a failed selection

Nearly every AI presentation tool's landing page promises the same thing: type one sentence, get a deck you can present. That claim is true at the product level and badly misleading at the engineering level, because "get a deck" hides four completely different product shapes, two completely different output formats, and three mutually incompatible cost structures.

This is the coordinate-system article for the PPT series. It does not rank, does not score, and does not produce a "best N tools of the year" list that goes stale with every release. Instead it establishes a classification framework you can keep using: first sort the tools by workflow into four families, then apply three criteria you can verify yourself, and finally answer the more practical question of which situations should never let AI near your slides at all.

One prompt, four completely different artifacts

Suppose you type the same sentence: "Build me a 2026 Q3 business review deck for the leadership team, covering revenue, user growth, cost structure, and next-quarter forecast." The four families return four different things:

  • Template-fill gives you an 18-page .pptx with consistent colors and comfortable type weights, where every page is correct and says nothing; changing one sentence takes three view switches.
  • Outline-driven gives you a 12-page deck where each page carries a distinct conclusion. The structure works, but the images are placeholder blocks and the charts are rendered pictures.
  • Design tool plus AI gives you the most visually impressive artifact — except it exports as PDF or per-page PNG, not an editable pptx.
  • Code-generated gives you a 200-line Python script that produces 12 pages with real chart objects bound to a CSV, at the price of having to learn how to talk to a script.

All four can be called "a PPT made by AI", but they mean completely different things for your workflow. The first two save layout time, the third saves visual time, the fourth saves repetitive labor but adds maintenance cost. Confusing them during selection means using a "saves time" narrative to hide what is really a "changes your workflow" decision.

What this article does and does not do

Every conclusion here hangs on three verifiable criteria rather than a subjective score:

  1. Output editability — does it deliver a natively editable pptx, or only exported images and PDFs?
  2. The actual floor of template quality — does the same template break under different content (long titles, dense data, empty pages)?
  3. Data and chart capability — are charts native objects bound to a real data source, or decorative shapes invented by the model?

What this article will not do: rank the tools, quote specific subscription prices (pricing and packaging change constantly — check each vendor's official pricing page), or promise that a given feature exists in a given version. Wherever a concrete feature is mentioned, this article gives you a method to verify it yourself in about five minutes.

Coordinate system one: sorting four workflows along "design control × automation degree"

Any tool taxonomy that does not land on two measurable axes is just label decoration. The two axes here are design control (how much constraint you can impose on the final look and structure) and automation degree (how many intermediate decisions the system makes on your behalf). The two are independent, because it is entirely possible to be both fully automated and highly controllable — a code generator with hardcoded coordinates is the extreme case — and equally possible to be semi-automatic and nearly uncontrollable, which is what a template filler looks like.

How to read the two axes

Design control has three easily recognized levels: can you specify a master slide, can you pick the layout per slide, can you control the exact coordinates and font size of a single element. If the answer is "I can pick one of a few preset themes," control sits low. If the answer is "I can write code specifying the x/y/width/height and font size of every shape," control sits at the top.

Automation degree is equally measurable: how many layout decisions does it make for you (which card, image left or right, three bullets or five), and are those decisions reversible. Reversibility matters — irreversible automation is a black box, reversible automation is a draft generator, and the two differ by an order of magnitude in rework cost.

Family one · Template-fill

This is the best known family: give it a topic or a paragraph and it stuffs the content into a set of carefully designed layouts. Representative examples include Gamma's one-click generation, Beautiful.ai's automatic layout, and the one-draft buttons in most domestic AI presentation products. The product logic is perfectly clear — trade the consistency of aesthetics for a complete outsourcing of decisions. You do not need to understand layout, and in exchange you give up almost every form of intervention.

The signature characteristics: fast output (30 seconds to 3 minutes for 15–20 pages), a stable visual floor (it will not produce an ugly page), and a structural ceiling locked by the template. The right input is "I have a rough topic and want a complete usable draft." The wrong input is "I have a deck that must follow my structure."

Family two · Outline-driven

This family changes "generate the whole thing" into "generate the skeleton": you provide or approve an outline, and the tool assigns a layout to each section, places chart placeholders, and drafts the headline and bullet copy. Plus AI's outline-to-deck feature, Gamma's card flow, and Tome's document-to-presentation path all belong here.

The key difference is the granularity of the decision: template-fill outsources decisions at the whole-document level, while outline-driven outsources them page by page. You cannot easily intervene in the former, but in the latter you can reject and re-layout individual pages. That is why outline-driven has a visibly lower rework cost — you redo only the pages that bother you, not the whole deck.

Family three · Design tool plus AI

The shape here is: the AI does not generate "a document". It is embedded in a mature design tool and helps with images, icons, color schemes, and layout suggestions, while you finish the layout on the canvas. Canva Magic Design, Figma's AI capabilities, and the text-to-image entry points of asset libraries are all in this family.

Its value is visual controllability: you are always on the canvas, you place the elements, and the AI only automates the tedious part of sourcing assets. The cost is that the output shape is determined by the design tool's export capability — which is exactly where this article's most important dividing line appears. The native form of a design tool is a canvas, not a slide deck.

Family four · Code-generated

The fourth family treats slides as a code artifact: python-pptx (Python), PptxGenJS (Node.js), gooxml (Go), Apache POI (Java), with a program describing every page, and an LLM generating that program or generating a structured description that feeds the renderer.

It is the only family whose control can reach "fully controllable": every shape coordinate, every font size, every chart series is deterministic, reproducible, and version-controllable. Its automation degree is not high on the horizontal axis (you must describe intent, sometimes in code), but what you buy is what the other three cannot offer: batchability, reproducibility, testability.

The full quadrant table

Workflow familyAutomation degreeDesign controlGranularity of outsourced decisionsTypical representativesOutput formatCore cost
Template-fillVery highLowWhole documentGamma one-click, Beautiful.ai auto-layoutEditable pptx (layout-constrained)Opinions diluted, structure not customisable
Outline-drivenHighMediumPer pagePlus AI, Gamma card flow, TomeEditable pptx / webCharts are mostly images, limited layout slots
Design tool plus AIMediumHighAssets and colorCanva Magic Design, Figma AIPDF / PNG / pptx via pluginOutput often not editable, manual porting required
Code-generatedMedium-low (you describe)HighestNone (you define everything)python-pptx, PptxGenJS + LLMNative pptx, real chart objectsNeeds engineering skill, you maintain the template

The value of this table is not that it tells you which family is best. It tells you whether the things you are comparing are even the same kind of thing. Many selection debates are unresolvable because one side argues about generation speed while the other argues about editability — and in a four-quadrant frame those two dimensions do not even live on the same axis.

Criterion one: is the output an editable pptx or only an exported image?

This is the most actionable section of the article. If a tool's marketing mentions "AI generation" and "one-click export" in the same breath, you need to ask one question immediately: when I open the exported file in PowerPoint, can I still edit it? And how far?

Three output shapes

In practice there are only three output shapes, and they belong to three entirely different worlds:

  1. Native pptx: inside the pptx are real shapes, text boxes, tables, and chart objects. Click one in PowerPoint and you can select it, retype it, recolor it, or edit its data. Microsoft 365 Copilot working inside PowerPoint is in this class, and so are python-pptx and PptxGenJS output.
  2. Degraded pptx: the extension is .pptx but every page is a rendered bitmap pasted in. Visually identical, structurally inert — you cannot select a headline, let alone change the data and have the chart redraw.
  3. Web or document shape: there is no pptx at all. The artifact is an online document (Gamma cards, the Tome canvas), and "export to pptx" is a lossy conversion.

Why this decides whether the tool can enter your workflow

Because the final fate of a deck inside an organization is almost always "it gets edited further." You change a number the night before the review, you add a competitor slide, you adjust the wording on one page to match what the boss prefers. Those actions take minutes in a native pptx and amount to redoing the work in a degraded pptx or web export.

The subtler cost is breaking the downstream toolchain. If your deck feeds an automated process — a weekly operating dashboard regenerated from a database, or a batch PDF archive — a native pptx can be read and written by scripts, while a web-native artifact can only be produced by repeating the manual work. The most common behavior when you pick the wrong output shape is: generate a "first draft" with the AI tool, then rebuild it by hand. The tool appeared to save time but actually swapped "make a deck" for "excise content out of pictures."

A three-step probe: unzip the pptx and look

You do not need to believe anyone's claim. A pptx is a ZIP archive, and everything that matters is XML under the ppt/ directory. Look at three things and you know the real shape of the output.

# Probe: is this pptx native, degraded, or a web export?
import zipfile, re

def probe(path):
    with zipfile.ZipFile(path) as z:
        names = z.namelist()
    slides = [n for n in names if re.match(r'ppt/slides/slide\d+\.xml$', n)]
    charts = [n for n in names if n.startswith('ppt/charts/chart') and n.endswith('.xml')]
    embeds = [n for n in names if n.startswith('ppt/embeddings/')]
    media  = [n for n in names if n.startswith('ppt/media/')]
    with zipfile.ZipFile(path) as z:
        text_runs = 0
        for s in slides:
            text_runs += len(re.findall(r'<a:t>', z.read(s).decode('utf-8', 'ignore')))
    print(f'slides          : {len(slides)}')
    print(f'native charts   : {len(charts)}   (0 means no editable chart at all)')
    print(f'embedded data   : {len(embeds)}   (0 means charts have no data source)')
    print(f'media files     : {len(media)}   (many means image-based layouts)')
    print(f'text runs       : {text_runs}   (very few means the page is a picture)')
    if len(charts) == 0 and text_runs < len(slides) * 8:
        print('verdict         : DEGRADED pptx - content is bitmaps, do not put it in a workflow')
    elif len(charts) == 0:
        print('verdict         : native pptx, but charts are images or missing; redo chart pages')
    else:
        print('verdict         : native pptx with editable chart objects')

The companion quick check needs only two commands. On Windows with PowerShell:

# List the archive contents and look for ppt/charts/ and ppt/media/
Add-Type -AssemblyName System.IO.Compression.FileSystem
$zip = [System.IO.Compression.ZipFile]::OpenRead('deck.pptx')
$zip.Entries | Where-Object { $_.FullName -match '^(ppt/charts/|ppt/media/|ppt/slides/)' } |
  Select-Object -First 40 FullName, Length
$zip.Dispose()
# or on Linux / macOS / Git Bash:
# unzip -l deck.pptx | grep -E 'ppt/(charts|media|slides)/'

The criterion is blunt: the presence of ppt/charts/chart1.xml means native chart objects exist; a very small number of <a:t> text runs per slide combined with many files under ppt/media/ means that page is a pasted image.

"Editable" actually has four levels

Tools advertise "fully editable" with wildly different meanings, so you have to split the claim into levels:

LevelWhat you can doHow it is implementedGood enough?
L1 pixelReplace or redo the whole pageOne bitmap per pageNo
L2 textChange wording, not position or styleText is burned into the imageMarginally, for read-only distribution
L3 shapeSelect shapes, edit text and colorA real shape treeYes, for most internal cases
L4 dataEdit the chart's data source and have it redrawNative chart part plus embedded xlsxRequired for data-heavy work

What most tools call "fully editable" is really L3. Only L4 means "plug in real data and the chart updates itself." That distinction is decisive for operating dashboards, weekly reports, and any recurring generation flow.

Criterion two: the actual floor of template quality

A presentation template is not infinite. A template is fundamentally a set of layout slots, and every slot carries an explicit capacity constraint. An AI generator does not know those constraints — it only knows "there should be text here" and "there should be an image here" — so it overflows.

Layout slots and their capacity ceilings

The table below gives the empirical capacity of common layouts. These are not standards, they are working values from layout engineering, and they exist to explain why templates break under certain content. On a 16:9 canvas (13.333 inches by 7.5 inches), a line of 20pt Chinese text holds roughly 24 to 28 characters, and a body block beyond 8 lines starts colliding with the footnote.

Layout typeTitle capacityBody capacityImage / chart slotSymptom when overfilled
CoverMain title ≤ 20 chars (≤ 2 lines)Subtitle ≤ 30 charsNoneLong title collides with the bottom bar
Section divider≤ 16 chars≤ 20 charsFull-bleed backgroundTitle lost in background highlights
Title plus bullets≤ 24 chars3–5 bullets, ≤ 18 chars each, ≤ 90 chars totalOptional right imageBullets truncated, or auto-shrunk below 12pt
Three columns≤ 20 chars≤ 60 chars per columnThree equal imagesUneven column lengths, ragged bottom
Six-cell grid≤ 20 chars≤ 24 chars per cell6 imagesMore than 3 lines per cell, graphics distorted
Data page≤ 20 charsConclusion ≤ 40 chars (write the conclusion, never "data below")1 chart + 1 conclusion areaChart squeezed to the corner, aspect ratio wrong
Timeline≤ 20 chars4–6 nodes, ≤ 16 chars eachFixed node countA 7th node folds onto a second row

Will the same template break under different content

Yes, and it breaks in predictable ways. A template looks good under default content: an 8-character title, three bullets, one chart. Swap in real business content — a 26-character title, six bullets, a chart with eight series — and it does not error. It just looks bad.

There are three classic symptoms:

  • Overflow and truncation: PowerPoint text boxes do not overflow by default, so the excess is simply invisible. The AI will not tell you "this sentence got cut off"; you discover it while presenting.
  • Hierarchy collapse from auto-shrink: when a template enables "shrink text on overflow" (the <a:normAutofit> element in OOXML), overfilled content shrinks every font on the page, dropping a 36pt title to 22pt and making the whole deck look downgraded.
  • Slot mismatch: the template only offers "text left, image right", but your content needs "chart on top, table below". The tool either stuffs it in (the chart becomes tiny) or silently switches to a different layout, so the page no longer matches its neighbours.

Engineering thresholds for titles and body text

If you are writing your own template rather than adopting a ready-made one, these numbers are usable starting points: on a 16:9 page with 0.6-inch margins, the usable width is about 12.13 inches; at a 36pt title size a line holds roughly 18 to 20 Chinese characters, so keeping titles under 20 characters guarantees a single line; body text at 20pt with 1.25 line spacing and 8pt space-after fits at most 8 lines per page; footnotes and data sources stay at 12pt pinned to 0.35 inches above the bottom edge.

These numbers matter because they turn "the content is too long" from an aesthetic complaint into a detectable engineering error. That is also why outline-driven tools are more controllable than template fillers: in the former you can constrain per-page length before rendering; in the latter you find out after rendering.

Criterion three: data and chart capability

The third criterion decides whether any of this can enter a scenario that involves numbers at all: finance, operations, growth, supply chain.

Three sources of charts

SourceWhat the chart looks likeIs the data real?Updatable?Risk level
Model-generatedVector or raster shape decided by the AINo, the numbers are inventedNoExtreme: decorative wrong data
Rendered imageA bitmap that looks like a chartMaybe (you pasted it in)NoHigh: unverifiable, unupdatable
Data-bound native chartA real chart object in PowerPointYesYes, edit data and it redrawsLow: verifiable, automatable

Only the third row is usable in serious work. Its technical signature is unambiguous: the pptx contains ppt/charts/chart1.xml plus a companion ppt/embeddings/Microsoft_Excel_Worksheet1.xlsx, and the chart object carries cached values in <c:numCache>. Double-click the chart, an Excel data sheet opens: that is L4.

How decorative wrong data gets produced

This is the most dangerous failure mode of AI-generated slides, because it looks correct. There are three typical paths:

  1. The model invents the numbers: the prompt says "make a revenue growth deck" but supplies no data, so the model generates a plausible-looking series to fill the chart slot. Such charts usually carry "YoY", "share of", and "trend" annotations with precision to one decimal place. They look exactly like real data.
  2. Inheritance from an old document: the tool reads the deck you uploaded last time and carries its numbers over to a new page that discusses a different metric definition.
  3. Visual hallucination: an image-generation feature draws a growth curve whose axis labels are simply invented. There is no data-source concept at all.

There is exactly one defense, and it must be applied every time: any chart that reaches a review must have numbers that came from a data source, not from the generation process.The architecturally correct approach is to let the model specify only which chart a page needs and what relationship it should show, then let code fetch the values from a CSV or database and render them. The model never touches the numbers.

A verifiable chart pipeline

Turning that principle into code looks roughly like this: the model returns a structured description, and the renderer binds the data to it.

# The chart-related slice of a deck spec (model output)
{
  "slide_id": "s7",
  "layout": "chart_left_conclusion_right",
  "title": "Q3 cost per acquired customer up 18% QoQ",
  "chart": {
    "type": "bar_clustered",
    "data_ref": "cac_qoq",        # a reference to a data table, never numbers
    "series": ["2026Q2", "2026Q3"],
    "categories": ["Organic", "Paid social", "Content", "Referral"]
  },
  "conclusion": "The increase is concentrated in paid social; conversion did not improve"
}

The render stage then fetches the data, binds it, and produces the chart object. Code-generated tools (python-pptx, PptxGenJS) support this layer natively, while template and design tools generally do not — they treat "filling a chart slot" as a visual task rather than a data task. That is precisely why code generation is irreplaceable in data-heavy scenarios.

The tool capability matrix: everything on one page

This matrix is the central deliverable of the article. Every column maps to one of the three criteria, and the family label after each tool name matches the quadrant classification. Feature availability shifts between releases, so this table describes structural characteristics — what a class of tools can do architecturally. Use the checklist in the final section to confirm any specific feature yourself.

Tool / formWorkflow familyPrimary outputEditable pptxChart editabilityLayout controlBrand controlStructural boundary
GammaTemplate-fill / outline-drivenOnline cards (web-first), exports pptxExport available, layout mostly preservedMostly images or approximated shapesMedium, swap theme and cardsWeak, relies on theme constraintsExport is a lossy conversion; fine alignment may shift
Beautiful.aiTemplate-fillOnline deck, exports pptx / PDFAvailableWeakMedium-low, auto-layout dominatesWeakStrong at beautification, weak at content depth
Plus AIOutline-drivenOutline generated into an existing deckAvailableMedium, depends on export pathMediumMedium, inherits the source deck's stylingHighly coupled to the source deck; theme swap is limited
TomeOutline-drivenOnline deck / documentExport availableWeakMediumWeakNarrative-leaning; charts are not the focus
Microsoft 365 CopilotOutline-driven (native)Native pptx inside PowerPointYes, L3–L4Can produce native chartsHigh, operates on your master slidesHigh, reads corporate templatesBound by enterprise licensing and tenant policy
WPS AI and similarTemplate-fillNative pptxYesMedium-lowMediumMedium, via template packsChinese-language ecosystem and templates are the advantage
iSlide and similar pluginsDesign enhancement (not generation)Native pptxYes, L4Generates no charts but preserves native onesHigh, manual layoutHighIt does not write content, it aligns and sources assets
Canva Magic DesignDesign tool plus AIEditable design file, exports pptxExport availableWeak, mostly graphic elementsHigh, free layout on canvasHigh, strong brand kitBitmap export is not editable; the export setting decides everything
Figma AI / Figma SlidesDesign tool plus AICanvas to PDF / PNG (pptx needs a plugin or conversion)No (natively), needs external conversionNot applicableHighestHighest, design-system level controlExcellent at imagery, poor at delivering an editable pptx
python-pptxCode-generatedNative pptxYes, L4Native charts plus embedded xlsxHighest, coordinate-levelHighest, master slides under controlRequires code; you maintain the template and styles
PptxGenJSCode-generatedNative pptxYes, L4Native chartsHighestHighestSame; the Node ecosystem plugs into data pipelines
Marp / Slidev / reveal.jsCode-generated (text-first)HTML / PDF / imagesNo, unless deliberately convertedNot applicable (SVG embeddable)HighHighLayout via CSS; wrong choice when pptx is required

The three columns most often misread

"Editable pptx" is the most misread column. Many tools are labelled "export PPTX", yet the export is an assembly of one bitmap per page plus a few text boxes. A user clicks a headline, sees that it can be edited, and concludes it is L3 — while the body text is still an image. Distinguish "partially editable" from "structurally editable", and just run the probe script from the criterion-one section.

"Chart editability" is routinely overstated. "Supports inserting charts" and "supports generating charts from real data" are different claims. The former usually means chart-shaped image assets.

"Brand control" depends on where your constraints live. If the rule is "use our font and primary color", every tool satisfies it by swapping a theme. If the rule is "strictly follow the placeholder system of our 40-page master", only native tools (Copilot inside PowerPoint, iSlide, manual layout) and code generation with a master you maintain can comply.

Running the same content through all four workflows

Abstract taxonomies make people dizzy, so here is one concrete material run through all four paths to see what each produces and how much rework it costs.

Test material and scoring criteria

The material is a quarterly business review: 12 pages of realistic scale, comprising one cover, two conclusion pages, three data pages (revenue, users, cost), two qualitative analyses, two action pages, and one appendix data table. The data comes from a CSV and is real. Four scoring criteria, five points each:

  1. Conclusion strength: does every page have a sentence that can be lifted out and stand alone?
  2. Data authenticity: do the chart numbers match the CSV?
  3. Editability: how long does it take to change one number?
  4. Rework hours: human minutes from "I have the first draft" to "I can present this".

What template-fill produces

Ninety seconds of typing produces an 18-page deck with excellent visual consistency and the wrong structure: it added a table of contents and a thank-you page, and split "action items" across three pages. Where you spend the most time is not rewriting copy but deleting pages and re-ordering, because template-fill outsourced the layout decisions wholesale and your only remedy is to replace an entire page.

Rework estimate: delete 3 pages, re-order 2, rewrite the bullets on 12, replace one off-brand image — about 2.5 to 4 hours. If three of those pages are data pages with decorative charts, add 1 to 2 hours to rebuild real charts by hand.

What outline-driven produces

Approve the outline first, then generate page by page: 12 pages with the correct page count, and each page carries its own conclusion sentence. That density of argument is the clear advantage over template-fill. But the chart slot receives an image, so you can only replace it yourself, and if you supply data most tools still cannot bind it.

Rework estimate: rewrite 5 pages of bullets, replace 3 charts, add 1 appendix page — about 1.5 to 3 hours. When the template has enough slots, rework stays in the content layer and efficiency is markedly better than template-fill.

What design tool plus AI produces

The highest visual quality and the least certain deliverable. A layout finished on canvas exports perfectly to PDF, exports to PNG you can paste anywhere, and exports to pptx depending on the export settings (specifically, whether "flatten everything to images" is selected). For someone unfamiliar with those settings, the same design yields three completely different levels of usability.

Rework estimate: almost no visual fixes, but 1 to 2 hours spent confirming the export format, and a redo if you need editability. You also pay a "design tool plus PowerPoint" mental tax — in effect you are producing two artifacts.

What code generation produces

A 12-page pptx whose charts are native objects bound to the CSV, with title size, margins, and line spacing all set by parameters you defined. The first run has the highest setup cost (roughly 4 to 8 hours), but once the script exists, subsequent runs only need the data file changed: 10 to 20 minutes per deck, and every output is identical.

Side-by-side comparison of the four outputs

DimensionTemplate-fillOutline-drivenDesign tool plus AICode-generated
Time to first draft1–3 minutes5–15 minutes15–60 minutes4–8 hours (build)
Time to later drafts1–3 minutes5–15 minutes15–60 minutes10–20 minutes (swap data)
Rework for 12 pages2.5–4 hours1.5–3 hours1–2 hours plus export decisions20–40 minutes
Data authenticityOften decorativeMostly images or placeholdersDepends on the asset sourceGuaranteed by the data source
Editability levelL3L3L1–L3 (depends on export)L4
Layout freedomBounded by templateBounded by layout setHighestHighest
Reproducible / automatableNoWeakNoYes

The most important information in that table is not which column is fastest, but the four columns have completely different time structures. The first two are low startup cost with high recurring cost; the fourth is high startup cost with near-zero recurring cost. Which column you pick depends on whether your task happens once or repeats.

Code generation in depth: treating slides as a code artifact

This family deserves the deepest treatment because it solves the two hardest problems — editability and data authenticity — and turns the deck from a one-off manual artifact into a versionable engineering asset.

python-pptx: a minimal runnable example

The example below generates a 3-slide deck — a cover, a content page with a native chart, and a content page with a table — pulling its data from a CSV. It runs as written.

import csv
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.chart.data import CategoryChartData
from pptx.enum.chart import XL_CHART_TYPE
from pptx.dml.color import RGBColor

W, H = Inches(13.333), Inches(7.5)          # 16:9
MARGIN = Inches(0.6)
ACCENT = RGBColor(0x2F, 0x6F, 0xED)

prs = Presentation()
prs.slide_width, prs.slide_height = W, H

def new_slide(layout_idx, title):
    s = prs.slides.add_slide(prs.slide_layouts[layout_idx])
    ph = s.shapes.title
    ph.text = title
    ph.left, ph.top, ph.width = MARGIN, Inches(0.45), W - 2 * MARGIN
    ph.text_frame.paragraphs[0].runs[0].font.size = Pt(32)
    return s

# --- slide 1: cover ---
s = new_slide(0, "2026 Q3 Business Review")
box = s.shapes.add_textbox(MARGIN, Inches(2.6), W - 2 * MARGIN, Inches(1.0))
box.text_frame.text = "Growth slowed, costs hardened, next quarter shifts to retention"
box.text_frame.paragraphs[0].runs[0].font.size = Pt(20)

# --- slide 2: native chart, data from CSV ---
s = new_slide(1, "Q3 revenue down 6% QoQ; paid social passes 40% of the mix for the first time")
rows = list(csv.DictReader(open("revenue_q3.csv", encoding="utf-8")))
chart_data = CategoryChartData()
chart_data.categories = [r["channel"] for r in rows]
chart_data.add_series("2026Q3", tuple(float(r["amount"]) for r in rows))
gf = s.shapes.add_chart(XL_CHART_TYPE.COLUMN_CLUSTERED,
                        MARGIN, Inches(1.4), Inches(7.6), Inches(4.8), chart_data)
chart = gf.chart
chart.has_legend = False
plot = chart.plots[0]
plot.has_data_labels = True                     # numbers printed on the bars
plot.data_labels.number_format = '0.0'
plot.data_labels.number_format_is_linked = False
plot.series[0].format.fill.solid()
plot.series[0].format.fill.fore_color.rgb = ACCENT

# --- slide 3: native table ---
s = new_slide(1, "Cost structure: fulfilment costs now 31% of total")
table = s.shapes.add_table(4, 3, MARGIN, Inches(1.5), Inches(11.0), Inches(2.4)).table
for j, h in enumerate(["Item", "Q2", "Q3"]):
    table.cell(0, j).text = h
for i, r in enumerate(rows[:3], start=1):
    table.cell(i, 0).text = r["channel"]
    table.cell(i, 1).text = r["amount"]
    table.cell(i, 2).text = r.get("share", "")

prs.save("q3_review.pptx")
print("saved q3_review.pptx")

Three details in that code are worth calling out:

  • Layouts come from the master, not from a template. slide_layouts[0] is the title layout and [1] is "title plus content"; those placeholders come from the template file you supplied (prs = Presentation("brand.pptx")) and inherit its styles, so you never get the python-pptx default look of Times New Roman with a colored border.
  • The chart is an L4 object. It writes ppt/charts/chart1.xml plus an embedded xlsx into the package; double-click it in PowerPoint to edit the data and it redraws. Run the probe script from the criterion-one section and the chart count should be 1, not 0.
  • Type sizes are explicit. python-pptx never auto-shrinks for you, which is exactly why the hierarchy never collapses — at the cost of you having to state every size, which is what makes it controllable.

PptxGenJS: the same thing in Node

If your data pipeline already lives on the Node side, such as pulling from an internal API, PptxGenJS is more convenient, and its master mechanism is closer to how PowerPoint itself works.

const pptxgen = require("pptxgenjs");
const pptx = new pptxgen();
pptx.layout = "LAYOUT_16x9";            // 13.333 x 7.5 inches

// define the master once, every slide inherits it
pptx.defineSlideMaster({
  title: "BRAND_MASTER",
  background: { color: "FFFFFF" },
  objects: [
    { rect: { x: 0, y: 7.05, w: "100%", h: 0.45, fill: { color: "F2F5FA" } } },
    { text: { text: "Internal - do not distribute", options: { x: 0.6, y: 7.1, w: 6, h: 0.3,
               fontSize: 10, color: "8A94A6" } } },
  ],
  slideNumber: { x: 12.5, y: 7.1, color: "8A94A6", fontSize: 10 },
});

const s = pptx.addSlide({ masterName: "BRAND_MASTER" });
s.addText("Q3 revenue down 6% QoQ; paid social passes 40% of the mix for the first time", {
  x: 0.6, y: 0.45, w: 12.1, h: 0.8, fontSize: 28, bold: true, color: "1B2430",
});

const rows = require("./revenue_q3.json");   // the same data
s.addChart(pptx.ChartType.bar, rows.map(r => ({
  name: "2026Q3",
  labels: rows.map(r => r.channel),
  values: rows.map(r => Number(r.amount)),
})), {
  x: 0.6, y: 1.5, w: 7.6, h: 4.8,
  barDir: "col", chartColors: ["2F6FED"],
  showValue: true, dataLabelFormatCode: "0.0",
  showLegend: false, catAxisLabelFontSize: 12, valAxisLabelFontSize: 11,
});

pptx.writeFile({ fileName: "q3_review.pptx" });

Make the LLM output a deck spec, not a binary

This is the most robust way to combine code generation with an LLM: the model never touches the pptx, it emits a structured description, and the renderer fetches data and lays everything out. The DeepSeek API is OpenAI-compatible, its base_url is https://api.deepseek.com, and it supports Function Calling and JSON Output, which makes it a natural fit for this layer.

import json, urllib.request

DEEPSeek_BASE = "https://api.deepseek.com"

def ask_deepseek(spec_prompt, system_prompt):
    req = urllib.request.Request(
        DEEPSeek_BASE + "/chat/completions",
        data = json.dumps({
            "model": "deepseek-chat",
            "messages": [
                {"role": "system", "content": system_prompt},
                {"role": "user", "content": spec_prompt},
            ],
            "response_format": {"type": "json_object"},   # force JSON output
            "temperature": 0.4,
        }).encode("utf-8"),
        headers = {"Content-Type": "application/json",
                   "Authorization": "Bearer " + DEEPSeek_API_KEY},
    )
    with urllib.request.urlopen(req, timeout=60) as resp:
        payload = json.load(resp)
    return json.loads(payload["choices"][0]["message"]["content"])

SYSTEM = """You are a presentation structurer. Output JSON only, no explanatory text.
Each page must contain: slide_id, layout, title, conclusion, bullets, chart.
Hard constraints:
1. title no longer than 20 Chinese characters
2. each bullet no longer than 18 characters, at most 5 bullets per page
3. conclusion must stand alone; forbid empty sentences like "data analysis below"
4. chart may only carry a data_ref field naming a data table; never emit any concrete number
5. layout must be one of: title_only / title_bullets / chart_left_conclusion_right /
   table_page / timeline / section_divider
"""

spec = ask_deepseek(
    "Generate a 12-page deck spec from this business summary:\n" + open("brief.md", encoding="utf-8").read(),
    SYSTEM,
)
# Guardrail: the model must never invent data
for page in spec["pages"]:
    assert "chart" not in page or "data_ref" in page.get("chart", {})
    assert len(page["title"]) <= 20
print("pages:", len(spec["pages"]))

Two design choices deserve emphasis. First, the model's title and bullets both carry hard length constraints — template-fill tools cannot do this, because they never give you a chance to constrain. Second, the two assert lines are guardrails: the model will sometimes "helpfully" fill in numbers inside the chart, assuming that is more complete, and without a programmatic check decorative wrong data leaks straight into the final material.

On model choice and cost: this kind of structured task demands format stability rather than deep reasoning, so prefer the model family with better throughput and cost (for example a Flash-class model with 1M context) and reserve the stronger reasoning models for work that genuinely needs depth. For current pricing and available models, check the official DeepSeek documentation.

Using masters and placeholders correctly

The most common failure of code generation is not failing to write the code — it is not using a master. Build a Presentation from scratch and add text boxes page by page, and the result has no "Reset Layout" available in PowerPoint, so changing the template later means redoing everything. The correct sequence is to first prepare the master inside your corporate .pptx template (PowerPoint: View → Slide Master) and let the code fill the placeholders only.

To check whether you used the master properly, look at three things: whether custom layouts exist under ppt/slideLayouts/, whether footer and page number are controlled by the master, and whether slide_layouts[1] maps to the layout your content actually uses. Get all three right and the deck is genuinely maintainable.

The honest cost of this path

Honestly stated: code generation is the wrong choice for "the review is Monday and I am only starting tonight." The upfront cost — cleaning up the master, writing the renderer, parameterizing the styles — typically lands at 4 to 8 hours, and it needs someone comfortable with Python or Node. But its marginal cost is close to zero: the second weekly report, the third review, monthly reports for ten business lines all reuse the same pipeline, and the marginal cost is "change the data file, run it once."

Design tool plus AI in depth: why the imagery is more controllable

This family is often mistaken for "simpler than code", when in fact it solves a completely different problem: appearance.

In a design tool the AI is an asset generator, not a document generator

In Canva or Figma, the AI produces illustrations, icons, backgrounds, color schemes, and layout suggestions; the layout decisions remain yours on the canvas. That implies:

  • Upside: the highest ceiling for visual quality, and brand kits, design systems, and component libraries all live in one place, so brand rules are physically enforced.
  • Downside: there is no "deck" object, and therefore no concept of version, page order, page count, or data binding. The output shape is decided by the export settings and can turn into a single image at any moment.

The export trap: two tools of the same kind can differ by one toggle

Design tools normally offer both "keep editable elements" and "flatten everything to images" when exporting to pptx. Picking the wrong one changes the nature of everything downstream — the image option gives an L1 artifact, the editable option may reach L3. The same design exported two ways gives you an asset in one case and a screenshot in the other.

So the correct questions to ask about a design-tool product are:

  • In the exported pptx, is the text a text box or a bitmap?
  • Can I select an individual shape and move it?
  • Do the master and placeholders survive the export? (Many tools flatten them into free shapes.)
  • Is there a first-class output other than pptx (PDF, web, SVG)? If so, pptx may be a compatibility option rather than the main path.

The last manual gate for brand rules

The real moat of the design-tool family is brand governance: typefaces, color, logo safe areas, forbidden styles, component libraries. Teams that actually use the brand kit produce artifacts visibly more professional than any generic template tool. Conversely, if your brand rules exist only as a PDF, no tool can enforce them — that is not a tool capability problem, it is a problem of how far brand governance has been digitized.

Digitizing the brand rules into the design tool is itself an independent project, and its payoff far exceeds switching to a different AI presentation product.

Failure modes: it looks like a deck, but is nothing of the sort

These are the five classic bad outcomes of AI-generated slides. They are not occasional bugs; they are structural properties of the process.

Failure mode 1 · Diluted argument

Symptom: every page has a headline and some bullets, the layout is attractive, and after 20 pages you cannot say what the deck argues. Every sentence is correct and every sentence is important, so no sentence matters.

Cause: when asked to "generate content", the model defaults to "cover the topic" rather than "argue a conclusion". An artifact that covers a topic must be repetitive.

Detection: read only the page titles in sequence. If they form a table of contents, there is no argument yet; if they form a chain of reasoning, the argument is there. A harsher test: show someone only the titles for 30 seconds, then ask them to restate the thesis. If they cannot, the argument does not exist.

Failure mode 2 · Decorative wrong data

Symptom: the charts are beautiful, axes are labeled, data labels carry one decimal place, and not a single number came from real data. This is the most dangerous outcome precisely because "has charts and numbers" lowers the audience's guard.

Cause: covered in the chart section — the model must fill the chart slot when no data source is available.

Detection: trace every number back to a source table. If you cannot answer "which table is this from", it is decorative. The more reliable engineering answer is to make sure the render layer physically cannot see model-generated numbers (only data_ref in the spec).

Failure mode 3 · The template constrains the content

Symptom: content bends to fit the template. A three-column comparison becomes three separate slides because the template only offers "one image plus one text block". An eight-node roadmap folds onto two rows. Fifteen pages of material compresses into five slides with 200 words each.

Cause: template structure is determined before content structure. The AI will not say "this template cannot hold my content"; it quietly compresses.

Detection: compare "the number of pages I meant to present" with "the number of pages I got". A gap above 30% that you did not ask for means content was eaten by the template.

Failure mode 4 · Hierarchy collapse from auto-shrink

Symptom: one page is visibly smaller, or every title from page three onward dropped by a point. That is not a design choice, it is <a:normAutofit> reducing the font size when text overflows.

Detection: unzip the pptx and grep each slide's fontScale attribute. Any page carrying normAutofit with a fontScale below 100000 (that is, shrunk under 100%) has been shrunk. The fix is to control the content length, not to rely on shrinking.

Failure mode 5 · Editability illusion

Symptom: you believed the export was an editable pptx, but the body text is an image; or the export flattened everything into free shapes so the master and placeholders are gone and "Reset Layout" is greyed out, meaning you can never update the template across the deck.

Detection: run the probe script from the criterion-one section and look at text run counts and the presence of master parts; or, in PowerPoint, click the body text and see whether you can select characters and enter edit mode.

Quick reference for the failure modes

Failure modeExternal symptomInternal causeDetectionRemedy
Diluted argumentEvery page right, whole deck says nothingModel optimizes for coverage, not argumentDo the titles alone form a chain of reasoning?Write the conclusion first, let the tool lay it out
Decorative wrong dataPolished charts, wrong numbersWith no data source the model must fill the chart slotTrace every number to a sourceSpec carries only data_ref; the code fetches values
Template constrains contentPage count and structure compressedTemplate structure fixed before contentCompare intended page count with actualUse outline-driven or a custom master
Hierarchy collapseOne page's type suddenly shrinksnormAutofit auto-shrinkgrep slide XML for fontScaleControl word count; do not lean on shrinking
Editability illusionThought editable, is notExport path chose the image flatteningUnzip and count <a:t> and chart partsRun the probe script before exporting

When you should not use AI for a deck at all

This is potentially the money-saving section of the article. In the scenarios below, AI output is not "mediocre" — it is "unusable", because the cost of its errors far exceeds the time it saves.

Internal business and financial reviews

These materials have strict metric definitions, sensitive conclusions, and readers who will ask follow-up questions. All three of the model's weak points land here at once: chart data is easy to fabricate, metric definitions cannot be verified, and a conclusion sentence will happily turn "quarter over quarter" into "year over year". And once a number is challenged, the author of the material is a human — the AI does not share that liability.

A safer pattern: let the AI build the structure, write the conclusion sentences, and set the layout, but let code fetch every number from the data source, generate every chart, and leave a human to judge whether the conclusions hold up.

Dense data pages

When one page must carry multiple metric series, several definitions, and cross-period comparisons, template and outline-driven tools break outright: no one ever designed their layouts for "the table is the content". Dense data pages are usually better built by hand or by code with a real table object.

Strictly on-brand external material

If the material goes to a client, an investor, or a regulator, the cost of a layout error is not "unprofessional" but "this company's process is broken". The template must be supplied and locked by you; the AI may fill content inside it but must not decide the visuals. Copilot inside PowerPoint with a corporate template, or code generation with your own master, are the only two dependable routes.

Four more cases to avoid

ScenarioWhy it does not fitBetter approach
Argument-heavy "why" presentationsThe model produces consensus rather than a position, and the chain of reasoning gets flattenedWrite conclusions and argument by hand; use AI only for layout and polish
External brand decks and fundraising materialVisual errors are expensive, and templates are usually maintained by design and marketingBuild the visuals in a design tool; use AI for copy drafts only
Recurring material that must be updated and reusedGenerative tools cannot guarantee a consistent structure on every runCode generation plus a template plus a data source, built as a pipeline
Highly sensitive content (compensation, M&A, personnel)Content is uploaded to a third-party service with retention and training policies you cannot fully controlRun the structuring and drafting steps locally with self-hosted open weights (such as DeepSeek's open-weight models) so sensitive data never leaves the network

The last row deserves expansion: when content is sensitive, the first-order selection criterion is not features but where the data goes. Running the structuring and first-draft steps locally with DeepSeek open weights, then finishing the layout with a local script, is one of the few combinations that satisfies "no data leaves the premises" and "the output stays editable" at the same time.

A selection decision tree and a cost model

The three-question decision tree

Ask three questions in order and the answers determine your workflow family uniquely:

  1. Must the output be an editable pptx? (It gets archived as a deck, colleagues must keep editing it, or a script has to read it.) → Yes, take a native route: Copilot inside PowerPoint, or code generation. No, and web and PDF outputs are all acceptable.
  2. Is the data real and does it have to update each cycle? → Yes, go straight to code generation; do not try to make a generative tool do it, because they cannot guarantee chart objects bound to data. No, and outline-driven is a reasonable choice.
  3. Is this a one-off piece where visual quality matters more than data rigor? → Yes, produce the visuals in a design tool plus AI, or draft fast with template-fill. No, return to question one.
Your answersRecommended routeTool shapeExpected investment
Editable + real data + recurringCode-generation pipelinepython-pptx / PptxGenJS plus an LLM for structure4–8 hours initial, then 10–20 minutes per run
Editable + fake data + one-offTemplate-fill or design toolTemplate tool for the draft, design tool for polish1–3 hours
Editable + real data + one-offOutline-driven plus manual chartsOutline tool plus a local script for charts2–4 hours
Not editable + visuals firstDesign tool plus AICanva / Figma route1–2 hours plus export decisions
Not editable + real data neededOnline deck tool with external dataOnline cards plus screenshots or embeds1–3 hours

A rework-hours estimation model

The variable most often ignored during selection is rework time, because "draft speed" is the most heavily advertised and usually the least important number. You can estimate it with a rough model:

# Rework estimation model (unit: minutes)
# total = draft time + rework time, and rework is almost always the dominant term
def rework_estimate(pages, template_slots, data_pages, needs_real_charts):
    minutes = pages * 6                      # per-page review and tweaks
    if template_slots:                       # mismatched slots mean re-layout
        minutes += pages * 2
    if not needs_real_charts:                # decorative charts must all be redone
        minutes += data_pages * 12
    if pages > 20:                          # deletion and reordering cost grows fast
        minutes += (pages - 20) * 4
    return minutes

# example: 12 pages, 3 data pages, insufficient slots, no real charts
print(rework_estimate(12, True, 3, False))    # = 12*6 + 12*2 + 3*12 = 120 minutes

Run this model once and you learn the key lesson: "saving 2 minutes of drafting" and "paying 90 extra minutes of rework" are not trades in the same category.Using draft speed as the primary selection metric is the most common cause of failure in these projects.

Chaining the four families into one pipeline

The four workflows are not mutually exclusive. The most reliable projects let each of them own one stage.

Three typical hybrid combinations

  1. Outline-driven plus code generation: produce structure and conclusion sentences with an outline tool or an LLM, land them in a JSON spec, then render with python-pptx into a pptx with real charts. Decoupling structure production from rendering is the most general combination.
  2. Design tool plus AI plus code generation: finalize the visuals in the design tool, export them as images or SVGs to serve as backgrounds and illustrations, then let code generation assemble them into a compliant master. Good for high visual standards that still require an editable deliverable.
  3. Code generation plus human final review: fully automated drafting, with a human reviewing only conclusions and numbers. Best for weekly reports, monthly reports, and monitoring dashboards where the review criteria are fixed.
CombinationWho owns structureWho owns visualsWho owns dataTypical material
Outline-driven + code generationLLM / outline toolCode (master)Code + data sourceBusiness reviews, proposals
Design tool + code generationHuman / LLMDesign toolCode + data sourceExternal brand and product decks
Code generation + human reviewLLMCode (master)Code + data sourceWeekly and monthly reports, dashboards

Conclusion: a coordinate system beats a ranking

Compressed to one page, this article says:

  • AI for presentations is not one category of tool but four workflows: template-fill, outline-driven, design tool plus AI, and code generation. They cannot be compared directly, because both the granularity of automation and the shape of the deliverable differ.
  • Three criteria decide the choice: output editability (native pptx or pasted image), the actual floor of template quality (the capacity constraints of layout slots), and data and chart capability (real chart objects versus decorative shapes).
  • The most commonly overlooked criterion is the shape of the output. A tool that exports to images is useless in a "keep editing, feed the pipeline" scenario and perfectly fine in a "one-off, distribute it" scenario.
  • Rework time, not draft time, is usually the dominant cost. Estimate rework first, drafting second.
  • Internal business reviews, dense data pages, and strictly on-brand external material have a high enough error cost that AI should be kept out of them.

How to re-verify the claims in this article

Tool capabilities change; the classification framework in this article does not, but any specific feature should be verified by you. Here is a five-minute checklist:

# Verification checklist
# 1. Output shape: run the probe script, check chart count, <a:t> count, media count
unzip -l deck.pptx | grep -E 'ppt/(charts|embeddings|media)/'

# 2. Do master and placeholders survive? (a precondition for L3 editability)
unzip -l deck.pptx | grep -E 'ppt/(slideMasters|slideLayouts)/'

# 3. Is any page auto-shrunk? (failure mode 4)
unzip -p deck.pptx 'ppt/slides/slide3.xml' | grep -o 'fontScale="[0-9]*"'

# 4. How much native text is on a given page? (is the page a pasted image?)
unzip -p deck.pptx 'ppt/slides/slide3.xml' | grep -o '<a:t>' | wc -l

# 5. Is chart data embedded and editable? (double-click to open Excel means L4)
unzip -l deck.pptx | grep 'ppt/embeddings/'

Run those five steps against one of your own AI-generated decks and you will learn more than from ten reviews, because it probes structure — and structure is what decides whether a workflow can hold.

One last caveat: every statement here about specific tool features, model versions, prices, and packaging should be read as a structural description valid at a point in time. Products move fast, but the taxonomy and the three criteria do not depend on anyone's feature table, so you can safely keep using them for a long while.