Export slide thumbnail via API
Dieter De Mesmaeker
Return a preview of the slide deck via the API, so we can render a list of Gammas with a preview image, rather than an ugly list that looks like this.
Dieter De Mesmaeker
This is the UI we have, we can create previews of the notebooks we generate, but all the slides previews are just a boring and bland placeholder.
Basically what we want is just the same UI as the https://gamma.app/#api-generated page, where there's just a thumbnail rendered like https://assets.api.gamma.app/jv6s32m9okkjjvl/screenshots/q3tr4rlzgrxxohs/8t8x7evsde10dpg/slide/HFSjB9D-OAghsrsN0KhCtzB-E5Y.
Dimensions for us would ideally be 350 x 200 px, but honestly open to whatever you already have. We can work with a URL or with the raw bytes, doesn't matter.
Given you already have the link in your own UI (e.g. https://assets.api.gamma.app/jv6s32m9okkjjvl/screenshots/q3tr4rlzgrxxohs/8t8x7evsde10dpg/slide/HFSjB9D-OAghsrsN0KhCtzB-E5Y), just returning this screenshot of the first slide via an API would be amazing.
Thanks!
Nik Payne (Gamma design)
Dieter De Mesmaeker: Super helpful. Thank you!
We're actually working on BE functionality that will allow us to take screenshots, which could help with this
Dieter De Mesmaeker
Nik Payne (Gamma design) That's not even needed! We just need the same link to the image that your frontend renders in the list, to be exposed via the API (somehow). Appreciate the quick response!!!
Nik Payne (Gamma design)
Dieter De Mesmaeker yeah, I think the challenge is those screenshots are dependent on a screenshotting service, so dunno if we can "guarantee" them on time. I'll ask
Dieter De Mesmaeker
Nik Payne (Gamma design) ok understood. Happy to poll until the API contains them after a few minutes!
Nik Payne (Gamma design)
Totally hear you — a list of Gammas without thumbnails is… not the vibe 😅. Exporting a deck/slide preview image via API makes a ton of sense for building a nicer gallery view, and I’ll pass this along to the team.
Quick Qs so we can spec it right:
- Do you need a thumbnail for the whole deck(cover/first slide) orper-slideimages?
- What format/size would be ideal (PNG/JPG, and like ~320px wide vs higher-res), and do you need it to be a stable URL or raw bytes returned from the API?
If you’ve got a quick screenshot/mock of the UI you’re building (or an example from another product that nails this), drop it here — super helpful.