screenstudio_loop
Create a loop from a screen recording by finding a segment whose first and last frames match, then render MP4, WebM and GIF for a landing page hero or README.
Instructions
Make a seamless loop for a landing page hero or a README: finds a stretch of the recording (targetMs, 4-15s) whose last frame matches its first (beat edge to beat edge, or a window inside one long beat cut at sentence breaks and still screens), applies it to a copy of the project ( Loop.screenstudio, opened in the editor) so the main edit stays intact, mutes sound, brings the cursor back to its start and ends zooms before the restart, then renders MP4 (1080p60), a silent WebM and a GIF under maxGifBytes, plus a poster. Returns the files, the source range, the similarity score (SSIM), an embed snippet, notes, and the first and last frames side by side to judge the join. apply:false only plans and shows the join from the raw recording.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"outputDir": "<outputDir>"
},
"name": "screenstudio_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | No | ||
| apply | No | ||
| formats | No | ||
| baseName | No | ||
| targetMs | No | ||
| outputDir | Yes | ||
| maxGifBytes | No | ||
| projectPath | Yes |