You're looking at a specific version of this model. Jump to the model overview.
zsxkib /tool-merge-images:d933c835
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 |
---|---|---|---|
images |
array
|
Images to merge (order preserved)
|
|
orientation |
string
(enum)
|
horizontal
Options: horizontal, vertical |
Direction of the strip
|
alignment |
string
(enum)
|
center
Options: start, center, end |
Alignment perpendicular to orientation
|
resize_strategy |
string
(enum)
|
reduce_larger
Options: none, magnify_smaller, reduce_larger, crop_larger |
How to equalise sizes along the orientation axis
|
keep_aspect_ratio |
boolean
|
True
|
Maintain aspect ratio when resizing
|
border_thickness |
integer
|
0
|
Border thickness (px) — around and between images
|
border_color |
string
|
#ffffff
|
Border colour (hex or Pillow keyword)
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, jpeg, png |
Output format
|
output_quality |
integer
|
90
Min: 1 Max: 100 |
Lossy quality 1-100 (ignored for PNG)
|
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'}