You're looking at a specific version of this model. Jump to the model overview.
vetkastar /text_overlay:56f30181
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
|
Input image
|
|
| text |
string
|
Text to overlay on the image
|
|
| font_size |
integer
|
24
|
Font size
|
| font_color |
string
|
#000000
|
Font color in HEX format
|
| font_file |
string
|
Path to a local font file
|
|
| font_url |
string
|
URL to a Google Font
|
|
| padding_left |
integer
|
10
|
Left padding in pixels
|
| padding_top |
integer
|
10
|
Top padding in pixels
|
| padding_right |
integer
|
10
|
Right padding in pixels
|
| padding_bottom |
integer
|
10
|
Bottom padding in pixels
|
| padding_left_pct |
number
|
0
|
Left padding in percentage
|
| padding_top_pct |
number
|
0
|
Top padding in percentage
|
| padding_right_pct |
number
|
0
|
Right padding in percentage
|
| padding_bottom_pct |
number
|
0
|
Bottom padding in percentage
|
| outline_width |
integer
|
0
|
Outline width in pixels
|
| outline_color |
string
|
#000000
|
Outline color in HEX format
|
| opacity |
number
|
100
|
Text opacity (0 to 100)
|
| letter_spacing |
integer
|
0
|
Letter spacing in pixels
|
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'}