Filter on Image

    POSThttps://picnie.com/api/v1/filter-on-image
    Apply a filter to an image. Supported filters: IMG_FILTER_NEGATE, IMG_FILTER_GRAYSCALE, IMG_FILTER_EDGEDETECT, IMG_FILTER_EMBOSS, IMG_FILTER_GAUSSIAN_BLUR, IMG_FILTER_SELECTIVE_BLUR, IMG_FILTER_MEAN_REMOVAL.

    Headers

    NameTypeDescription
    Authorization*
    string

    Pass api key in the authorization field

    Example:YOUR_API_KEY

    Body Parameters

    NameTypeDescription
    project_id*
    integer

    The ID of the project.

    Example:8

    image_url*
    string

    URL of the image to filter.

    Example:https://picnie.s3.ap-south-1.amazonaws.com/user_1/project_8/ts_20240124094059image_ex.png

    filter*
    string

    Filter type. Values: IMG_FILTER_NEGATE, IMG_FILTER_GRAYSCALE, IMG_FILTER_EDGEDETECT, IMG_FILTER_EMBOSS, IMG_FILTER_GAUSSIAN_BLUR, IMG_FILTER_SELECTIVE_BLUR, IMG_FILTER_MEAN_REMOVAL.

    Example:IMG_FILTER_GRAYSCALE

    Notes

    ⚠️ Authentication required