AppsGolem YouTube Cutter

v1.0.0
io.github.apancyborg/appsgolem-mcp Checked 4 days ago Published 5 days ago

Cut clips from YouTube videos in any format and get a direct download URL.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cut_youtube_video Cut a YouTube video

Cut a clip (or clips) from a YouTube video and return its download URL. Submits a cut job to AppsGolem and (by default) polls until it's produced, then returns the produced status — which includes a download_url once a download token is ready. Pricing: 1 credit per produced clip (4K = 4/clip, except audio_only which stays 1; a known source duration > 2h adds +1 once); a batch/stitch of N clips costs N per-clip. Failed cuts are never billed. On a wait-timeout the result has still_processing=true; poll get_cut_status with the returned id.

ParameterTypeDescription
url *stringA YouTube video URL (watch/share/youtu.be — playlists rejected).
audio_formatstring | nullaudio_only output format — "mp3"(default)/"m4a"/"wav"/"flac". both always produces MP3.
bitratestring | nullLossy-audio bitrate "320"(default)/"256"/"192"/"128" — MP3/M4A in audio_only, MP3 in both; ignored for wav/flac.
burn_tsboolean | nullFrames — burn the source timestamp onto each JPG.
clipsA non-empty list of 1–10 {start,end} ranges INSTEAD of start/end.
endstring | nullClip end. Use "SS", "MM:SS" or "HH:MM:SS" (≤300h), with up to 3 fractional digits, e.g. "00:02:28.900". Omit when passing clips.
fastboolean | nullStream-copy (≈10× faster, keyframe-aligned); video/nosound/both only. Mutually exclusive with a non-1× speed — fast wins and speed is forced to 1.0.
idempotency_keystring | nullA stable key (≤200 chars) so a retried request reuses the same job.
interval_msFrames sampling interval — 100/500/1000/2000(default)/5000/10000; non-sheet extraction is capped at 1800 JPGs total across all clips.
modestringOne of "video" (video file, default; MP4 normally, source container e.g. WebM in fast mode), "audio_only" (mp3/m4a/wav/flac), "both" (video + MP3 zip), "nosound" (video, no audio), "short" (portrait 9…
resolutionstring144p/240p/360p/480p/720p/1080p (default)/1440p/2160p (4K; total cut ≤60 min).
sheetboolean | nullFrames — a single contact-sheet JPG (2..80 frames, single clip); disables burn_ts.
speednumber | nullPlayback speed 0.5/1.0/1.25/1.5/2.0; video/nosound/both/audio_only.
startstring | nullClip start. Use "SS", "MM:SS" or "HH:MM:SS" (≤300h), with up to 3 fractional digits, e.g. "00:02:28.900". Omit when passing clips.
stitchboolean | nullWith 2+ clips, join them into one file (else a zip of clips); ignored for a single clip; video/audio_only/both/short/nosound only.
timeout_secondsintegerPolling deadline in seconds when wait=true (default 300); submission + one in-flight status request can extend total wall-clock.
waitbooleanPoll until ready (default) up to the timeout_seconds polling deadline.

get_cut_status Check a cut job

Check a cut job's status by its id. Returns the job's state (accepted / queued / produced / delivered / failed / refunded) and, once produced/delivered, a download_url when a download token is available. Use this to poll a job started with cut_youtube_video(wait=false) or one that timed out.

ParameterTypeDescription
job_id *stringThe job id (a UUID) returned by cut_youtube_video.

get_account_balance Account balance

Return the API account's spendable credit balance and hourly cap.