You're looking at a specific version of this model. Jump to the model overview.
vetkastar /text_overlay:8a3ce4e6
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 |
string
|
10,10,10,10
|
Padding in pixels (top, right, bottom, left)
|
padding_pct |
string
|
Padding in percentage (top, right, bottom, left)
|
|
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
|
text_align |
string
(enum)
|
left
Options: left, center, right |
Text alignment
|
font_style |
string
(enum)
|
none
Options: none, bold, italic, underline |
Font style
|
shadow_offset |
integer
|
0
|
Shadow offset in pixels
|
shadow_color |
string
|
#000000
|
Shadow color in HEX format
|
shadow_opacity |
number
|
100
|
Shadow opacity (0 to 100)
|
glow_size |
integer
|
0
|
Glow size in pixels
|
glow_color |
string
|
#FFFFFF
|
Glow color in HEX format
|
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'}