Creating a custom deck is perfect for use cases where you want to create a presentation with a variable number of slides (depending on the prompt). If you have a repeated deck creation use case, where you want the same set slides but with content tailored to the prompt, you should create a deck from aDocumentation Index
Fetch the complete documentation index at: https://docs.flashdocs.com/llms.txt
Use this file to discover all available pages before exploring further.
template.
Hello World
Below is the simplest deck generation request we can make. Just specify a prompt and the backend takes care of the rest.Generate Slides Endpoint
Overview of Custom Deck Generation Process
Slide Source: The request does not specify a source_document_id, so the system fetches any (Google Slides / PPTX) library document that is in your organization.
Slide Count: The request does not specify a number of slides (number_slides), so the system estimates an appropriate number of slides based on the prompt.
Outline Generation: The request does not specify an outline, so the system creates an outline (content & slide layout description for each slide) based on the slide count and prompt.
Slide Selection: The request does not include an outline parameter with the slide_id key, so the system selects the most relevant slide from the slide source (library document in step 1) given the outline layout description for each slide.