lucataco / dotted-video

Converts a video into a black and white dotted video effect

  • Public
  • 1.1K runs
  • CPU
  • GitHub
  • License
Iterate in playground

Input

*file

Input video file to apply the dotted effect

integer
(minimum: 4, maximum: 50)

Size of dots in pixels

Default: 4

boolean

If True, creates black dots on white background. If False, creates white dots on a black background.

Default: false

boolean

If True, dots appear on dark areas. If False, dots appear on bright areas.

Default: false

integer
(minimum: 0, maximum: 255)

Threshold for dot appearance

Default: 128

Output

Generated in

Run time and cost

This model costs approximately $0.00088 to run on Replicate, or 1136 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on CPU hardware. Predictions typically complete within 9 seconds.

Readme

About

Inspired by an OpenAI video, this is a cog model that takes a video and returns a black and white dotted video effect.

Claude prompt

Create a Replicate Cog model that takes in a video and does a black and white dotted video effect with parameters to adjust dot size & inverse effect