Skip to main content

Use the imaging capability

Submit Capture Requests from a workload, poll until a product is delivered, then download the image bytes. Camera-service owns admission and scheduling. Orbit predictions only help choose which target to ask for first; they do not guarantee capture. No callback endpoint is required.

Requests share spacecraft pointing with communications. See Space environment and simulation.

Call sequence​

Base path: https://api.dphi.space/camera/api/v1.

StepCall
1POST /capture/create with Idempotency-Key → 202 { "capture_id", "status": "queued" }
2Poll GET /capture/status?capture_id=… until delivered (or a terminal status)
3GET /asset/read?product_id=… for metadata
4GET /asset/read?product_id=…&download=true for image bytes

Cancel with POST /capture/cancel while the capture is still queued or committed. Status meanings are in Imaging lifecycle.

Request body (supported profile)​

{
"target": { "type": "point", "coordinates": [12.5, 41.9] },
"imaging": { "resolution": "high", "bands": ["PAN"] },
"timing": { "kind": "asap" },
"delivery": "offline",
"deadline": { "kind": "expire_at", "expire_at": "2026-12-31T00:00:00Z" },
"duration_s": 2.0
}
FieldWhat to send
targetPoint as [longitude, latitude].
imaginghigh with bands ["PAN"], or low with a non-empty subset of Sentinel-2 L2A bands (B01…B09, B8A, B11, B12).
timingasap only.
deliveryoffline only.
deadlineexpire_at (ISO time). If omitted, camera-service uses mission time plus two hours.
duration_sImage-line duration in seconds (default 1; high ≤ 5, low ≤ 10).

When setting the duration, bear in mind that 1 second corresponds to roughly 7 kilometers on ground along-track. Across-track width is fixed (12.3 kilometers for high resolution, 19.4 for low).

Status responses may still echo unused schema fields as null; ignore them.

What to expect​

Lifecycle. Each capture_id moves independently through queued → committed → executing → processing → delivered (or a terminal failure). Several captures can be outstanding together.

Reserved window. After commit, status includes window.start / window.end. That interval is longer than duration_s: camera-service adds pointing and command margin plus any band stagger. A duration_s of 1–2 s often reserves about 4–5 s of pointing.

Product format. Delivered products are 16-bit TIFF (content_type: image/tiff). High-resolution PAN is a single band; low-resolution products include the requested bands. Choose the file extension from content_type (typically .tif).

Verification. Compare downloaded byte length and SHA-256 to the metadata before keeping the file. A blank simulated frame can still be a valid product.

Image timestamps​

  • acquired_at records when the image was captured in mission time.
  • delivered_at records when the product was catalogued for delivery in wall-clock time.

Status deadlines and reserved windows also use mission time. To align an image with telemetry, use acquired_at and telemetry mission timestamps from the same simulator run. See Time and retention for the time fields available in orbital observations and historical telemetry.

Simulated image data​

Pixel values come from Sentinel-2 L2A, treat products as demo / engineering imagery:

  • When the requested footprint spans more than one Sentinel tile, these are stitched together. Adjacent tiles can be from different acquisition times, so a single product is not guaranteed to be temporally consistent.
  • Delivered products are not orthorectified onto a UTM grid. They follow the instrument pushbroom geometry.
  • Approximate ground sample distance: 1.5 m for high resolution (PAN), 10 m for low resolution. Native 20 m / 60 m Sentinel bands are upsampled onto the 10 m grid.
  • High-resolution detail is produced by a super-resolution model applied to Sentinel-2 data, then resampled to the commanded scene. It is not measured 1.5 m imagery and must not be treated as scientifically proven or scientifically valid data.

Examples​

The imaging example selects a target, waits for delivery, and stores the verified product under /data/results/imaging. Retrieve with storage downlink. Use an operator-approved OmniCloud test environment and keep independent copies.