You're looking at a specific version of this model. Jump to the model overview.
vetkastar /gradient-overlay:60161a01
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 |
---|---|---|---|
image |
string
|
Upload the image to which the gradient will be applied.
|
|
gradient_type |
string
(enum)
|
Options: linear, radial |
Choose the gradient type: linear or radial.
|
start_color |
string
|
#000000
|
Starting color of the gradient in HEX format.
|
end_color |
string
|
#FFFFFF
|
Ending color of the gradient in HEX format.
|
angle |
integer
|
0
Max: 360 |
Angle of the gradient in degrees (0 to 360).
|
opacity |
integer
|
50
Max: 100 |
Overall opacity of the gradient from 0 to 100.
|
color_boundary |
integer
|
50
Max: 100 |
Position of the boundary between start and end colors (0 to 100).
|
blur_amount |
integer
|
0
Max: 100 |
Amount of blur applied to the gradient (0 to 100).
|
gradient_only |
boolean
|
False
|
If enabled, outputs only the gradient without overlaying on the original image.
|
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'}