use-cases/generate-slide-decks.md +41 −116
11# Generate slide decks | Codex use cases---
22 name: Generate slide decks
33Codex use casestagline: Manipulate pptx files and use image generation to automate slide creation.
44 summary: Use Codex to update existing presentations or build new decks by
55 editing slides directly through code, generating visuals, and applying
66 repeatable layout rules slide by slide.
77skills:
88 - token: $slides
99Codex use case description: Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled
1010 helpers, and render and validation scripts for overflow, overlap, and font
1111# Generate slide decks checks.
1212 - token: $imagegen
1313Manipulate pptx files and use image generation to automate slide creation. description: Generate illustrations, cover art, diagrams, and slide visuals that
1414 match one reusable visual direction.
1515Difficulty **Easy**bestFor:
16
17Time horizon **30m**
18
19Use 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.
20
21## Best for
22
23 - Teams turning notes or structured inputs into repeatable slide decks16 - Teams turning notes or structured inputs into repeatable slide decks
24 - Creating new visual presentations from scratch17 - Creating new visual presentations from scratch
2518- Rebuilding or extending decks from screenshots, PDFs, or reference presentations - Rebuilding or extending decks from screenshots, PDFs, or reference
2619 presentations
2720# ContentsstarterPrompt:
21 title: Create a new slide deck
22 body: >-
23 Use the $slides and $imagegen skills to edit this slide deck in the
24 following way:
28 25
2926[← All use cases](https://developers.openai.com/codex/use-cases) - If present, add logo.png in the bottom right corner on every slide
30
31Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/generate-slide-decks/?export=pdf)
32
33Use 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.
34
35Easy
36
3730m
38
39Related links
40
41[Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
42 27
4328## Best for - On slides X, Y and Z, move the text to the left and use image generation
29 to generate an illustration (style: abstract, digital art) on the right
44 30
4531 - Teams turning notes or structured inputs into repeatable slide decks - Preserve text as text and simple charts as native PowerPoint charts where
4632 - Creating new visual presentations from scratch practical.
47- Rebuilding or extending decks from screenshots, PDFs, or reference presentations
48 33
4934## Skills & Plugins - Add these slides: [describe new slides here]
50 35
5136- Slides - Use the existing branding on new slides and new text (colors, fonts,
37 layout, etc.)
52 38
5339 Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks. - Render the updated deck to slide images, review the output, and fix layout
5440- ImageGen issues before delivery.
55 41
5642 Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction. - Run overflow and font-substitution checks before delivery, especially if
43 the deck is dense.
57 44
5845| Skill | Why use it | - Save reusable prompts or generation notes when you create a batch of
5946| --- | --- | related images.
60| Slides | Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks. |
61| ImageGen | Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction. |
62 47
63## Starter prompt
64 48
65Use the $slides and $imagegen skills to edit this slide deck in the following way:
66 - If present, add logo.png in the bottom right corner on every slide
67- 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
68- Preserve text as text and simple charts as native PowerPoint charts where practical.
69 - Add these slides: [describe new slides here]
70- Use the existing branding on new slides and new text (colors, fonts, layout, etc.)
71- Render the updated deck to slide images, review the output, and fix layout issues before delivery.
72- Run overflow and font-substitution checks before delivery, especially if the deck is dense.
73- Save reusable prompts or generation notes when you create a batch of related images.
74 Output:49 Output:
75 - A copy of the slide deck with the changes applied
76 - notes on which slides were generated, rewritten, or left unchanged
77 50
78[Open in the Codex app](codex://new?prompt=Use+the+%24slides+and+%24imagegen+skills+to+edit+this+slide+deck+in+the+following+way%3A%0A-+If+present%2C+add+logo.png+in+the+bottom+right+corner+on+every+slide%0A-+On+slides+X%2C+Y+and+Z%2C+move+the+text+to+the+left+and+use+image+generation+to+generate+an+illustration+%28style%3A+abstract%2C+digital+art%29+on+the+right%0A-+Preserve+text+as+text+and+simple+charts+as+native+PowerPoint+charts+where+practical.%0A-+Add+these+slides%3A+%5Bdescribe+new+slides+here%5D%0A-+Use+the+existing+branding+on+new+slides+and+new+text+%28colors%2C+fonts%2C+layout%2C+etc.%29+%0A-+Render+the+updated+deck+to+slide+images%2C+review+the+output%2C+and+fix+layout+issues+before+delivery.%0A-+Run+overflow+and+font-substitution+checks+before+delivery%2C+especially+if+the+deck+is+dense.%0A-+Save+reusable+prompts+or+generation+notes+when+you+create+a+batch+of+related+images.%0A%0AOutput%3A%0A-+A+copy+of+the+slide+deck+with+the+changes+applied%0A-+notes+on+which+slides+were+generated%2C+rewritten%2C+or+left+unchanged "Open in the Codex app")
79
80Use the $slides and $imagegen skills to edit this slide deck in the following way:
81 - If present, add logo.png in the bottom right corner on every slide
82- 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
83- Preserve text as text and simple charts as native PowerPoint charts where practical.
84 - Add these slides: [describe new slides here]
85- Use the existing branding on new slides and new text (colors, fonts, layout, etc.)
86- Render the updated deck to slide images, review the output, and fix layout issues before delivery.
87- Run overflow and font-substitution checks before delivery, especially if the deck is dense.
88- Save reusable prompts or generation notes when you create a batch of related images.
89 Output:
90 - A copy of the slide deck with the changes applied51 - A copy of the slide deck with the changes applied
52
91 - notes on which slides were generated, rewritten, or left unchanged53 - notes on which slides were generated, rewritten, or left unchanged
54relatedLinks:
55 - label: Image generation guide
56 url: /api/docs/guides/image-generation
57---
92 58
93## Introduction59## Introduction
94 60
137You can create new slide decks from scratch, describing what you want slide by slide and the overall vibe.103You can create new slide decks from scratch, describing what you want slide by slide and the overall vibe.
138If you have assets like logos or images, you can copy them in the same folder so that Codex can easily access them.104If you have assets like logos or images, you can copy them in the same folder so that Codex can easily access them.
139 105
140Create a new slide deck with the following slides:
141- Slide 1: Title slide with the company logo (logo.png) and the title of the presentation
142- Slide 2: Agenda slide with the key points of the presentation
143- Slide 3: [TITLE] [TAGLINE] [DESCRIPTION]
144- ...
145- Slide N: Conclusion slide with the key takeaways
146- Slide N+1: Q&A slide with my picture (my-picture.png)
147
148### Deck template update106### Deck template update
149 107
150You can update a deck template on a regular basis (weekly, monthly, quarterly, etc.) with new content.108You can update a deck template on a regular basis (weekly, monthly, quarterly, etc.) with new content.
155 113
156For example, if you need to give quarterly updates to your stakeholders, you can update the deck template with new numbers and insights.114For example, if you need to give quarterly updates to your stakeholders, you can update the deck template with new numbers and insights.
157 115
158Update the deck template, pulling content from [integration 1] and [integration 2].
159Make sure to follow guidelines defined in guidelines.md.
160
161### Adjust existing deck116### Adjust existing deck
162 117
163If 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.118If 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.
164
165Adjust the deck to make sure the following layout rules are followed:
166- Spacing should be consistent when there are multiple items on the same slide displayed in a row or grid.
167- 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.
168- All text boxes should be aligned left, except when they are below an illustration
169- All titles should use the font [font name] and size [size]
170- All captions should be in [color]
171- ....
172
173## Related use cases
174
175[
176
177### Coordinate new-hire onboarding
178
179Use Codex to gather approved new-hire context, stage tracker updates, draft team-by-team...
180
181Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[
182
183### Turn feedback into actions
184
185Connect Codex to multiple data sources such as Slack, GitHub, Linear, or Google Drive to...
186
187Data Integrations](https://developers.openai.com/codex/use-cases/feedback-synthesis)[
188
189### Complete tasks from messages
190
191Use Computer Use to read one Messages thread, complete the task, and draft a reply.
192
193Knowledge Work Integrations](https://developers.openai.com/codex/use-cases/complete-tasks-from-messages)