Slazzer
slazzerSlazzer provides AI-powered image background removal, enhancement, relighting, generation, and catalog image processing APIs.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Colorize Old PhotoSLAZZER_COLORIZE_OLD_PHOTOAcciónColorize and restore a black-and-white photo and return the result as a downloadable image. Processing costs one Slazzer credit.
SLAZZER_COLORIZE_OLD_PHOTOAcciónColorize and restore a black-and-white photo and return the result as a downloadable image. Processing costs one Slazzer credit.
Parámetros de entrada
render_factorintegerDetail factor from 7 to 40. Higher values may improve detail but take longer; processing costs one credit.
source_image_fileobjectObligatorioBlack-and-white PNG or JPEG photo to colorize and restore.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Catalog ImageSLAZZER_CREATE_CATALOG_IMAGEAcciónCreate a catalog-ready grocery, food, or furniture image using the matching Slazzer scene model.
SLAZZER_CREATE_CATALOG_IMAGEAcciónCreate a catalog-ready grocery, food, or furniture image using the matching Slazzer scene model.
Parámetros de entrada
seedintegerSeed for repeatable scene generation.
paddingstringOne or four pixel or percent values in top, right, bottom, left order; each value may be at most 49% of the subject size.
relightingbooleanRelight the product to match the generated scene.
canvas_sizestringOutput size in WIDTHxHEIGHT form; defaults upstream to the input size.
text_promptstringDesired generated scene. Required for furniture catalogs and optional for grocery or food catalogs.
catalog_typestringObligatorioenumCatalog model to use: grocery, food, or furniture.
groceryfoodfurniturescaling_modestringObligatorioenumFit preserves the full aspect ratio; fill may crop the product.
fitfillreference_typestringenumUse the extracted subject or original image as the composition reference.
subjectoriginalbackground_colorstringSolid catalog background in #RRGGBB form.
source_image_fileobjectObligatorioPNG or JPEG product image.
background_image_fileobjectCustom catalog background image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit Automobile ImageSLAZZER_EDIT_AUTOMOBILE_IMAGEAcciónRemove or replace an automobile background, optionally add a shadow or overlay or segment its number plate, and return the processed image, mask, or ZIP.
SLAZZER_EDIT_AUTOMOBILE_IMAGEAcciónRemove or replace an automobile background, optionally add a shadow or overlay or segment its number plate, and return the processed image, mask, or ZIP.
Parámetros de entrada
cropbooleanCrop transparent pixels around the automobile.
scalestringAutomobile scale from 10% to 100%.
formatstringenumOutput format.
pngjpgzipchannelstringenumReturn the color result or alpha mask.
rgbaalphapreviewbooleanReturn a lower-resolution preview.
positionstringPercentage placement; requires scale.
car_shadowbooleanAdd an artificial automobile shadow.
crop_marginstringPixel or percentage margins used when crop is true.
background_colorstringSolid replacement background in #RRGGBB form.
source_image_urlstringPublic source image URL; provide exactly one source image input.
source_image_fileobjectSource PNG or JPEG file; provide exactly one source image input.
number_plate_imageobjectImage to overlay on a detected number plate.
source_image_base64stringBase64 source image; provide exactly one source image input.
background_image_urlstringPublic replacement background URL; use at most one background image input.
background_image_fileobjectReplacement background image file; use at most one background image input.
background_image_base64stringBase64 replacement background image; use at most one background image input.
number_plate_segmentationbooleanReturn a plate segmentation alpha mask when a plate is detected.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enhance Image ColorsSLAZZER_ENHANCE_IMAGE_COLORSAcciónImprove an image's color, contrast, vibrancy, and visual quality and return the result as a downloadable image. Processing consumes 1 Slazzer credit.
SLAZZER_ENHANCE_IMAGE_COLORSAcciónImprove an image's color, contrast, vibrancy, and visual quality and return the result as a downloadable image. Processing consumes 1 Slazzer credit.
Parámetros de entrada
source_image_fileobjectObligatorioPNG or JPEG image to enhance. Processing costs 1 Slazzer credit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Image ShadowSLAZZER_GENERATE_IMAGE_SHADOWAcciónApply 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.
SLAZZER_GENERATE_IMAGE_SHADOWAcciónApply 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.
Parámetros de entrada
shadow_opacitynumberShadow opacity from 0.1 to 1.0. Processing costs 0.20 credit.
background_colorstringBackground color in 0xRRGGBB form.
source_image_fileobjectObligatorioPNG or JPEG product image to which the shadow will be applied.
light_source_positionstringObligatorioenumLight direction or shadow character. This field is required because Slazzer does not apply its documented default.
longshorttopleft
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Relight ImageSLAZZER_RELIGHT_IMAGEAcciónRelight a PNG or JPEG image with a selected brightness multiplier and return the result as a downloadable image. Processing costs one Slazzer credit.
SLAZZER_RELIGHT_IMAGEAcciónRelight a PNG or JPEG image with a selected brightness multiplier and return the result as a downloadable image. Processing costs one Slazzer credit.
Parámetros de entrada
brightness_factornumberOutput brightness multiplier from 1.0 to 2.0. Processing costs 1 credit.
source_image_fileobjectObligatorioPNG or JPEG image to relight.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Image BackgroundSLAZZER_REMOVE_IMAGE_BACKGROUNDAcciónRemove an image background, optionally replace it, and return the processed image or alpha mask as a downloadable file.
SLAZZER_REMOVE_IMAGE_BACKGROUNDAcciónRemove an image background, optionally replace it, and return the processed image or alpha mask as a downloadable file.
Parámetros de entrada
roistringFour pixel or percentage coordinates defining the foreground region of interest.
cropbooleanCrop transparent pixels around the subject.
scalestringSubject scale from 10% to 100%.
formatstringenumOutput format; ZIP contains the color image and alpha matte.
pngjpgzipchannelstringenumReturn the color result or only the alpha mask.
rgbaalphapreviewbooleanReturn a lower-cost 0.25 MP preview.
positionstringOne or two percentage coordinates for subject placement; requires scale.
car_shadowbooleanAdd an artificial shadow for a car image.
crop_marginstringMargin used when crop is true, as one, two, or four CSS-like px or percent values.
background_colorstringSolid replacement background in #RRGGBB form.
source_image_urlstringPublic source image URL; provide exactly one source image input.
source_image_fileobjectSource PNG or JPEG file; provide exactly one source image input.
source_image_base64stringBase64 source image, optionally as a data URI; provide exactly one source image input.
background_image_urlstringPublic replacement background image URL; use at most one background image input.
background_image_fileobjectReplacement background image file; use at most one background image input.
background_image_base64stringBase64 replacement background image; use at most one background image input.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Replace SkySLAZZER_REPLACE_SKYAcciónReplace an image's sky or background with another image or a solid color and return the processed file. Processing consumes 1 Slazzer credit.
SLAZZER_REPLACE_SKYAcciónReplace an image's sky or background with another image or a solid color and return the processed file. Processing consumes 1 Slazzer credit.
Parámetros de entrada
background_colorstringReplacement color in #RRGGBB form; provide this or background_image_file.
source_image_fileobjectObligatorioPNG or JPEG image whose sky or background should be replaced.
background_image_fileobjectReplacement sky or background image; provide this or background_color.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upscale ImageSLAZZER_UPSCALE_IMAGEAcciónUpscale a PNG or JPEG image by 2x or 4x and return the result as a downloadable file.
SLAZZER_UPSCALE_IMAGEAcciónUpscale a PNG or JPEG image by 2x or 4x and return the result as a downloadable file.
Parámetros de entrada
scalestringenumUpscaling factor. 2x costs 0.5 credit and 4x costs 1 credit.
24source_image_fileobjectObligatorioPNG or JPEG image to upscale.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not