magpai-app/cog-puppeteer 📝❓🔢 → ❓

▶️ 225 runs 📅 Dec 2023 ⚙️ Cog 0.9.9
html-to-image html-to-pdf url-to-image webpage-screenshot

About

Example Output

Output

{"image":"https://replicate.delivery/pbxt/P0yM8lEyFGJnPZVyj9IHUkB3V2wuJNf1pN5LuQukNxsI23BJA/output.png"}

Performance Metrics

16.73s Prediction Time
51.77s Total Time
All Input Parameters
{
  "html": "<h1>Replicate is cool, but Magpai is cooler</h1>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu dapibus nisl. Duis semper tempor faucibus. Praesent in lacus vitae ligula pellentesque vestibulum non vel nibh. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tincidunt id enim ut semper. Donec vel urna pulvinar lectus ullamcorper semper ac eu lacus..</p>",
  "width": 512,
  "format": "png",
  "height": 512
}
Input Parameters
data Type: stringDefault:
HTML or URL
mode Default: html
Page mode
width Type: integerDefault: 512
Width
format Default: png
Format
height Type: integerDefault: 512
Height
pdfSize Type: stringDefault: A4
PDF Size
Output Schema
image Type: stringFormat: uri
Image
Example Execution Logs
inputs.json written
comp.json written
added 111 packages, and audited 112 packages in 14s
9 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Rendering complete
Version Details
Version ID
6840e19603d7754e69bb1f6fc51d343c34dc7b7d767e1d033244fe79c653376d
Version Created
June 18, 2024
Run on Replicate →