SDK Recipes›Images → PDF → Watermark
PDF Workflow

Images → PDF → Watermark

Build one PDF from many images, then apply a PDF watermark before delivery.

images-to-pdf
→
pdf-watermark
InputMultiple image files
Final resultWatermarked PDF
Tools usedimages-to-pdf → pdf-watermark

Complete code

const pdf = await client.run("images-to-pdf", {
  files: imageFiles
});

const watermarked = await client.run("pdf-watermark", {
  file: pdf.files[0],
  options: {
    text: "CONFIDENTIAL",
    opacity: 25,
    position: "center"
  }
});

const finalPdf = watermarked.files[0];
Before adapting this recipe, use client.describe(toolId) or the Tool Reference page to verify exact file limits, option values, and supported modes.