x-wink-ai
v1.8.0
Published
Wink AI Video Enhancer API Wrapper
Maintainers
Readme
x-wink-ai
Wink AI Video Enhancer API Wrapper for Node.js.
Enhance videos using Wink AI Ultra HD technology directly from your Node.js application.
Features
- Ultra HD video enhancement
- Automatic upload and processing
- Simple API interface
- Promise based
- Supports MP4, MOV, WEBM and MKV
- Node.js 18+
Installation
npm install x-wink-aiUsage
const wink = require("x-wink-ai")
async function main() {
const result = await wink({
video: "./video.mp4"
})
console.log(result)
}
main()Example Response
{
"status": true,
"code": 200,
"input": "./video.mp4",
"result_url": "https://example.com/video.mp4"
}Parameters
| Parameter | Type | Required | Description | |-----------|--------|----------|-------------| | video | string | Yes | Path to video file |
Example
const result = await wink({
video: "./assets/video.mp4"
})
console.log(result.result_url)Supported Formats
- MP4
- MOV
- WEBM
- MKV
Error Handling
try {
const result = await wink({
video: "./video.mp4"
})
console.log(result)
} catch (err) {
console.error(err.message)
}Links
- GitHub: https://github.com/Xyraakyzzz/wink-ai
- NPM: https://www.npmjs.com/package/x-wink-ai
Author
License
MIT
