edit_from_multiple_cameras
Assemble one continuous edit from 2 camera files of the same event that started rolling at different moments. It syncs the cameras from their audio (a clap or sharp sound in the first 30 seconds of every file is the fallback), picks the camera that frames each voice by diarization, and renders one video at the main camera's resolution and fps (1080p ceiling). Three calls: (1) call with inputs (array of {filename, name?}, index 0 = the main camera) to receive {job_id, payment_challenge}. (2) After payment, call again with job_id (+ payment_credential on the MPP rail) to receive upload_urls[]: one presigned PUT URL per camera, 1h expiry. (3) PUT every file to its URL, call complete_upload(job_id) once ALL are uploaded (a partial upload is rejected naming the missing indices), then poll get_job_status(job_id). Optional offsets (seconds per camera, offsets[0] = 0, others may be negative) skip clap detection for footage with no clap; optional cuts ({source, start, end} in each camera's own timeline) render exactly the angles you give and skip automatic selection; show (speaker default, or listener) and n_speakers tune automatic selection. Output: role edit, one H.264 video with audio loudness-normalized to -14 LUFS / -1.5 dBTP, as long as the main camera and at most 60 minutes. Flat price for the whole job regardless of camera count: $3.00, see /.well-known/mpp.json for the Tempo USDC rate. Allow about 1.5 minutes of processing per minute of footage, plus upload time. The result is a normal video job: pass its job_id to clips_from_job as source_job_id to cut clips from the finished edit (it stays in storage 72h). Use for multi-camera interviews, podcasts and panels; use clips_from_job instead to cut a single existing video. Voice-based selection only (no gaze). Retrying with job_id alone recovers the current state or fresh upload URLs. Failed jobs auto-refund. Payment: pay by credit card via the Stripe Checkout link (open the returned payment_url in any browser) or Tempo USDC via mppx; the challenge's WWW-Authenticate header and /.well-known/mpp.json are authoritative for which methods are offered.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edit_from_multiple_cameras"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cuts | No | ||
| show | No | ||
| title | No | ||
| inputs | No | ||
| job_id | No | ||
| offsets | No | ||
| n_speakers | No | ||
| payment_credential | No |