Interface: ApplyFilterInput
Defined in: src/_other-scraper/face-filter.ts:15
The ApplyFilterInput
interface defines the structure for input used to apply an AI-powered image filter.
Properties
filter
filter:
string
The name or identifier of the filter to be applied. This property specifies which particular filter should be utilized in the image processing operation.
Defined in: src/_other-scraper/face-filter.ts:16
base64Image
base64Image:
string
The image data encoded as a Base64 string. This property should contain the raw image that the filter will be applied to, allowing the system to process it correctly.
Defined in: src/_other-scraper/face-filter.ts:17
Usage Example
Here is an example of how to create an object that conforms to the ApplyFilterInput
interface:
const applyFilterInput: ApplyFilterInput = {
filter: 'vintage',
base64Image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...'
};
Last updated on