You're looking at a specific version of this model. Jump to the model overview.

nelsonjchen /op-replay-clipper:f97b40e7

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
renderType
string (enum)
ui

Options:

ui, forward, wide, driver, 360, forward_upon_wide, 360_forward_upon_wide

UI renders with UI. Forward, Wide, and Driver process the raw, segmented, and low-compatibility HEVC video files into a portable H.264 MP4 file, are fast transcodes, and are great for quick previews. 360 requires viewing/uploading the video file in VLC or YouTube to pan around in a 🌐 sphere. Forward Upon Wide roughly overlays Forward video on Wide video. 360 Forward Upon Wide is 360 with Forward Upon Wide as the forward video.
route
string
https://connect.comma.ai/a2a0ccea32023010/1690488131496/1690488151496
🔗 comma connect URL (e.g. https://connect.comma.ai/fe18f736cb0d7813/1698620773416/1698620855707, this is the preferred input method and includes dongle ID with start/end times.) OR #️⃣ route ID (e.g. a2a0ccea32023010|2023-07-27--13-01-19. Note that any segment ID "--" appended to the end will be ignored as"startSecond" is used instead, but route id portion of input will still accepted) (⚠️ "Public Access" must be enabled or a valid JWT Token must be provided. All required files for render type in Comma Connect must be uploaded from device. Please see the Quick Usage section of the README on GitHub at https://github.com/nelsonjchen/op-replay-clipper#quick-usage for instructions on generating an appropiate comma connect URL.)
startSeconds
integer
50
Start time in seconds for #️⃣ Route ID route input only. (🔗 comma connect URL already has the start time embedded in it and this input will be ignored in favor of that)
lengthSeconds
integer
20

Min: 5

Max: 300

Length of clip in seconds #️⃣ Route ID route input only. (🔗 comma connect URL already has the length time indirectly embedded in it from the embedded end time and this input will be ignored in favor of that. The minimum and maximum length will still be enforced)
smearAmount
integer
5

Min: 5

Max: 40

(UI Render only) Smear amount (Let the video start this time before beginning recording, useful for making sure the radar triangle (△), if not present, is present to be rendered at the start if necessary)
speedhackRatio
number
1

Min: 0.1

Max: 7

(UI Render only) Speedhack ratio (Higher ratio renders faster but renders may be more unstable and have artifacts) (Suggestion: 0.1-0.3 for jitter-free, 1-3 for fast renders)
metric
boolean
False
(UI Render only) Render in metric units (km/h)
forwardUponWideH
number
2.2

Min: 1.9

Max: 2.3

(Forward Upon Wide Renders only) H-position of the forward video overlay on wide. Different devices can have different offsets from differing user mounting or factory calibration.
fileSize
integer
25

Min: 10

Max: 100

Rough size of clip output in MB.
jwtToken
string
Optional JWT Token from https://jwt.comma.ai for non-"Public access" routes. ⚠️ DO NOT SHARE THIS TOKEN WITH ANYONE as https://jwt.comma.ai generates JWT tokens valid for 1 year and they are irrevocable. Please use the safer, optionally temporary, more granular, and revocable "Public Access" toggle option on comma connect if possible. For more info, please see https://github.com/nelsonjchen/op-replay-clipper#jwt-token-input .
notes
string
Notes Text field. Doesn't affect output. For your own reference.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}