tweet-screenshot ================ renders an x.com / twitter.com tweet to a high-res png/jpeg/webp screenshot, or composites the tweet's video into the screenshot frame for video tweets ROUTES: | Method | Path | Description | | ------ | ------------ | ---------------------------------------- | | POST | /api/capture | screenshot a tweet (image or video mode) | | GET | / | this page | | GET | /api/health | service status | POST /api/capture ================= curl -X POST http://localhost:8270/api/capture \ -H "Content-Type: application/json" \ -d '{ "url": "https://x.com/jack/status/20", "force": "image", "format": "png", "color_scheme": "light", "image_quality": 90, "viewport_width": 1440, "viewport_height": 1350, "device_scale_factor": 2, "supersample": 1.5, "page_zoom": 1, "border_size_x": 35, "border_size_y": 35, "border_color": "#ffffff", "delay": 0, "max_duration": 60 }' \ --output tweet.png When force is omitted the route auto-detects whether the tweet has a