✈️ Gamma's going global! We'll be live in Seoul, London, and São Paulo in March. Learn more here: https://gamma.app/events/world-tour
Hey Gamma team, Quick question on the Generations API. Is there a way to programmatically attach images and pass them into image fields when creating a generation? I see how to specify text inputs and themes, but I’m looking for the ability to upload or reference image files so they can populate the images section of a deck (for example, hero images, background patterns, or section visuals). If this isn’t supported yet, do you have guidance on whether it’s on the roadmap, or any workarounds (e.g., passing hosted URLs, multipart form data, or base64 encoding)? Thanks in advance for clarifying.
Hey Johnny! Great question about image handling in the API. Currently, there's no way to programmatically pass images during generation. You can't upload them via multipart form data, base64 encoding, or hosted URLs. This is actually a product-wide limitation, not just API specific. Even in the Gamma web app, images have to be added after the initial generation completes. The API can only handle text inputs and theme selection right now. So your generations will use Gamma's AI-selected images initially, and users would need to manually swap them out in the Gamma editor afterward. This is a really common feature request we hear from developers building automation workflows. Makes total sense for use cases where you want branded hero images, company logos, or specific product photos in the generated content. No workarounds available at the moment unfortunately. The images have to be added post-generation through the Gamma web interface. I can't speak to specific roadmap timing, but your use case adds to the chorus of developers who need this. The product team is definitely aware of how much this would unlock for API users. What's your specific use case? Are you looking to insert product images, branding elements, or something else? Understanding the details helps when we compile feature requests for the team. Also FYI we have a API Discussion channel specific to API related discussion.
I've actually been able to get an image into a gamma from the prompt - if I use the url for the image and specify where it should go then I've successfully had it show up - I did this for some headshots and logos. it just didn't work 100% of the time the way I wanted it to. I imagine it won't be too long before we can do this - seems the key to passing images is if they have their own url then pass them along with the text
