vetkastar / test

  • Public
  • 0 runs

Run vetkastar/test with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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 (ignored if text_box is specified)
font_color
string
#000000
Font color in HEX format (ignored if gradient is specified)
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) (ignored if text_box is specified)
padding_pct
string
Padding in percentage (top, right, bottom, left) (ignored if text_box is specified)
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 (ignored if text_box is specified)
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
rotation_slider
integer
0

Max: 360

Rotation angle in degrees (0 to 360)
text_only
boolean
False
Save only the text on a transparent background
gradient_start
string
Gradient start color in HEX format
gradient_end
string
Gradient end color in HEX format
gradient_type
string (enum)
linear

Options:

linear, radial

Gradient type
gradient_rotation
integer
0

Max: 360

Gradient rotation angle in degrees (0 to 360)
text_box
string
Text bounding box in pixels (left, top, right, bottom)
show_text_box
boolean
False
Show text bounding box

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}