idan054/sarra-split-screen-v1
Public
5.3K
runs
Run idan054/sarra-split-screen-v1 with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
|---|---|---|---|
| layout |
None
|
16:9 Side by side
|
Layout for combining videos
|
| duration_source |
None
|
video 1
|
Which video's duration to use
|
| audio_source |
None
|
video 1
|
Which video's audio to use
|
| quality_preset |
None
|
fast
|
Speed vs quality tradeoff
|
| video_1 |
string
|
First video file
|
|
| video_2 |
string
|
Second video file
|
|
| loop_videos |
boolean
|
True
|
Loop shorter video to match duration
|
{
"type": "object",
"title": "Input",
"required": [
"video_1",
"video_2"
],
"properties": {
"layout": {
"enum": [
"16:9 Side by side",
"9:16 Top & Bottom"
],
"type": "string",
"title": "layout",
"description": "Layout for combining videos",
"default": "16:9 Side by side",
"x-order": 2
},
"video_1": {
"type": "string",
"title": "Video 1",
"format": "uri",
"description": "First video file"
},
"video_2": {
"type": "string",
"title": "Video 2",
"format": "uri",
"description": "Second video file"
},
"loop_videos": {
"type": "boolean",
"title": "Loop Videos",
"default": true,
"description": "Loop shorter video to match duration"
},
"audio_source": {
"enum": [
"video 1",
"video 2"
],
"type": "string",
"title": "audio_source",
"description": "Which video's audio to use",
"default": "video 1",
"x-order": 5
},
"quality_preset": {
"enum": [
"fastest",
"fast",
"balanced"
],
"type": "string",
"title": "quality_preset",
"description": "Speed vs quality tradeoff",
"default": "fast",
"x-order": 6
},
"duration_source": {
"enum": [
"video 1",
"video 2"
],
"type": "string",
"title": "duration_source",
"description": "Which video's duration to use",
"default": "video 1",
"x-order": 3
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}