clips_horizontal
Batch-cut a set of your own chosen horizontal 16:9 clips from a prior find_clips job in one purchase, delivered as SEPARATE files. Two-call flow: (1) call with source_job_id (a find_clips job id) and clips (1-5 objects {start, end, title?} in source seconds — your own picks from that job's clip-candidates output; nothing is auto-selected) to receive {job_id, payment_challenge}; (2) pay by credit card via the returned payment_url or Tempo USDC via mppx, then call again with job_id + payment_credential to start processing. Poll get_job_status(job_id); outputs are roles clip-1-video through clip-N-video (one .mp4 per requested clip, source framing and resolution preserved) plus clips-manifest (JSON) recording each clip's timing, output role, and any per-clip failure — a batch delivering fewer than N clips is not refunded, only one delivering zero is. Price: N × $0.50 per clip, charged once for the whole batch (Stripe quantity) rather than once per clip — see /.well-known/mpp.json for the Tempo USDC rate. No profile or subject parameters: horizontal keeps the source framing, so there is no crop to aim. Choose deliberately between this and extract_clip: extract_clip with several segments concatenates them into ONE highlight reel at the single-clip price, while this cuts N SEPARATE files at N × that price. Use this when each moment stands alone; use extract_clip when you want one file, need per-clip transcripts, or need more than 5 moments from one source. Use clips_vertical instead for 9:16 social output. Source must still be in storage — check expires_at on the find_clips parent via get_job_status. Retrying with job_id alone recovers the current state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | No | Your own chosen clips (1-5) from source_job_id's clip-candidates output — nothing is auto-selected. Each is cut as a SEPARATE horizontal file; the batch is charged N × the per-clip price as one payment covering the whole set, not one charge per clip. Total duration across all clips is capped. Required on the first call. | |
| job_id | No | Job ID returned from a previous clips_horizontal call. Include along with payment_credential to confirm payment and trigger processing. Also include alone to recover the current state. | |
| source_job_id | No | Job ID of a prior find_clips job. Possessing this id is the capability — clips_horizontal is not session-bound, so a user can come back from a different session within the parent's TTL and still cut. Required on the first call. | |
| payment_credential | No | MPP payment credential (full Authorization header value, e.g. "Payment eyJ..."). clips_horizontal accepts Tempo USDC and Stripe SPT — see the challenge's WWW-Authenticate header or /.well-known/mpp.json for the supported methods. Include with job_id after paying the challenge to start processing. |