create_composition
Writes a new composition and opens it as a tab in front of the user. files maps path to TSX source and must include the entry (default composition.tsx). Read read_skill {topic:'motion'} and {topic:'motion-craft'} first — this API is not guessable and the craft guide is what stops the result looking generated. Aim well beyond a slide deck. With UI-like parts, write them in their own file with a partsBoard prop (default false) and check the board before building scenes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | Yes | ||
| name | Yes | ||
| entry | No | Defaults to composition.tsx. | |
| files | Yes | ||
| token | Yes | The session token that connect returned. | |
| width | Yes | ||
| height | Yes | ||
| schema | No | Props schema; drives the editable controls. | |
| durationInFrames | Yes |