Volver al catálogo

Slazzer

slazzer

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

Acciones
9
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Colorize 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_factorinteger

    Detail factor from 7 to 40. Higher values may improve detail but take longer; processing costs one credit.

  • source_image_fileobjectObligatorio

    Black-and-white PNG or JPEG photo to colorize and restore.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Catalog ImageSLAZZER_CREATE_CATALOG_IMAGEAcción

Create a catalog-ready grocery, food, or furniture image using the matching Slazzer scene model.

Parámetros de entrada

  • seedinteger

    Seed for repeatable scene generation.

  • paddingstring

    One or four pixel or percent values in top, right, bottom, left order; each value may be at most 49% of the subject size.

  • relightingboolean

    Relight the product to match the generated scene.

  • canvas_sizestring

    Output size in WIDTHxHEIGHT form; defaults upstream to the input size.

  • text_promptstring

    Desired generated scene. Required for furniture catalogs and optional for grocery or food catalogs.

  • catalog_typestringObligatorioenum

    Catalog model to use: grocery, food, or furniture.

    groceryfoodfurniture
  • scaling_modestringObligatorioenum

    Fit preserves the full aspect ratio; fill may crop the product.

    fitfill
  • reference_typestringenum

    Use the extracted subject or original image as the composition reference.

    subjectoriginal
  • background_colorstring

    Solid catalog background in #RRGGBB form.

  • source_image_fileobjectObligatorio

    PNG or JPEG product image.

  • background_image_fileobject

    Custom catalog background image.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit Automobile ImageSLAZZER_EDIT_AUTOMOBILE_IMAGEAcción

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.

Parámetros de entrada

  • cropboolean

    Crop transparent pixels around the automobile.

  • scalestring

    Automobile scale from 10% to 100%.

  • formatstringenum

    Output format.

    pngjpgzip
  • channelstringenum

    Return the color result or alpha mask.

    rgbaalpha
  • previewboolean

    Return a lower-resolution preview.

  • positionstring

    Percentage placement; requires scale.

  • car_shadowboolean

    Add an artificial automobile shadow.

  • crop_marginstring

    Pixel or percentage margins used when crop is true.

  • background_colorstring

    Solid replacement background in #RRGGBB form.

  • source_image_urlstring

    Public source image URL; provide exactly one source image input.

  • source_image_fileobject

    Source PNG or JPEG file; provide exactly one source image input.

  • number_plate_imageobject

    Image to overlay on a detected number plate.

  • source_image_base64string

    Base64 source image; provide exactly one source image input.

  • background_image_urlstring

    Public replacement background URL; use at most one background image input.

  • background_image_fileobject

    Replacement background image file; use at most one background image input.

  • background_image_base64string

    Base64 replacement background image; use at most one background image input.

  • number_plate_segmentationboolean

    Return a plate segmentation alpha mask when a plate is detected.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enhance Image ColorsSLAZZER_ENHANCE_IMAGE_COLORSAcción

Improve 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_fileobjectObligatorio

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Image ShadowSLAZZER_GENERATE_IMAGE_SHADOWAcción

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.

Parámetros de entrada

  • shadow_opacitynumber

    Shadow opacity from 0.1 to 1.0. Processing costs 0.20 credit.

  • background_colorstring

    Background color in 0xRRGGBB form.

  • source_image_fileobjectObligatorio

    PNG or JPEG product image to which the shadow will be applied.

  • light_source_positionstringObligatorioenum

    Light direction or shadow character. This field is required because Slazzer does not apply its documented default.

    longshorttopleft

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Relight ImageSLAZZER_RELIGHT_IMAGEAcción

Relight 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_factornumber

    Output brightness multiplier from 1.0 to 2.0. Processing costs 1 credit.

  • source_image_fileobjectObligatorio

    PNG or JPEG image to relight.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Image BackgroundSLAZZER_REMOVE_IMAGE_BACKGROUNDAcción

Remove an image background, optionally replace it, and return the processed image or alpha mask as a downloadable file.

Parámetros de entrada

  • roistring

    Four pixel or percentage coordinates defining the foreground region of interest.

  • cropboolean

    Crop transparent pixels around the subject.

  • scalestring

    Subject scale from 10% to 100%.

  • formatstringenum

    Output format; ZIP contains the color image and alpha matte.

    pngjpgzip
  • channelstringenum

    Return the color result or only the alpha mask.

    rgbaalpha
  • previewboolean

    Return a lower-cost 0.25 MP preview.

  • positionstring

    One or two percentage coordinates for subject placement; requires scale.

  • car_shadowboolean

    Add an artificial shadow for a car image.

  • crop_marginstring

    Margin used when crop is true, as one, two, or four CSS-like px or percent values.

  • background_colorstring

    Solid replacement background in #RRGGBB form.

  • source_image_urlstring

    Public source image URL; provide exactly one source image input.

  • source_image_fileobject

    Source PNG or JPEG file; provide exactly one source image input.

  • source_image_base64string

    Base64 source image, optionally as a data URI; provide exactly one source image input.

  • background_image_urlstring

    Public replacement background image URL; use at most one background image input.

  • background_image_fileobject

    Replacement background image file; use at most one background image input.

  • background_image_base64string

    Base64 replacement background image; use at most one background image input.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace SkySLAZZER_REPLACE_SKYAcción

Replace 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_colorstring

    Replacement color in #RRGGBB form; provide this or background_image_file.

  • source_image_fileobjectObligatorio

    PNG or JPEG image whose sky or background should be replaced.

  • background_image_fileobject

    Replacement sky or background image; provide this or background_color.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upscale ImageSLAZZER_UPSCALE_IMAGEAcción

Upscale a PNG or JPEG image by 2x or 4x and return the result as a downloadable file.

Parámetros de entrada

  • scalestringenum

    Upscaling factor. 2x costs 0.5 credit and 4x costs 1 credit.

    24
  • source_image_fileobjectObligatorio

    PNG or JPEG image to upscale.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not