跳到正文
DEV Community· FInn X·· 42 分鐘前AI 評分67

Gamma 400 免費 AI 點數與 Python 匯出審計:模式成本相差 6.67 倍,PPTX 內嵌 .fntdata 字體、PDF 頁面高度可變

I Audited Gamma’s 400 Free AI Credits & Exports in Python: 6.67x Mode Gap, Embedded .fntdata Fonts & Variable-Height PDFs

AI 導讀

作者以同一提示詞審計 Gamma 的點數消耗及匯出結果,發現 Classic 與 Home Agent Lite 的每卡成本相差 6.67 倍。新免費帳戶一次獲得 400 點,測試後餘下 309 點;Python 檢查顯示免費 PPTX 有 79 個可編輯文字方塊及 3 個 .fntdata 字體檔。PDF 則把 4 張內容溢出的投影片延伸頁高,以避免文字被裁切。

正文

Most older Gamma walkthroughs still repeat outdated heuristics ("40 credits per deck" or "Plus includes unlimited AI"). Under Gamma’s current dynamic billing model, new free accounts receive a one-time pool of 400 credits (no monthly reset)—and how fast those credits burn depends heavily on which generator UI you click and what hidden defaults sit inside the image editor.

To measure exact unit economics instead of guessing, I ran a standardized B2B manufacturing website proposal prompt across Gamma’s Classic Generator, Home Agent (Lite), and micro-edit controls—logging every balance delta from 400 down to 309 credits (91 spent total)—and then inspected the free .pptx and .pdf exports programmatically with python-pptx, pypdf, and zipfile.

Four engineering and billing findings jumped out immediately:

  1. A 6.67x price gap between Classic Mode and Home Agent (Lite): Generating a 10-card deck without AI images via the upper-right Classic generator (/create/generate) cost 10 credits (1.0 cr/card). Running the exact same prompt through the default Home Agent—even manually downgraded to Lite with zero AI images—burned 40 credits for just 6 cards (6.67 cr/card) (3 credits just to propose the plan + 37 credits to generate and self-polish, while drifting off-topic).
  2. Exact Classic + AI Image pricing formula: A 10-card Classic run with AI images (Auto-select model @ 2 cr/image) deducted 28 credits (10 base card credits + 9 generated illustrations × 2 credits = 28; Card 6 rendered a vector flowchart for 0 image credits).
  3. The hidden Images: 3 regeneration multiplier & zero-refund Undo: Fixing a malformed two-headed AI illustration on Slide 3 exposed that Gamma’s Edit image sidebar defaults to Images: 3 (6 credits). You must manually reduce the selector to 1 image to pay 2 credits. Meanwhile, Undo (Cmd+Z) reverts an AI card without refunding credits (0 back).
  4. Native .pptx editability with font embedding & fluid .pdf page heights: Despite Gamma’s UI warning ("4 slides have overflowing content" and "Install fonts: Montserrat, Source Sans 3"), the free .pptx shipped 79 native editable textboxes, embedded 3 .fntdata font streams, flattened only the Card 6 & 7 diagrams into PNGs, and tucked the clickable "Made with Gamma" badge inside master Slide Layout 2. Meanwhile, the pdf-lib .pdf handled overflow by stretching those exact 4 tall slides vertically up to 792 pt.

Test Prompt & Experimental Control

Because neither Classic Mode nor Home Agent shows a pre-run total credit estimate on the Generate button, I fed the same prompt into each mode and recorded before/after balances step by step:

Create a 10-card B2B client proposal deck for a small digital product studio pitching a 6-week corporate website & CMS redesign to a mid-sized manufacturing company. Include: executive summary, current website pain points, proposed architecture, 6-week timeline, deliverables, transparent pricing tiers, case study impact, and next steps. Tone: concise, practical, executive-ready.

Complete Reconciled Credit Ledger (400 -> 309)

