Website Screenshot
Capture high-resolution screenshots of any webpage URL.
Parameters
Configure parameters and run inference.
Ready for Execution
Configure parameters on the left and click Run Microservice to generate output.
Processing Microservice...
Spawning browser worker & capturing full render...
{}
Execution Failed
Failed to connect to worker.
Invoke this microservice programmatically from your backend application. Authenticate by passing your Lumoz API key in the Authorization: Bearer YOUR_API_KEY header.
curl -X POST https://lumozai.com/api/v1/services/run \
-H "Authorization: Bearer YOUR_LUMOZ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"service_id": "website-screenshot",
"url": "https://lumozai.com",
"w": 1920,
"h": 1080
}'
import requests
url = "https://lumozai.com/api/v1/services/run"
headers = {
"Authorization": "Bearer YOUR_LUMOZ_API_KEY",
"Content-Type": "application/json"
}
payload = {
"service_id": "website-screenshot",
"url": "https://lumozai.com",
"w": 1920,
"h": 1080
}
response = requests.post(url, json=payload, headers=headers)
data = response.json()
print("Output:", data.get("output"))
print("Execution time:", data.get("execution_time"))
const response = await fetch("https://lumozai.com/api/v1/services/run", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_LUMOZ_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
service_id: "website-screenshot",
url: "https://lumozai.com",
w: 1920,
h: 1080
})
});
const data = await response.json();
console.log("Output URL:", data.output);
Parameters Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url |
string | Yes | - |
Webpage URL to capture |
w |
integer | No | 1920 |
Viewport width |
h |
integer | No | 1080 |
Viewport height |
wait_until |
integer | No | 0 |
Render delay in seconds |