즉석에서 OG/소셜 미리보기 이미지 생성 (스크린샷 서비스)

작성자

카테고리:

← 피드로
DEV Community · Daniel Igel · 2026-06-13 개발(SW)

Daniel Igel

Dynamic OG images and “preview this URL” thumbnails are a pain to self-host: you ship Playwright/Chromium, fight cold starts on serverless, and watch memory spike. For most use cases a hosted endpoint is enough.

curl --request GET 
  --url 'https://website-screenshot-api8.p.rapidapi.com/api/v1/screenshot?url=https://example.com&format=png&full_page=true' 
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' 
  --header 'x-rapidapi-host: website-screenshot-api8.p.rapidapi.com'

Enter fullscreen mode Exit fullscreen mode

Full-page or viewport, PNG/JPEG/WebP. There’s a POST /api/v1/screenshot with the full option set (dimensions, delay, format) when you need more control.

Free tier on RapidAPI: https://rapidapi.com/danieligel/api/website-screenshot-api8

I built this to render social-preview cards without a headless cluster. What are you generating screenshots for — previews, monitoring, thumbnails?

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다