Skip to main content
Slazzer logo
  • Category: images & design
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 9
  • Triggers: 0
  • Slug: SLAZZER
  • Version: 20261101_00

Tools

Slug: SLAZZER_COLORIZE_OLD_PHOTOColorize and restore a black-and-white photo and return the result as a downloadable image. Processing costs one Slazzer credit.

Input Parameters

integer
Detail factor from 7 to 40. Higher values may improve detail but take longer; processing costs one credit.
object
required
Black-and-white PNG or JPEG photo to colorize and restore.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_CREATE_CATALOG_IMAGECreate a catalog-ready grocery, food, or furniture image using the matching Slazzer scene model.

Input Parameters

integer
Seed for repeatable scene generation.
string
One or four pixel or percent values in top, right, bottom, left order; each value may be at most 49% of the subject size.
boolean
Relight the product to match the generated scene.
string
Output size in WIDTHxHEIGHT form; defaults upstream to the input size.
string
Desired generated scene. Required for furniture catalogs and optional for grocery or food catalogs.
string ("grocery" | "food" | "furniture")
required
Catalog model to use: grocery, food, or furniture.
string ("fit" | "fill")
required
Fit preserves the full aspect ratio; fill may crop the product.
string ("subject" | "original")
Use the extracted subject or original image as the composition reference.
string
Solid catalog background in #RRGGBB form.
object
required
PNG or JPEG product image.
object
Custom catalog background image.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_EDIT_AUTOMOBILE_IMAGERemove or replace an automobile background, optionally add a shadow or overlay or segment its number plate, and return the processed image, mask, or ZIP.

Input Parameters

boolean
Crop transparent pixels around the automobile.
string
Automobile scale from 10% to 100%.
string ("png" | "jpg" | "zip")
Output format.
string ("rgba" | "alpha")
Return the color result or alpha mask.
boolean
Return a lower-resolution preview.
string
Percentage placement; requires scale.
boolean
Add an artificial automobile shadow.
string
Pixel or percentage margins used when crop is true.
string
Solid replacement background in #RRGGBB form.
string
Public source image URL; provide exactly one source image input.
object
Source PNG or JPEG file; provide exactly one source image input.
object
Image to overlay on a detected number plate.
string
Base64 source image; provide exactly one source image input.
string
Public replacement background URL; use at most one background image input.
object
Replacement background image file; use at most one background image input.
string
Base64 replacement background image; use at most one background image input.
boolean
Return a plate segmentation alpha mask when a plate is detected.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_ENHANCE_IMAGE_COLORSImprove an image’s color, contrast, vibrancy, and visual quality and return the result as a downloadable image. Processing consumes 1 Slazzer credit.

Input Parameters

object
required
PNG or JPEG image to enhance. Processing costs 1 Slazzer credit.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_GENERATE_IMAGE_SHADOWApply an AI-generated studio shadow to a PNG or JPEG product image and return the result as a downloadable file. Processing costs 0.20 Slazzer credit.

Input Parameters

number
Shadow opacity from 0.1 to 1.0. Processing costs 0.20 credit.
string
Background color in 0xRRGGBB form.
object
required
PNG or JPEG product image to which the shadow will be applied.
string ("long" | "short" | "top" | "left")
required
Light direction or shadow character. This field is required because Slazzer does not apply its documented default.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_RELIGHT_IMAGERelight a PNG or JPEG image with a selected brightness multiplier and return the result as a downloadable image. Processing costs one Slazzer credit.

Input Parameters

number
Output brightness multiplier from 1.0 to 2.0. Processing costs 1 credit.
object
required
PNG or JPEG image to relight.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_REMOVE_IMAGE_BACKGROUNDRemove an image background, optionally replace it, and return the processed image, alpha mask, or ZIP archive as a downloadable file.

Input Parameters

string
Four pixel or percentage coordinates defining the foreground region of interest.
boolean
Crop transparent pixels around the subject.
string
Subject scale from 10% to 100%.
string ("png" | "jpg" | "zip")
Output format; ZIP contains the color image and alpha matte.
string ("rgba" | "alpha")
Return the color result or only the alpha mask.
boolean
Return a lower-cost 0.25 MP preview.
string
One or two percentage coordinates for subject placement; requires scale.
boolean
Add an artificial shadow for a car image.
string
Margin used when crop is true, as one, two, or four CSS-like px or percent values.
string
Solid replacement background in #RRGGBB form.
string
Public source image URL; provide exactly one source image input.
object
Source PNG or JPEG file; provide exactly one source image input.
string
Base64 source image, optionally as a data URI; provide exactly one source image input.
string
Public replacement background image URL; use at most one background image input.
object
Replacement background image file; use at most one background image input.
string
Base64 replacement background image; use at most one background image input.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_REPLACE_SKYReplace an image’s sky or background with another image or a solid color and return the processed file. Processing consumes 1 Slazzer credit.

Input Parameters

string
Replacement color in #RRGGBB form; provide this or background_image_file.
object
required
PNG or JPEG image whose sky or background should be replaced.
object
Replacement sky or background image; provide this or background_color.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SLAZZER_UPSCALE_IMAGEUpscale a PNG or JPEG image by 2x or 4x and return the result as a downloadable file.

Input Parameters

string ("2" | "4")
Upscaling factor. 2x costs 0.5 credit and 4x costs 1 credit.
object
required
PNG or JPEG image to upscale.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not