$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "videoUrls": [
< "https://archive.org/download/Sintel/sintel-2048-stereo_512kb.mp4"
< ],
< "segmentation": "scenes",
< "sceneThreshold": 0.3,
< "intervalSeconds": 30,
< "minSceneSeconds": 2,
< "maxSceneSeconds": 60,
< "maxScenesPerVideo": 200,
< "mergeSimilarFrames": true,
< "includeKeyframes": true,
< "keyframeWidth": 640,
< "contactSheet": true,
< "subtitleUrls": {
< "https://archive.org/download/Sintel/sintel-2048-stereo_512kb.mp4": "https://durian.blender.org/wp-content/content/subtitles/sintel_en.srt"
< },
< "useEmbeddedSubtitles": true,
< "chunkSize": 512,
< "maxVideos": 50,
< "maxDurationMinutes": 5,
< "maxFileSizeMb": 500,
< "proxyConfiguration": {
< "useApifyProxy": false
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/mmdincer~video-frame-extractor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'