> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Slazzer

> Slazzer provides AI-powered image background removal, enhancement, relighting, generation, and catalog image processing APIs.

![Slazzer logo](https://mintcdn.com/composio-preview/B09iGux45A5cYDuO/images/toolkits/slazzer.svg?fit=max\&auto=format\&n=B09iGux45A5cYDuO\&q=85\&s=fc2868519ea498284e6f2f7000a388e2)

* **Category:** images & design
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 9
* **Triggers:** 0
* **Slug:** `SLAZZER`
* **Version:** 20261101\_00

## Tools

> [accordion] Colorize Old Photo
>
> **Slug:** `SLAZZER_COLORIZE_OLD_PHOTO`
>
> Colorize and restore a black-and-white photo and return the result as a downloadable image. Processing costs one Slazzer credit.
>
> #### Input Parameters
>
> **render\_factor** `integer`
>
> Detail factor from 7 to 40. Higher values may improve detail but take longer; processing costs one credit.
>
> **source\_image\_file** `object` *required*
>
> Black-and-white PNG or JPEG photo to colorize and restore.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Catalog Image
>
> **Slug:** `SLAZZER_CREATE_CATALOG_IMAGE`
>
> Create a catalog-ready grocery, food, or furniture image using the matching Slazzer scene model.
>
> #### Input Parameters
>
> **seed** `integer`
>
> Seed for repeatable scene generation.
>
> **padding** `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.
>
> **relighting** `boolean`
>
> Relight the product to match the generated scene.
>
> **canvas\_size** `string`
>
> Output size in WIDTHxHEIGHT form; defaults upstream to the input size.
>
> **text\_prompt** `string`
>
> Desired generated scene. Required for furniture catalogs and optional for grocery or food catalogs.
>
> **catalog\_type** `string ("grocery" | "food" | "furniture")` *required*
>
> Catalog model to use: grocery, food, or furniture.
>
> **scaling\_mode** `string ("fit" | "fill")` *required*
>
> Fit preserves the full aspect ratio; fill may crop the product.
>
> **reference\_type** `string ("subject" | "original")`
>
> Use the extracted subject or original image as the composition reference.
>
> **background\_color** `string`
>
> Solid catalog background in #RRGGBB form.
>
> **source\_image\_file** `object` *required*
>
> PNG or JPEG product image.
>
> **background\_image\_file** `object`
>
> Custom catalog background image.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Edit Automobile Image
>
> **Slug:** `SLAZZER_EDIT_AUTOMOBILE_IMAGE`
>
> Remove 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
>
> **crop** `boolean`
>
> Crop transparent pixels around the automobile.
>
> **scale** `string`
>
> Automobile scale from 10% to 100%.
>
> **format** `string ("png" | "jpg" | "zip")`
>
> Output format.
>
> **channel** `string ("rgba" | "alpha")`
>
> Return the color result or alpha mask.
>
> **preview** `boolean`
>
> Return a lower-resolution preview.
>
> **position** `string`
>
> Percentage placement; requires scale.
>
> **car\_shadow** `boolean`
>
> Add an artificial automobile shadow.
>
> **crop\_margin** `string`
>
> Pixel or percentage margins used when crop is true.
>
> **background\_color** `string`
>
> Solid replacement background in #RRGGBB form.
>
> **source\_image\_url** `string`
>
> Public source image URL; provide exactly one source image input.
>
> **source\_image\_file** `object`
>
> Source PNG or JPEG file; provide exactly one source image input.
>
> **number\_plate\_image** `object`
>
> Image to overlay on a detected number plate.
>
> **source\_image\_base64** `string`
>
> Base64 source image; provide exactly one source image input.
>
> **background\_image\_url** `string`
>
> Public replacement background URL; use at most one background image input.
>
> **background\_image\_file** `object`
>
> Replacement background image file; use at most one background image input.
>
> **background\_image\_base64** `string`
>
> Base64 replacement background image; use at most one background image input.
>
> **number\_plate\_segmentation** `boolean`
>
> Return a plate segmentation alpha mask when a plate is detected.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Enhance Image Colors
>
> **Slug:** `SLAZZER_ENHANCE_IMAGE_COLORS`
>
> Improve an image's color, contrast, vibrancy, and visual quality and return the result as a downloadable image. Processing consumes 1 Slazzer credit.
>
> #### Input Parameters
>
> **source\_image\_file** `object` *required*
>
> PNG or JPEG image to enhance. Processing costs 1 Slazzer credit.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Generate Image Shadow
>
> **Slug:** `SLAZZER_GENERATE_IMAGE_SHADOW`
>
> Apply 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
>
> **shadow\_opacity** `number`
>
> Shadow opacity from 0.1 to 1.0. Processing costs 0.20 credit.
>
> **background\_color** `string`
>
> Background color in 0xRRGGBB form.
>
> **source\_image\_file** `object` *required*
>
> PNG or JPEG product image to which the shadow will be applied.
>
> **light\_source\_position** `string ("long" | "short" | "top" | "left")` *required*
>
> Light direction or shadow character. This field is required because Slazzer does not apply its documented default.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Relight Image
>
> **Slug:** `SLAZZER_RELIGHT_IMAGE`
>
> Relight 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
>
> **brightness\_factor** `number`
>
> Output brightness multiplier from 1.0 to 2.0. Processing costs 1 credit.
>
> **source\_image\_file** `object` *required*
>
> PNG or JPEG image to relight.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Remove Image Background
>
> **Slug:** `SLAZZER_REMOVE_IMAGE_BACKGROUND`
>
> Remove an image background, optionally replace it, and return the processed image, alpha mask, or ZIP archive as a downloadable file.
>
> #### Input Parameters
>
> **roi** `string`
>
> Four pixel or percentage coordinates defining the foreground region of interest.
>
> **crop** `boolean`
>
> Crop transparent pixels around the subject.
>
> **scale** `string`
>
> Subject scale from 10% to 100%.
>
> **format** `string ("png" | "jpg" | "zip")`
>
> Output format; ZIP contains the color image and alpha matte.
>
> **channel** `string ("rgba" | "alpha")`
>
> Return the color result or only the alpha mask.
>
> **preview** `boolean`
>
> Return a lower-cost 0.25 MP preview.
>
> **position** `string`
>
> One or two percentage coordinates for subject placement; requires scale.
>
> **car\_shadow** `boolean`
>
> Add an artificial shadow for a car image.
>
> **crop\_margin** `string`
>
> Margin used when crop is true, as one, two, or four CSS-like px or percent values.
>
> **background\_color** `string`
>
> Solid replacement background in #RRGGBB form.
>
> **source\_image\_url** `string`
>
> Public source image URL; provide exactly one source image input.
>
> **source\_image\_file** `object`
>
> Source PNG or JPEG file; provide exactly one source image input.
>
> **source\_image\_base64** `string`
>
> Base64 source image, optionally as a data URI; provide exactly one source image input.
>
> **background\_image\_url** `string`
>
> Public replacement background image URL; use at most one background image input.
>
> **background\_image\_file** `object`
>
> Replacement background image file; use at most one background image input.
>
> **background\_image\_base64** `string`
>
> Base64 replacement background image; use at most one background image input.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Replace Sky
>
> **Slug:** `SLAZZER_REPLACE_SKY`
>
> Replace 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
>
> **background\_color** `string`
>
> Replacement color in #RRGGBB form; provide this or background\_image\_file.
>
> **source\_image\_file** `object` *required*
>
> PNG or JPEG image whose sky or background should be replaced.
>
> **background\_image\_file** `object`
>
> Replacement sky or background image; provide this or background\_color.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Upscale Image
>
> **Slug:** `SLAZZER_UPSCALE_IMAGE`
>
> Upscale a PNG or JPEG image by 2x or 4x and return the result as a downloadable file.
>
> #### Input Parameters
>
> **scale** `string ("2" | "4")`
>
> Upscaling factor. 2x costs 0.5 credit and 4x costs 1 credit.
>
> **source\_image\_file** `object` *required*
>
> PNG or JPEG image to upscale.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
