Preview
client.projects.watermark.preview(stringprojectID, WatermarkPreviewParams { opacity, placement, rotation, 3 more } body, RequestOptionsoptions?): WatermarkPreviewResponse { image }
POST/projects/{projectId}/watermark/preview
Draw the given watermark settings on a sample image, without saving them
Preview
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const response = await client.projects.watermark.preview('projectId');
console.log(response.image);{
"image": "image"
}Returns Examples
{
"image": "image"
}