Skip to Content
Mika Scraper 1.1.1 is released ๐ŸŽ‰
๐Ÿ• MIKA INTERFACEInterface: DeepfakeInput

Mika Scraper v1.1.2


Mika Scraper / DeepfakeInput

Interface: DeepfakeInput

Defined in: src/deepfake/deepfake.ts:6

The DeepfakeInput interface represents the input required for image transformations using the DeepfakeMaker.io service.

Properties

buffer

Type: Buffer
Defined in: src/deepfake/deepfake.ts:7

The raw binary data of the image to be transformed. This property must be provided for the transformation process to occur.

prompt

Type: string
Defined in: src/deepfake/deepfake.ts:8

A textual prompt that guides the transformation of the provided image. This can include specific instructions or descriptions to influence the outputโ€™s characteristics.

Example

const deepfakeInput: DeepfakeInput = { buffer: Buffer.from(imageData), prompt: "Transform the image into a cartoon version." };
Last updated on