vetkastar / gradient-overlay

  • Public
  • 2.6K runs
  • CPU

Input

*file

Upload the image to which the gradient will be applied.

*string

Choose the gradient type: linear or radial.

string
Shift + Return to add a new line

Starting color of the gradient in HEX format (e.g., #FF0000 for red). Leave empty for transparent.

string
Shift + Return to add a new line

Ending color of the gradient in HEX format (e.g., #0000FF for blue). Leave empty for transparent.

integer
(minimum: 0, maximum: 360)

Angle of the gradient in degrees (0 to 360).

Default: 0

integer
(minimum: 0, maximum: 100)

Overall opacity of the gradient from 0 to 100.

Default: 50

integer
(minimum: 0, maximum: 100)

Position of the boundary between start and end colors (0 to 100).

Default: 50

boolean

If enabled, outputs only the gradient without overlaying on the original image.

Default: false

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.0013 to run on Replicate, or 769 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 13 seconds.

Readme

This model doesn't have a readme.