/v1/interval
Interval for a target clip
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/timelapse-api/v1/interval" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/timelapse-api/v1/interval", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/timelapse-api/v1/interval");
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/interval",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "To hit a target clip length, work backwards: the frames needed = the target clip length × the frame rate, and the interval = the shoot duration ÷ those frames. A 60-minute shoot for a 20-second clip at 24 fps needs 480 frames, so shoot one every 7.5 seconds. Round the interval to what the intervalometer allows, then re-check the clip length.",
"inputs": {
"fps": 24,
"shoot_duration_min": 60,
"target_clip_seconds": 20
},
"frames_needed": 480,
"interval_seconds": 7.5
},
"meta": {
"timestamp": "2026-06-07T08:17:51.544Z",
"request_id": "9e417085-969a-44a9-993b-60663816eabf"
},
"status": "ok",
"message": "Interval",
"success": true
}