Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 882 Bytes

File metadata and controls

42 lines (24 loc) · 882 Bytes

Python Clip Tools

Simple Python scripts to create video clips using the Reka AI API.

Setup

  1. Install requests: pip install requests
  2. Set your API key: export REKA_API_KEY=your_key_here

Scripts

clip_generator.py

Creates a clip from a YouTube video.

python3 clip_generator.py

Enter the video URL when prompted. The script streams progress and shows the Job ID (save it if interrupted).

Sample Output:

clip generator output

check_status.py

Check the status of a clip job using its Job ID.

python3 check_status.py

Enter the Job ID when prompted. Checks every 30 seconds until complete. Press Ctrl+C to stop.

Check status output

Links