/v1/clip-length
Clip length from shoot, interval, fps
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/timelapse-api/v1/clip-length" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/timelapse-api/v1/clip-length", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/timelapse-api/v1/clip-length");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/timelapse-api/v1/clip-length",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "A time-lapse trades a long shoot for a short clip: the frames captured = the shoot duration ÷ the interval, and the clip length = those frames ÷ the playback frame rate. Shooting for 60 minutes at one frame every 5 seconds gives 720 frames, and at 24 fps that plays back in 30 seconds — a 120× speed-up. Longer intervals compress time harder but can stutter on fast motion.",
"inputs": {
"fps": 24,
"interval_seconds": 5,
"shoot_duration_min": 60
},
"frame_count": 720,
"clip_length_seconds": 30,
"clip_length_formatted": "0:30"
},
"meta": {
"timestamp": "2026-06-07T08:17:51.448Z",
"request_id": "ae9b780b-6f27-4462-9574-ae66c9a6923c"
},
"status": "ok",
"message": "Clip length",
"success": true
}