Μετάβαση στο περιεχόμενο
GET /v1/interval

Interval for a target clip

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/timelapse-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}