Generate a deck outline with multiple layout options per slide, each including a preview image, slide ID, and content description for easy selection and customization.
The access token received from the authorization server in the OAuth 2.0 flow.
The main (ideally information dense) instructions for how to create the slide(s). Can be ~400,000 characters.
"In a few slides, describe the recent Innovations in Renewable Energy. Discuss the foundational problems and key papers. Include specific examples."
Optional. The FlashDocs document ID of an existing source document to base the presentation content on. See the results from https://api.flashdocs.ai/v1/documents/base - the id key in the document object. If not provided, then any Library document in the organization is chosen.
"abc-def-ghi-jkl"
Optional. The desired number of slides in the generated presentation. If not provided, the system will automatically predict the number of slides from the prompt. Do not include if source_document_id is a template document.
5
Optional. Used to populate image placeholders with the audience-company-logo category. I.e. if this is a slide deck for an external audience, the audience_domain is the website of the company that the audience belongs to. If not provided, the system will predict. Must be valid domain name (ex: if you are making a deck to sell your product to the finance team at Intel, set this parameter to intel.com or https://intel.com)
"slack.com"
Optional. The desired filename name for the generated presentation deck. If not provided, the system will generate one based on the prompt.
"Renewable Energy Innovations 2025"
Optional. An array of outline instructions defining the content/layout for each slide.
Optional. Number of options per slide. Defaults to 1.
Successfully generated outline preview.
FlashDocs id of the slide. Can be found in the https://api.flashdocs.ai/v1/documents/{document_id}/full endpoint with include_slides=true in the id key for the slide object. Can only provide 1 of layout_instruction OR slide_id.
"slide_123"
URL link to the preview of the slide.
"https://secure.flashdocs.com/xyz"
Optional. Description of the content of the slide.
"Renewable energy is the energy derived from natural processes that are replenished on a human timescale, such as sunlight, wind, rain, tides, waves, and geothermal heat, and biomass."