I'm encountering a critical issue with the Gamma API that's blocking my integration. I'm receiving an error that doesn't align with the documented API behavior. The Problem: I'm getting this error message:
Bad request - please check your parameters
Input validation errors: 1. imageModel must be one of: dall-e-3, imagen-2, [...list of models...]What I'm Trying to Do: According to the API documentation, I should be able to create a gamma with no images by setting: json
"imageOptions": {
"source": "noImages"
}The Issue: Despite explicitly specifying "source": "noImages" in my imageOptions, the API is still requiring me to provide an imageModel parameter. This makes no sense—if I'm telling the API I don't want any images, why is it demanding that I specify which image generation model to use? Expected Behavior: When I use "source": "noImages", the API should:
NOT require an imageModel parameter
Create a gamma without any images
Not throw validation errors about image models
Current Behavior: The API rejects my request and demands an image model, even though I've explicitly stated I don't want images. Questions:
Is this a bug in the API validation logic?
Is the documentation incorrect about the "noImages" option?
Is there a workaround I should be using?
This is preventing me from using the API as documented. Please advise on how to proceed.
.png)