
andreasjansson/h.264-glitch
Video corruption as a service
Public
48
runs
Run andreasjansson/h.264-glitch 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 |
---|---|---|---|
video |
string
|
Input MP4 video (will be truncated to 2 minutes)
|
|
glitch_intensity |
number
|
0.45
Max: 1 |
0.0–1.0
|
seed |
integer
|
Random seed (None=random)
|
|
freeze_intro_frames |
integer
|
0
Max: 120 |
Freeze the first IDR for N frames
|
disable_frame_rate_effects |
boolean
|
False
|
Disable frame duplication and shuffling that cause stop-start effects
|
{
"type": "object",
"title": "Input",
"required": [
"video"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 2,
"nullable": true,
"description": "Random seed (None=random)"
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 0,
"description": "Input MP4 video (will be truncated to 2 minutes)"
},
"glitch_intensity": {
"type": "number",
"title": "Glitch Intensity",
"default": 0.45,
"maximum": 1,
"minimum": 0,
"x-order": 1,
"description": "0.0\u20131.0"
},
"freeze_intro_frames": {
"type": "integer",
"title": "Freeze Intro Frames",
"default": 0,
"maximum": 120,
"minimum": 0,
"x-order": 3,
"description": "Freeze the first IDR for N frames"
},
"disable_frame_rate_effects": {
"type": "boolean",
"title": "Disable Frame Rate Effects",
"default": false,
"x-order": 4,
"description": "Disable frame duplication and shuffling that cause stop-start effects"
}
}
}
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"
}
Example API response
View prediction
'https://replicate.delivery/xezq/SOsaDayP7R48CZ11NOl5OxeHCLuu0YAdFX6dQdQLZi08fiKVA/final_glitched_video.mp4'