The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →You can call ScreenshotMachine from a GitHub Actions workflow with a shell step that sends a GET request to its screenshot API using curl. The official material cited here documents an HTTP API and a curl example, not a separate ScreenshotMachine CLI executable. The workflow below keeps the customer key in a GitHub Actions secret and writes the returned image to a file.
What this workflow does
ScreenshotMachine’s documented terminal pattern sends a request to its screenshot API at https://api.screenshotmachine.com, passing a customer key and target page URL, then redirects the response into an image file. In Actions, the same request can run in a hosted Ubuntu job. Treat the YAML below as an adapted example, not a vendor-confirmed or repository-tested workflow.
It uses url and key, which the API example identifies as required, plus sample capture options for dimensions, device, format, cache, delay and zoom. Check the current API reference for accepted values before changing them.
Set up the API key as an Actions secret
- In your GitHub repository, open Settings → Secrets and variables → Actions.
- Select New repository secret, name it
SCREENSHOTMACHINE_KEY, and enter the customer key from your ScreenshotMachine account. - Save the workflow below as
.github/workflows/screenshot.yml. GitHub documents workflow variables and environment configuration in its Actions variables guide.
The secret is mapped only to the request step’s environment. Do not put the key directly in checked-in YAML or print it in a command or log. GitHub’s workflow structure and syntax are documented here.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problems#1 Best Overall
- Compatible with Nintendo Switch 2’s new GameChat mode
- Auto-Light Balance: RightLight boosts brightness by up to 50%, reducing shadows so you look your best—compared to previous-generation Logitech webcams (1)
- Privacy with a Slide: The integrated webcam cover makes it easy to get total, reliable privacy when you're not on a video call
- Built-In Mic: The built-in microphone lets others hear you clearly during video calls
- Easy Plug-And-Play: The Brio 101 works with most video calling platforms, including Microsoft Teams, Zoom and Google Meet—no hassle; it just works
Workflow: request and save a screenshot
name: Capture website screenshot
on:
workflow_dispatch:
jobs:
screenshot:
runs-on: ubuntu-latest
steps:
- name: Request screenshot
env:
SCREENSHOTMACHINE_KEY: ${{ secrets.SCREENSHOTMACHINE_KEY }}
run: |
curl -fGs "https://api.screenshotmachine.com"
--data-urlencode "key=$SCREENSHOTMACHINE_KEY"
--data-urlencode "url=https://example.com"
--data-urlencode "dimension=1366x768"
--data-urlencode "device=desktop"
--data-urlencode "format=png"
--data-urlencode "cacheLimit=0"
--data-urlencode "delay=2000"
--data-urlencode "zoom=100"
> screenshot.png
Run it from the repository’s Actions tab by selecting Capture website screenshot, then Run workflow. This example writes screenshot.png on the runner. It does not persist the file after the job ends; add an artifact-upload step if you need to download or retain it. The sample does not pin an action version because the request itself needs no third-party action.
Why these curl flags matter
-Gsends the parameters as a GET request, matching the API example.-ssuppresses curl’s progress meter in workflow logs.-fmakes curl return a failure status for an HTTP error rather than treating an error response as a successful transfer. It does not by itself verify that a successful response contains a valid image.--data-urlencodesafely encodes parameter values such as the page URL.- The shell redirection saves response bytes to the named file.
Adjust the capture options
The API example includes the following optional parameters. Their exact accepted values can depend on the current API, so use the vendor reference rather than assuming every value shown here is exhaustive.
Rank #2
- Compatible with Nintendo Switch 2’s new GameChat mode
- Crisp HD 720p/30 fps video calls with diagonal 55° field of view and auto light correction. Compatible with popular platforms including Skype and Zoom.
- The built-in noise-reducing mic makes sure your voice comes across clearly up to 1.5 meters away, even if you’re in busy surroundings.
- C270’s RightLight 2 feature adjusts to lighting conditions, producing brighter, contrasted images to help you look good in all your conference calls.
- The adjustable universal clip lets you attach the camera securely to your screen or laptop, or fold the clip and set the webcam on a shelf. You’re always ready for your next video call.
| Parameter | Example value | Purpose |
|---|---|---|
dimension |
1366x768 |
Sets the requested screenshot dimensions. The vendor example also shows a full-height form such as 1366xfull; confirm current accepted values before relying on it. |
device |
desktop |
Selects a device rendering profile. |
format |
png |
Requests the output image format. |
cacheLimit |
0 |
Sets the cache limit option in the request. Confirm the API’s current semantics for this value. |
delay |
2000 |
Sets a capture delay in the request; confirm the expected unit and allowed range in the current API reference. |
zoom |
100 |
Sets the requested zoom value. |
To capture a page after it has rendered more content, adjust the relevant supported options rather than assuming a longer delay fixes every page. Dynamic pages can depend on scripts, authentication, network conditions or bot protections that this sample does not configure.
Keep the output after the job
A runner’s local files are not a durable repository artifact. To make the generated file available after a successful run, add an artifact-upload action after the request step and configure it to include screenshot.png. Consult GitHub’s current action documentation for the action name, version and retention settings you choose; this API example alone does not define them.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Rank #3
- 【Full HD 1080P Webcam】Powered by a 1080p FHD two-MP CMOS, the NexiGo N60 Webcam produces exceptionally sharp and clear videos at resolutions up to 1920 x 1080 with 30fps. The 3.6mm glass lens provides a crisp image at fixed distances and is optimized between 19.6 inches to 13 feet, making it ideal for almost any indoor use.
- 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 8, 10 & 11 / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.
- 【Built-in Noise-Cancelling Microphone】The built-in noise-canceling microphone reduces ambient noise to enhance the sound quality of your video. Great for Zoom / Facetime / Video Calling / OBS / Twitch / Facebook / YouTube / Conferencing / Gaming / Streaming / Recording / Online School.
- 【USB Webcam with Privacy Protection Cover】The privacy cover blocks the lens when the webcam is not in use. It's perfect to help provide security and peace of mind to anyone, from individuals to large companies. 【Note:】Please contact our support for firmware update if you have noticed any audio delays.
- 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 10 & 11, Pro / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.
curl step or language SDK?
The direct curl approach keeps setup small: the runner makes one HTTP request, and the shell controls the output path and failure behavior. A language SDK or custom script can be a better fit if the surrounding job already uses that language or needs application-specific request construction and file processing. ScreenshotMachine’s official materials include API examples and language-specific sample repositories, but the sources cited here do not establish current SDK package versions or a vendor-provided GitHub Action; see its GitHub organization for its repositories.
Troubleshooting
Request fails because the key is empty or rejected
- Check that the repository secret is named exactly
SCREENSHOTMACHINE_KEYand that the workflow maps that same name into the step environment. - Confirm the stored value is the account’s customer key. Keep it secret; do not add diagnostic commands that echo it.
Workflow reports success but the file is missing afterward
The example saves the image on the runner, not in GitHub’s artifact store. Add an artifact-upload step if you need a downloadable output, and confirm that its path matches screenshot.png.
Rank #4
- 1080P Webcam with Cover for Video Calls - EMEET computer webcam provides design and Optimization for professional video streaming. Realistic 1920 x 1080p video, 5-layer anti-glare lens, providing smooth video. C960 computer camera delivers 1920x1080 video with fixed focus (11.8–118.1 inches), so as to provide a clearer image. C960 USB webcam has a cover and can be removed automatically to meet your needs for privacy. For optimal image performance, use the webcam in a well-lit environment.
- Built-in 2 Omnidirectional Mics - EMEET webcam with microphone for desktop features 2 built-in omnidirectional microphones, picking up your voice to create clear audio for communication. When installing the webcam, select EMEET C960 as the default microphone input device in your computer and video applications and select C960 as the default device in Zoom/Teams and ensure microphone permissions are enabled for proper use. Please note that C960 does not include built-in speakers.
- Automatic Light Adjustment - Automatic exposure adjustment is applied in EMEET HD webcam 1080p so that the streaming webcam can deliver stable image performance. EMEET C960 camera for computer also features color adjustment and exposure optimization to help you look your best. For optimal video quality, it is recommended to use the webcam in normal or well-lit environments and select suitable video settings in your application. Proper lighting helps achieve a clearer and more balanced image.
- Plug-and-Play & Upgraded USB Connectivity - New C960 webcam features both USB Type-A & A-to-C adapter connections for wider compatibility. For stable performance, connect the webcam directly to the computer's main USB port and ensure the device is recognized correctly. If a hub or docking station is used, please ensure it provides sufficient power and stable data transmission, as limited ports may affect performance. 90° wide-angle lens captures more participants without frequent adjustments.
- High Compatibility & Multi Application - C960 webcam for laptop is compatible with Windows 10/11, macOS 10.14+, and Android TV 7.0+. Not supported: Windows Hello, TVs, tablets, or game consoles. It works with Zoom, Teams, Facetime, Google Meet, YouTube and more. Please select C960 webcam as the default camera and microphone device in your application and ensure camera/microphone permissions are enabled, especially on macOS. (Tips: Incompatible with Windows Hello)
curl exits successfully but the output is not a usable image
-f fails on HTTP error status codes, but it does not inspect the response body for image validity. Check the response and the API’s current error behavior, then verify the file type before using it downstream. Do not assume a created file is a valid capture merely because the shell step completed.
The capture has the wrong dimensions or misses page content
Review the requested dimension, device, delay and zoom against the current API reference. The vendor example includes those options but does not establish every accepted value or guarantee that a fixed delay will handle a particular site’s rendering behavior.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchBest Value
- Compatible with Nintendo Switch 2’s new GameChat mode
- HD lighting adjustment and autofocus: The Logitech webcam automatically fine-tunes the lighting, producing bright, razor-sharp images even in low-light settings. This makes it a great webcam for streaming and an ideal web camera for laptop use
- Advanced capture software: Easily create and share video content with this Logitech camera that is suitable for use as a desktop computer camera or a monitor webcam
- Stereo audio with dual mics: Capture natural sound during calls and recorded videos with this 1080p webcam, great as a video conference camera or a computer webcam
- Full HD 1080p video calling and recording at 30 fps. You'll make a strong impression with this PC webcam that features crisp, clearly detailed, and vibrantly colored video
The YAML does not start or the trigger is unavailable
Confirm the file is under .github/workflows/, uses valid YAML indentation, and that the workflow trigger is enabled for the repository. This example uses workflow_dispatch, which is intended for manual runs from the Actions interface.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server; a single GET request can return an image or PDF. It can accept cookie or consent banners before capture and remove more than 60 known consent platforms, newsletter popups and chat widgets; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads and cache hits are not billed, with response headers reporting the page verdict and billing status. Its MCP server exposes screenshot tools for AI agents, including Claude, Cursor and other MCP clients. The Free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots. See the ScreenshotNeo API documentation.
curl -G "https://api.screenshotneo.com/v1/shot"
-d access_key=YOUR_API_KEY
--data-urlencode url=https://example.com
-o shot.webp
Sign up for ScreenshotNeo’s free plan: 1,000 screenshots a month, no card required.
Frequently Asked Questions
Does ScreenshotMachine provide an official GitHub Action for this workflow?
The official material cited here documents the HTTP API and curl request pattern; it does not establish a vendor-provided GitHub Action.
Recommended Free Tools
Can I run the capture automatically instead of manually?
Yes. Change the workflow trigger to an appropriate supported GitHub Actions event or schedule; this example uses a manual workflow-dispatch trigger.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




