Categories

PDF Stationery Underlay

Place document pages on top of stationery/background template pages (letterhead style underlay)

Compose output PDF by drawing each source page over a template/stationery page. **Typical use:** - Corporate letterhead background - Official red-header template - Form background alignment Source pages are scaled and centered on the stationery page with configurable margins.

Example Results

2 examples

Apply Letterhead Underlay

Render a source PDF over a stationery template for official output

pdf-stationery-underlay-example1.pdf View File
View input parameters
{ "sourceFile": "/public/samples/pdf/pdf-2026-02-19-source-4pages.pdf", "stationeryFile": "/public/samples/pdf/pdf-2026-02-11-source-2pages.pdf", "templateMode": "cycle", "scaleMode": "contain", "marginMm": 8, "contentOpacity": 1 }

Cycle Stationery Pages with Cover Fit

Cycle multi-page stationery templates and cover-fill each page with slight content transparency

pdf-stationery-underlay-example2.pdf View File
View input parameters
{ "sourceFile": "/public/samples/pdf/pdf-2026-02-19-source-4pages.pdf", "stationeryFile": "/public/samples/pdf/pdf-2026-02-11-source-2pages.pdf", "templateMode": "cycle", "scaleMode": "cover", "marginMm": 2, "contentOpacity": 0.85 }

Click to upload file or drag and drop file here

Maximum file size: 500MB Supported formats: application/pdf

Click to upload file or drag and drop file here

Maximum file size: 500MB Supported formats: application/pdf

API Documentation

Request Endpoint

POST /en/api/tools/pdf-stationery-underlay

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -
stationeryFile file (Upload required) Yes -
templateMode select No -
scaleMode select No -
marginMm number No -
contentOpacity number No -

File type parameters need to be uploaded first via POST /upload/pdf-stationery-underlay to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-stationery-underlay": {
      "name": "pdf-stationery-underlay",
      "description": "Place document pages on top of stationery/background template pages (letterhead style underlay)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-stationery-underlay",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]