1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const axios = require('axios');
const FormData = require('form-data');
const api_key = "YOUR API-KEY";
const url = "https://api.segmind.com/v1/topaz-video-upscale";
const reqBody = {
"video": "https://segmind-resources.s3.amazonaws.com/input/008b1c8e-5d9c-4ad3-96e3-0943f120058f-273289_medium.mp4",
"target_fps": 60,
"target_resolution": "1080p"
};
(async function() {
try {
const formData = new FormData();
// Append regular fields
for (const key in reqBody) {
if (reqBody.hasOwnProperty(key)) {
formData.append(key, reqBody[key]);
}
}
// Convert and append images as Base64 if necessary
const response = await axios.post(url, formData, {
headers: {
'x-api-key': api_key,
...formData.getHeaders()
}
});
console.log(response.data);
} catch (error) {
console.error('Error:', error.response ? error.response.data : error.message);
}
})();
Video to upscale in mp4
Target FPS (15fps to 120fps)
min : 15,
max : 120
Target Resolution
Allowed values:
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Topaz Video Upscale, powered by Topaz Video AI, is a state-of-the-art AI-driven video enhancement model designed to transform low-resolution or low quality footage into high-definition, cinema-quality video. Now integrated on Segmind, this model provides users with a seamless way to boost video resolution, clarity, and overall quality-making it an invaluable tool for creators, archivists, and professionals across industries.
At its core, Topaz Video Upscale uses advanced neural networks and deep learning to analyze and intelligently enhance video frames. The model can upscale videos to 4K and increase frame rate to 60 FPS, delivering sharper details, improved contrast, and more natural-looking results compared to traditional upscaling methods. It goes beyond simple resizing: the AI reduces noise, fixes compression artifacts, recovers lost details, and even stabilizes shaky footage. It also
Key features include:
Integrating Topaz Video Upscale via Segmind’s API brings powerful video enhancement to your workflow without the need for complex hardware or manual software setup. Users benefit from:
In summary, Topaz Video Upscale is a transformative tool for anyone needing to elevate video quality-whether for creative, archival, educational, or analytical purposes. Its integration on Segmind makes advanced video enhancement accessible, efficient, and customizable for diverse user needs.