curl. Before you start, generate an API key and store it in YOUR_KEY.
All examples use the base URL
https://api.cut.pro/api/v1 and send the key in the X-Api-Key header. If your key is multi-workspace, also add X-Workspace-Id.1
Analyze the video (no cost)
See metadata and the credit cost before spending anything.The response includes
video_id, credits_cost, and current_balance. Save the video_id.2
Send for clipping
Submit the video. Credits are debited immediately. The The response includes
timeframe is optional, omit it to process the whole video, or restrict it to a segment (in seconds) to save credits.submission_id, status, and credits_charged. Save the submission_id.3
Track until done
Poll the submission. The When
status goes through queued → downloading → transcribing → video_analysis → analyzing → finalizing → completed (or failed).status is completed, clips_count tells you how many clips were generated.4
Fetch the generated clips
id, title, rating (the AI rating), start_time, end_time, play_url, and download_url. Sort by rating to get the best ones first.5
Render a clip
Generate the final MP4 of a clip. To apply a visual first, call The response includes
POST .../apply_template on the submission.render_id and status. If from_cache is true, the download_url is already ready.6
Track the render
status goes through queued → active → completed and progress goes from 0 to 100.7
Download the MP4
With the render The response includes
completed, get the download URL.url (signed link to the file) and filename.What now?
Publish to social networks
Take your rendered clips to TikTok, Instagram, YouTube, and more with
POST /posts.Workspace and credits
Understand credit consumption and how to check your workspace balance.