use-cases/generate-slide-decks.md +165 −0 added
1# Generate slide decks | Codex use cases
2
3[← All use cases](https://developers.openai.com/codex/use-cases)
4
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/generate-slide-decks/?export=pdf)
6
7Use Codex to update existing presentations or build new decks by editing slides directly through code, generating visuals, and applying repeatable layout rules slide by slide.
8
9Easy
10
1130m
12
13Related links
14
15[Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
16
17## Best for
18
19 - Teams turning notes or structured inputs into repeatable slide decks
20 - Creating new visual presentations from scratch
21- Rebuilding or extending decks from screenshots, PDFs, or reference presentations
22
23## Skills & Plugins
24
25- [Slides](https://github.com/openai/skills/tree/main/skills/.curated/slides)
26
27 Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks.
28- [ImageGen](https://github.com/openai/skills/tree/main/skills/.curated/imagegen)
29
30 Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction.
31
32| Skill | Why use it |
33| --- | --- |
34| [Slides](https://github.com/openai/skills/tree/main/skills/.curated/slides) | Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks. |
35| [ImageGen](https://github.com/openai/skills/tree/main/skills/.curated/imagegen) | Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction. |
36
37## Starter prompt
38
39Use $slides with $imagegen to edit this slide deck in the following way:
40 - If present, add logo.png in the bottom right corner on every slide
41- On slides X, Y and Z, move the text to the left and use image generation to generate an illustration (style: abstract, digital art) on the right
42- Preserve text as text and simple charts as native PowerPoint charts where practical.
43 - Add these slides: [describe new slides here]
44- Use the existing branding on new slides and new text (colors, fonts, layout, etc.)
45- Render the updated deck to slide images, review the output, and fix layout issues before delivery.
46- Run overflow and font-substitution checks before delivery, especially if the deck is dense.
47- Save reusable prompts or generation notes when you create a batch of related images.
48 Output:
49 - A copy of the slide deck with the changes applied
50 - notes on which slides were generated, rewritten, or left unchanged
51
52Use $slides with $imagegen to edit this slide deck in the following way:
53 - If present, add logo.png in the bottom right corner on every slide
54- On slides X, Y and Z, move the text to the left and use image generation to generate an illustration (style: abstract, digital art) on the right
55- Preserve text as text and simple charts as native PowerPoint charts where practical.
56 - Add these slides: [describe new slides here]
57- Use the existing branding on new slides and new text (colors, fonts, layout, etc.)
58- Render the updated deck to slide images, review the output, and fix layout issues before delivery.
59- Run overflow and font-substitution checks before delivery, especially if the deck is dense.
60- Save reusable prompts or generation notes when you create a batch of related images.
61 Output:
62 - A copy of the slide deck with the changes applied
63 - notes on which slides were generated, rewritten, or left unchanged
64
65## Introduction
66
67You can use Codex to manipulate PowerPoint decks in a systematic way, using the Slides skill to create and edit decks with PptxGenJS, and using image generation to generate visuals for the slides.
68
69Skills can be installed directly from the Codex app–see our [skills documentation](https://developers.openai.com/codex/skills) for more details.
70
71You can create new decks from scratch, describing what you want, but the ideal workflow is to start from an existing deck–already set up with your branding guidelines–and ask Codex to edit it.
72
73## Start from the source deck and references
74
75If a deck already exists, ask Codex to inspect it before making changes.
76
77The slides skill is opinionated here: match the source aspect ratio before you rebuild layout, and default to 16:9 only when the source material does not already define the deck size. If the references are screenshots or a PDF, ask Codex to render or inspect them first so it can compare slide geometry visually instead of guessing.
78
79## Keep the deck editable
80
81When building out new slides, ask Codex to keep the slides editable: when slides contain text, charts, or simple layout elements, those should stay PowerPoint-native when practical. Text should stay text. Simple bar, line, pie, and histogram visuals should stay native charts when possible. For diagrams or visuals that are too custom for native slide objects, Codex can generate or place SVG and image assets deliberately instead of rasterizing the whole slide.
82
83For example, if you want to build a complex timeline with illustrations, instead of generating a whole image, ask Codex to generate each illustration separately (using a set style prompt as reference), place them on the slide, then link them using native lines. The text and dates should be text objects as well, and not included in the illustrations.
84
85## Generate visuals intentionally
86
87Image generation is most useful when the slides need a cover image, a concept illustration, or a lightweight diagram that would otherwise take manual design work. Ask Codex to define the visual direction first, then reuse that direction consistently across the whole deck.
88
89When several slides need related visuals, have Codex save the prompts or generation notes it used. That makes the deck easier to extend later without starting over stylistically.
90
91## Keep slide logic explicit
92
93Deck automation works better when Codex treats each slide as its own decision. Some slides should preserve exact copy, some need a stronger headline and cleaner structure, and some should stay mostly untouched apart from asset cleanup or formatting fixes.
94
95The slides skill also ships with bundled layout helpers. Ask Codex to copy those helpers into the working directory and reuse them instead of reimplementing spacing, text-sizing, and image-placement logic on every deck.
96
97## Validation before delivery
98
99Decks are easy to get almost right and still ship with clipped text, substituted fonts, or layout drift that only shows up after export. The slides skill includes scripts to render decks to per-slide PNGs, build a quick montage for review, detect overflow beyond the slide canvas, and report missing or substituted fonts.
100
101Ask Codex to use those checks before it hands back the final deck, especially when slides are dense or margins are tight.
102
103## Example ideas
104
105Here are some ideas you could try with this use case:
106
107### New deck from scratch
108
109You can create new slide decks from scratch, describing what you want slide by slide and the overall vibe.
110If you have assets like logos or images, you can copy them in the same folder so that Codex can easily access them.
111
112Create a new slide deck with the following slides:
113- Slide 1: Title slide with the company logo (logo.png) and the title of the presentation
114- Slide 2: Agenda slide with the key points of the presentation
115- Slide 3: [TITLE] [TAGLINE] [DESCRIPTION]
116- ...
117- Slide N: Conclusion slide with the key takeaways
118- Slide N+1: Q&A slide with my picture (my-picture.png)
119
120### Deck template update
121
122You can update a deck template on a regular basis (weekly, monthly, quarterly, etc.) with new content.
123If you're doing this frequently, create a file like `guidelines.md` to define the content and structure of the deck and how it should be updated.
124
125Combine it with other skills to fetch information from your preferred data
126 sources.
127
128For example, if you need to give quarterly updates to your stakeholders, you can update the deck template with new numbers and insights.
129
130Update the deck template, pulling content from [integration 1] and [integration 2].
131Make sure to follow guidelines defined in guidelines.md.
132
133### Adjust existing deck
134
135If you built a deck but want to adjust it to fix spacing, misaligned text, or other layout issues, you can ask Codex to fix it.
136
137Adjust the deck to make sure the following layout rules are followed:
138- Spacing should be consistent when there are multiple items on the same slide displayed in a row or grid.
139- When there are multiple items on the same slide displayed in a row or grid, the items are aligned horizontally or vertically depending on the content.
140- All text boxes should be aligned left, except when they are below an illustration
141- All titles should use the font [font name] and size [size]
142- All captions should be in [color]
143- ....
144
145## Related use cases
146
147[
148
149### Coordinate new-hire onboarding
150
151Use Codex to gather approved new-hire context, stage tracker updates, draft team-by-team...
152
153Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[
154
155### Kick off coding tasks from Slack
156
157Mention `@Codex` in Slack to start a task tied to the right repo and environment, then...
158
159Integrations Workflow](https://developers.openai.com/codex/use-cases/slack-coding-tasks)[
160
161### Learn a new concept
162
163Use Codex to study material such as research papers or courses, split the reading across...
164
165Knowledge Work Data](https://developers.openai.com/codex/use-cases/learn-a-new-concept)