Step   Action & Settings                   Before  After  Cost  Notes
------------------------------------------------------------------------------
Init   Inspect account & 8 image models       400    400     0  400 free pool
T1a    Classic outline (10 cards)             400    400     0  12.1s; free
T1b    Classic deck (10p, no AI images)       400    390    10  ~54.7s (1/p)
T2a    Classic outline (same prompt, 10p)     390    390     0  10.1s
T2b    Classic deck (10p, Auto AI @ 2 cr)     390    362    28  9 AI imgs (+18)
T3a    Agent Lite plan (6p, 0 images)         362    359     3  Plan costs 3
T3b    Agent Lite build + polish (6p)         359    322    37  40 cr total!
T4a    Card 2: Agent tighten to 3 bullets     322    319     3  3-bullet copy
T4b    Card 3: Agent -> Try new layout        319    314     5  5 new layouts
T4c    Card 1: Edit image (Images: 3 -> 1)    314    312     2  Default is 6 cr
T4c2   Card 3: Fix distorted AI illustration  312    310     2  Images: 1
T4d    AI Insert slide (Magic, 0 images)      310    309     1  Added Slide 4
T4e    Undo (Cmd+Z) immediately on T4d        309    309     0  No refund
T4f    Manual subtitle edit + Theme switch    309    309     0  Manual = free
Export Export T2 deck (.pdf & .pptx Std)      309    309     0  Free w/ badge
------------------------------------------------------------------------------
Total                                      400 -> 309       91  309 remaining

Python chart comparing Gamma credit cost per action and total deck capacity from 400 free credits
Chart generated by author via Python from live credit ledger (400 -> 309 credits).


Classic Mode vs. Home Agent Lite: Where Credits Disappear

Gamma’s landing view pushes users directly into the Home Agent prompt box while placing Use classic generator in the upper corner. Under Lite power and 0 requested AI images, the Agent still burned 3 credits on planning plus 37 credits on drafting and autonomous self-polish (40 total for 6 cards = 6.67 credits/card). A paused Agent thread even surfaces its own hint: "Agent paused. Clear to start fresh and use fewer credits."

T2 Classic deck in Gamma showing 10 cards, 9 AI images, and a vector diagram on Slide 6 after deducting 28 credits
Screenshot by author: T2 Classic deck (10 cards, 9 AI images, 1 diagram on Slide 6) deducted exactly 28 credits (contains sample AI-generated slide illustrations by Gamma).


AI Image Model Pricing & Edit Defaults

Here is every AI image model exposed in Gamma’s Classic prompt dropdown along with plan locks observed on Free:

Image Model                    Credits / Image   Plan Requirement
-----------------------------------------------------------------
Auto-select model                            2   Free
Flux 2 Fast                                  2   Free
GPT Image 2.5 Flare Mini                     5   Free
GPT Image 2 Mini                             5   Free
Ideogram 4.0 Turbo                          10   Plus
GPT Image 2.5 Flare                         10   Plus
GPT Image 2.5 Flare HD                      20   Pro
GPT Image 2                                 20   Pro

Gamma AI image model dropdown menu displaying per-image credit pricing from 2 credits on Free up to 20 credits on Pro
Screenshot by author: Gamma’s image model menu lists per-image rates from 2 credits (Free) up to 20 credits (Pro).

Key Free-tier paywalls and micro-edit costs:

  • Generation caps: Classic caps Free runs at 1–10 cards (15–100 cards require Plus); Studio single-image slides and Agent Max / Research require Pro.
  • Edit image multiplier: Opening image regeneration defaults Images: 3 (6 credits). Resetting to 1 drops the cost to 2 credits.
  • Layout vs. copy vs. manual: Edit with Agent rewrite cost 3 cr, AI Insert slide cost 1 cr, Try new layout burned 5 cr, while direct text edits and switching themes (Howlite -> Commons -> Howlite) cost 0 cr. Undo (Cmd+Z) never returns spent credits.

Gamma account balance menu displaying 309 remaining credits after completing all T4 edits and manual theme checks
Screenshot by author: Account ledger after completing T4a–T4f edits and verifying 0-credit manual changes and exports.


Inspecting Free .pptx & .pdf Exports with Python (python-pptx, pypdf, zipfile)

Exporting to PDF, PowerPoint (.pptx), Google Slides, and PNGs is free (0 credits), with hiding the "Made with Gamma" badge gated behind Plus and password links gated behind Pro. On export, Gamma warned about "4 slides have overflowing content" and advised installing Montserrat and Source Sans 3.

Gamma export dialog showing free PDF, PowerPoint, Google Slides, and PNG downloads alongside Plus paywall for hiding the Gamma badge
Screenshot by author: Free tier unlocks PDF, PPTX, Google Slides, and PNG export; hiding the Made with Gamma badge is gated to Plus.

To inspect what Gamma actually writes inside those exported files rather than relying on UI tooltips, I ran a concise audit script in Python:

