⚠️ Important Note
Python Code Interpreter cannot directly insert AI-generated images into PowerPoint files. You must create the presentation first, then add images manually.
Create Your PowerPoint Using Python Code Interpreter
Generate Your Presentation Content (Text First)
Select an LLM for content creation
◦ Go to Chat and select an LLM from the model selector
◦ Recommended: Claude 4.5 Sonnet (personal preference for creating content)
◦ Other models work as well - choose what you prefer
Request the AI to create TEXT content for your presentation
◦ Ask the AI to write the content clearly organized by slide
◦ Example: "Create content for a 7-slide presentation about [your topic]. Organize it clearly by slide with titles and bullet points."
◦ Review the content and make any revisions until you're satisfied
Refine the content
◦ Keep working with the AI in chat mode to perfect your text
◦ Adjust slides, add/remove points, revise wording
◦ Do not enable Python Code Interpreter yet - just get the text right first
Convert Content to PowerPoint File
4. Switch to GPT-5 and enable Python Code Interpreter
Change your model selection to GPT-5 (or another model that supports Python)
Use the AI Tool Selector to enable "Python Code Interpreter"
5. Request PowerPoint conversion
Tell the AI: "Take the slide outline content above and turn it into a PowerPoint file"
Or: "Convert this presentation outline into a downloadable .pptx file"
The AI will generate the PowerPoint with your content
6. Get the download link
The AI should provide a download link for the
.pptxfileIf the link is not generated the first time you request it, ask for it again via prompt
Download and save the file to your computer
Create and Add Photos Using Google Flash Pro Nano Banana
Generate Images
Switch to Google Flash Pro Nano Banana
In your AI chat interface, locate the model selector
Select "Google Flash Pro Nano Banana" or the image generation model available
Create your first image
Write a detailed prompt describing the image you need
Example: "A modern office workspace with natural lighting, minimalist design, professional photography, high resolution, 16:9 landscape"
Submit the prompt and wait for the image to generate
Download the image
Right-click on the generated image
Select "Save Image As..." or "Download Image"
Save to a dedicated folder with a descriptive filename (e.g., "slide1_background.png")
Add Images to PowerPoint
4. Open your PowerPoint file
Double-click the
.pptxfile you downloaded earlier
Opens in Microsoft PowerPoint, Google Slides, or compatible software
5. Insert your first image
Navigate to the slide where you want to add an image
Click "Insert" tab → "Pictures" → "This Device" or "From File"
Browse to your images folder and select the image
Click "Insert"
Quick Tips
For Better Images:
Be very specific in your prompts (include style, lighting, colors, perspective)
Mention "high resolution" or "4K quality" in your prompts
Specify aspect ratio if needed (16:9 for wide, 1:1 for square, etc.)
For Easy Organization:
Create a dedicated folder for your presentation images
Name files clearly: "slide01_title.png", "slide03_photo.jpg"
Download all images before opening PowerPoint
In PowerPoint:
Hold Shift while resizing to maintain aspect ratio
Use View → Gridlines for precise alignment
Right-click images to access formatting options (borders, shadows, etc.)
That's it! Create the PowerPoint with code, then add your AI-generated images manually. 🎉

