SJinn Compose
Prerequisites
This skill requires @sjinn-build/cli 0.1.16 or newer. If the CLI is not installed, is older, or is unauthenticated, use sjinn-setup first.
Workflow
- Confirm there are at least 2 videos and preserve their requested order.
- Pass local
.mp4/.movfiles or HTTPS URLs as one comma-separated--video-urlsvalue. - Prefer JSON output so results are easy to parse.
- Use
--asyncfor long-running jobs unless the user explicitly wants to wait. - Use
--download [path]only when the user asks to save the result locally.
Do not add separate audio, voiceover, background music, or transitions; the first release does not support them.
Commands
Concatenate videos:
sjinn compose --video-urls "intro.mp4,outro.mp4" --json
Download the result locally:
sjinn compose --video-urls "a.mp4,b.mp4" --download ./final.mp4 --json
Output Handling
On success, return the task ID, primary URL, any additional URLs, and elapsed time. If status is created, tell the user to query the task with sjinn-task-status.
On error, summarize the CLI error plainly and suggest sjinn-setup only when the error indicates the CLI is missing or unauthenticated.