web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Creating an agent to g...
Copilot Studio
Suggested Answer

Creating an agent to generate PowerPoint presentations?

(0) ShareShare
ReportReport
Posted on by 22
Is it possible to create an agent in Copilot Studio which can generate PowerPoint presentations which include relevant images (either AI generated or clip-art from around the web) alongside the text?
 
When trying to do this I mostly just seem to get Markdown output. If I enable "code generator" in the agent settings then it seems to be able to write Python code which it then runs to convert that to a .pptx, but it doesn't seem to be able to do anything about images.
 
Our users don't have the Microsoft 365 Copilot license so we can't just use the "Copilot in PowerPoint" features for this.
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    1,355 Moderator on at
     
    Copilot Studio itself does NOT natively generate PPTX with images today.
    Native PPT generation is coming — but ONLY via Microsoft 365 Copilot + Agent Builder (not Copilot Studio alone).
     
     
    You can build PPTX via Python in Copilot Studio (using python-pptx)
    Enable Code Interpreter in the agent.
    Use python‑pptx to construct slides.
    Add Python code to:
         Generate images via an AI image API (e.g., Stable Diffusion via an HTTP call)
         Save them to local execution context
         Insert them into the PPTX
    Return the final PPTX as a downloadable file.
     
    If you want more polished output, use MCP + external rendering service.
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
     
  • LRSFC_DanJ Profile Picture
    22 on at
    @Sunil Kumar Pashikanti thank you for the clarification!
     
    Regarding your answer, where would the Python code go, would that go in the "instructions" section for the agent?
     
    Also, how would I specify placeholders for things like the topic of the slide or the content of the slide, so that the AI generated text gets included when the Python code is run?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 580

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard