2 2
3[← All use cases](https://developers.openai.com/codex/use-cases)3[← All use cases](https://developers.openai.com/codex/use-cases)
4 4
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/generate-slide-decks/?export=pdf)
6
5Use 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.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.
6 8
7Easy9Easy
27 29
28 Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction.30 Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction.
29 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
30## Starter prompt37## Starter prompt
31 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
32Use $slides with $imagegen to edit this slide deck in the following way:52Use $slides with $imagegen to edit this slide deck in the following way:
33 - If present, add logo.png in the bottom right corner on every slide53 - If present, add logo.png in the bottom right corner on every slide
34- 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 right54- 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