Add GymAssets images in Microsoft PowerPoint
Use GymAssets image URLs to create consistent anatomy and equipment visuals for generated presentations.
PowerPoint does not keep a live image formula like Excel. Fetch the rendered image from its GymAssets URL, then insert the returned bytes with your presentation tool.
JavaScript
const url =
'https://cdn.gymassets.dev/v1/' +
process.env.GYM_ASSETS_PUBLISHABLE_KEY +
'/body/male/back.webp?primary=lats&secondary=triceps&w=640';
const response = await fetch(url);
const image = await response.arrayBuffer();
// Pass image to the library that creates your slide deck. Choose a fixed width appropriate for the slide rather than requesting the maximum. Stable widths produce reusable URLs and smaller presentation files.