Hello i am trying to post the word document with the api and generate the ppt. please let me know if the upload files are supported by API or still its under development. as of now i dont see any reference for upload document in api request
Hi there 👋 Unfortunately, file uploads aren't currently supported in the API. The API works with text input only through the inputText parameter. Here's how the API expects your content: json
{
"inputText": "Your document content here",
"format": "presentation",
"themeName": "Your preferred theme"
}Good news though! You can extract text from your Word doc first, then send it to Gamma's API: With Zapier: Their Formatter or Document Parser steps can extract the text for you With Make.com: The MS Word module reads document content that you can pass along With code: Libraries like python-docx can extract the text programmatically The inputText field accepts up to 750,000 characters, so even lengthy documents should work fine. The text extraction approach should work well for your use case. Let me know if you have questions about the API parameters or formatting once you have your text ready!
