Hi Everyone, is there a way to create a gamma via Generate from Template AI, but only for slide colours and background and not content format? so that for example I could provide exact content to the API for each slide, number of cards, and then select a template but only for background images and colours only?
Hey Julio! So what you're after is "use a template for visuals only, but let me fully control the content and card count." Right now the API doesn't have a clean way to do that in a single call, but here are your two best options: Option 1: Generate endpoint with textMode "preserve" + a themeId This gives you exact control over your content and card count. You pass your content via inputText, set textMode to "preserve" so the AI doesn't rewrite it, and set numCards to control slide count. Apply a themeId for colors and fonts. The tradeoff: you get theme-level styling but not template-specific backgrounds or card layouts. Docs: https://developers.gamma.app/reference/generate-a-gamma Option 2: From-template (what you're already using) This gives you the full visual design from your template (backgrounds, layouts, colors), but the AI interprets your prompt content โ so you can't guarantee exact text preservation or a specific card count. Being very explicit in your prompt (e.g. "use the following text exactly as written, do not rewrite") helps, but it's not a hard lock. Docs: https://developers.gamma.app/reference/create-from-template TLDR: If exact content control matters most, go with Option 1. If matching the template's visual design matters most, stick with Option 2. There's no way to combine both right now. If this is something you'd like to see supported, drop it on our Canny board โ something like "from-template with preserve mode" would be a great feature request: https://meetgamma.canny.io/ ---
