Create Twitch Clip
Runs on: Backend.
Clips your live stream the moment it runs. Twitch publishes the last stretch of the stream under your channel.
It needs the clips:edit scope on your Twitch connection. If you connected Twitch before this node existed, reconnect Twitch once. Without the scope the node fails with "Reconnect Twitch to allow clips" and nothing is clipped.
Inputs
| Name | Type | Description |
|---|---|---|
activate | any | Any signal that makes the clip. |
title | string | Title for the clip. Uses the inline field when not connected. Twitch picks a title when empty. |
duration | number | Length of the clip in seconds (5-60). Uses the inline field when not connected. |
Outputs
| Name | Type | Description |
|---|---|---|
clip_id | string | The new clip's ID. |
clip_url | string | Link to the clip. Twitch processes clips in the background, so the link can show an error for a few seconds. |
edit_url | string | Link to trim and edit the clip. |
then | pulse | Fires after the node runs, whether or not the clip was made. |
Configuration
- Title (inline): The clip title when the
Titlehandle isn't wired. - Duration (inline): The clip length in seconds when the
Durationhandle isn't wired. Accepts 5-60 and is clamped to that range. Defaults to30.
Notes
- Your channel has to be live. If it isn't, or Twitch refuses for any other reason, the node logs the error and the flow carries on.
- A 30-second clip reaches back about 25 seconds from when the node runs. A 60-second clip reaches back about 55.
- The node has no cooldown. Put a Cooldown check in front of it to limit how often it clips.
Example
A !clip chat command runs through a 60-second Cooldown check into Create Twitch Clip. Clip URL goes into a Send Chat Message node, so chat gets the link a few seconds later.