When you want to generate images in different slides and you are using inputText linbreak --- what is better approach?
Add the description of the images that you want to create within each slide linebreak, so they are confined within the slide
(eg. --- slide 1 text etc... Image: description of teh image that you want to build ----)
Add the image description on the "additional instructions" parameters:
(e.g Additional Instructions: -Always add related image background on slide 2 and 4) I've seen sometimes it behaves inconsistently so im wondering if any has come up with a solution that is the most deterministic to tell Gama how to behave in terms of images for specific slides
Hi Jose! Hope you're well. If you want slide-specific images, the best approach is to put the image description inside each slide block in inputText, and then use additionalInstructions for deck-wide rules. That gives Gamma the clearest signal about which image belongs to which slide. Example:
{
"textMode": "preserve",
"cardSplit": "inputTextBreaks",
"imageOptions": { "source": "aiGenerated" },
"inputText": "Slide 1 title\nText...\nImage: clean product hero visual\n---\nSlide 2 title\nText...\nImage: full-background office scene\n---\nSlide 3 title\nText...\nImage: simple diagram-style illustration",
"additionalInstructions": "Do not add, remove, or reorder slides. Only slides 2 and 4 should use full-background images. Keep all other images secondary to the text."
}In practice, additionalInstructions works best for global guidance like slide order, overall image style, or which slides can use background images. For slide-by-slide image control, keeping the image prompt next to that slide's content in inputText is usually more consistent. There can still be some variation in the final layout, but this is the most predictable setup right now. You can find the docs here: developers.gamma.app/docs If you want, send over your current payload and I can help tighten it up.
Hey Max J. Million thanks sir! Yes I thought this might be the best approach to keep images within each slide linebreak --- . I was not adding Image: , but rather Text: xyz ( add as image xyz) so now I will try to have Text:.... and Image:...... I will give it a try to these changes and let you know and will share payload
Quick follow up questions:
what is the best approach within inputText to tell Gamma in which location should the text or images appear, is there a specific param or way to optimise this on the payload?
Regarding blocks, shapes layout, is there a way to influence the slide design? eg. 4 blocks at the bottom with images and title for each block and at the top a trendline with xyz milestones etc.. "without using templates"
