Agent-driven creation of editable, tastefully crafted visual artifacts.
Python
Speaker Notes
Speaker notes live on slide.speakerNotes.
Set Text
const speakerNotes = slide.speakerNotes;
speakerNotes.textFrame.setText(notesText);
const paragraph = speakerNotes.textFrame.paragraphs.add();
paragraph.addRun(runText);
Notes Text Inline Type
type NotesTextValue = string | string[] | StructuredTextInput;
type TextRunInput = {
run: string;
textStyle?: { bold?: boolean; italic?: boolean; fontSize?: number; color?: FillConfig };
};
Visibility And Clearing
speakerNotes.setVisible(visible);
const visibleState = speakerNotes.isVisible();
speakerNotes.clear();
Cookbook
// Structured presenter notes.
slide.speakerNotes.textFrame.setText([
"Open with the customer problem, not the feature list.",
"Call out the chart source before discussing the slope.",
"Pause for questions before the implementation timeline.",
]);
slide.speakerNotes.setVisible(true);
// Append without deleting imported notes.
slide.speakerNotes.append("\nFollow-up: confirm launch date with PM.");