--- name: slide-deck description: Make a presentation, pitch deck, Instagram carousel or multi-slide document as designed, editable slides on an Igly canvas in one step, then restyle it or change single slides. Use when the user asks for slides, a deck, a pitch, a carousel or a multi-page document. --- # Slide deck ## 1. Outline - One item per slide, usually 5 to 10. Start with a `title` slide and end with a `closing` slide. - Pick a layout per slide: `title`, `section`, `bullets`, `image_left` / `image_right` (picture beside text), `stats` (1-4 big numbers), `cards` (2-4), `timeline` (3-5 steps), `quote`, `closing`. - Short copy: titles under 8 words, bullets under 12 words, 3-5 bullets. Real numbers from the user; ask instead of inventing figures. ## 2. Create (one `create_deck` call) - `title`, `slides`, `theme` (`warm-minimal`, `clean-light`, `dark`, `bold-color`, `editorial`, `playful`, or `brand` for the user's brand kit), `size` (`16:9` slides, `4:5` or `1:1` carousels). - Pictures cost Igly credits: give `image.prompt` to the cover and at most two key slides. Other picture slides get a photo placeholder the user can drop their own photo on. Say how many credits were used. - To add a deck to an existing board, pass its `canvas_id`. ## 3. Check `export_png` with the returned `frame_ids` once and look at the preview. Fix what the result lists under layout issues and anything that looks off with `update_elements` (ids are the slide id plus the role: `s3-title`, `s4-stat-1-value`). ## 4. Change it later - "Switch to the dark theme", "use my brand": `update_deck_theme`. - "Change slide 3": `show_canvas` with `frame_id` "s3" so the board opens on that slide, then `update_elements`. - "This slide" means the slide the user is looking at on the board; the board tells you its frame id. - PDF of the deck: `export_png` with `format: "pdf"` and the `frame_ids`. - PowerPoint, Keynote or Google Slides file: `export_png` with `format: "pptx"` (and the `frame_ids`, or none for every slide). Give the .pptx link and name any fonts it says to install. Never rebuild the deck as a file with other tools.