Render an overlay and place it in one step
compose_overlayRenders a transparent overlay directly into a CapCut project at the chosen timeline moment. Supports lower-thirds, title cards, callouts with custom text, colors, and timing.
Instructions
Renders a transparent overlay and adds it to the project at the given time. The common case — use render_overlay separately when the same graphic is reused across projects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Defaults to 30 | |
| kind | No | lower-third: name bar, bottom left. title-card: centred statement. callout: pill badge. | |
| text | Yes | Headline | |
| width | No | Defaults to 1080 | |
| height | No | Defaults to 1920 | |
| project | Yes | Path to the project folder or its draft_content.json | |
| subtitle | No | ||
| textColor | No | #RRGGBB, defaults to #FFFFFF | |
| trackName | No | ||
| accentColor | No | #RRGGBB, defaults to #C6FF34 | |
| startSeconds | Yes | Where on the timeline the overlay begins | |
| exitAtSeconds | No | When the element animates out | |
| durationSeconds | No | Defaults to 3 |