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.
Generation: For each selected slide, the system uses the prompt + outline + placeholders in the slide to generate content for each of the selected slides.