import zipfile
from pptx import Presentation
from pptx.enum.shapes import MSO_SHAPE_TYPE
from pypdf import PdfReader

prs = Presentation("exports/gamma-t2-deck.pptx")
text_shapes = sum(
    1 for s in prs.slides for sh in s.shapes if sh.has_text_frame
)
pic_shapes = sum(
    1 for s in prs.slides for sh in s.shapes if sh.shape_type == MSO_SHAPE_TYPE.PICTURE
)

# Inspect Slide Master Layout 2 watermark + embedded .fntdata fonts
with zipfile.ZipFile("exports/gamma-t2-deck.pptx") as zf:
    embedded_fonts = [n for n in zf.namelist() if n.startswith("ppt/fonts/")]
    layout2_rels = zf.read("ppt/slideLayouts/_rels/slideLayout2.xml.rels").decode()
    pres_xml = zf.read("ppt/presentation.xml").decode()

reader = PdfReader("exports/gamma-t2-deck.pdf")
pdf_sizes = [
    (i, round(float(p.mediabox.width), 2), round(float(p.mediabox.height), 2))
    for i, p in enumerate(reader.pages, start=1)
]

Here is what the script extracted from both files:

Audit Metric         PowerPoint (.pptx)               PDF (.pdf)
------------------------------------------------------------------------------
File Size            4.56 MiB (4,778,587 bytes)       3.26 MiB (3,417,035 B)
Slide Dimensions     Uniform 13.333 x 7.5 in (16:9)   6p 900 x 507.12 pt;
                                                      4 tall (520.08–792 pt)
Text Editability     79 native editable textboxes     10/10 vector text
                     (avg 7.9/slide; 3,799 chars)     (3,933 chars; pdf-lib)
Embedded Fonts       3 .fntdata fonts embedded        3 font subsets embedded
                     (Montserrat Bold, Source Sans 3)
Diagrams & Media     16 imgs (9 AI JPEGs); S6/S7      All images intact; no
                     diagrams rasterized to PNG       clipped overflow text
Watermark Placement  Slide Layout 2 (12.11", 7.17")   10/10 corner badge +
                     clickable UTM link (10/10)       clickable /URI link

Two engineering details stood out in the internals:

  1. Watermark & fonts in .pptx: Gamma embeds 3 .fntdata files (ppt/fonts/201314.fntdata..201316.fntdata mapped to Montserrat Bold and Source Sans 3 Regular/Bold in ppt/presentation.xml) and renders 79 real editable textboxes (0 flattened whole-slide images). Only the web vector diagrams on Slides 6 (1438×632) and 7 (1948×876) rasterize to PNGs. The "Made with Gamma" badge sits as Image 0 (921×220 PNG) on shared Slide Layout 2 (left=12.11", top=7.17") inherited by all 10/10 slides with an external hyperlink to https://gamma.app/?utm_source=made-with-gamma.
  2. How .pdf handles the 4 overflowing slides: Client-side pdf-lib keeps Pages 1, 2, 3, 5, 6, and 7 at 900.0 × 507.12 pt (16:9), while stretching the exact 4 overflow slides vertically — Page 4 (792.0 pt), Page 8 (588.0 pt), Page 9 (520.08 pt), and Page 10 (555.12 pt) — preventing clipped text while baking a clickable /URI badge annotation at [754.35, 7.5, 892.5, 40.5] on every page.

Real Capacity of 400 Free Credits & Practical Takeaways

Workflow Strategy (10-Card Standard Deck)       Cost / Deck   Per 400 Credits
------------------------------------------------------------------------------
Classic + No AI Images (manual/stock visuals)        10 cr    40 decks
Classic + 9 Default AI Images (2 cr/img)             28 cr    14 decks (+8 cr)
Classic + 9 AI Images + ~12 cr Agent Fixes           40 cr    10 decks
Home Agent Lite (0 AI imgs, scaled to 10p)        ~66.7 cr    ~6 decks (10x6p)
  • Switch to Use classic generator first: Saves up to 6.67x per card vs. Home Agent Lite, and keeps outline drafting free.
  • Draft copy for 10 credits, generate AI images selectively: Only spend 2 credits/image where needed, and always reset Images: 3 -> 1 in Edit image.
  • Edit vector diagrams inside Gamma before .pptx export: Slide 6/7 diagrams become non-editable PNGs once exported.

Further Reading & Full Benchmark Archive

來源:DEV Community · dev.to