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.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.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.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.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.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.Track the render
status goes through queued → active → completed and progress goes from 0 to 100.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.