{"id":15964184,"url":"https://github.com/bifot/vinci-api","last_synced_at":"2025-09-16T13:13:37.518Z","repository":{"id":95882345,"uuid":"92880905","full_name":"bifot/vinci-api","owner":"bifot","description":"A little documentation for working with vinci API.","archived":false,"fork":false,"pushed_at":"2017-06-07T23:40:05.000Z","size":1791,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T15:21:54.157Z","etag":null,"topics":["api","edit","photo","vinci"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bifot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-30T22:16:33.000Z","updated_at":"2019-08-22T02:34:44.000Z","dependencies_parsed_at":"2023-04-12T15:52:10.737Z","dependency_job_id":null,"html_url":"https://github.com/bifot/vinci-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fvinci-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fvinci-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fvinci-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fvinci-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bifot","download_url":"https://codeload.github.com/bifot/vinci-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448614,"owners_count":22072765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","edit","photo","vinci"],"created_at":"2024-10-07T17:01:39.911Z","updated_at":"2025-09-16T13:13:32.454Z","avatar_url":"https://github.com/bifot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vinci\n\nA little documentation for working with vinci API.\n\n## Usage\n\nInitially, you need to form multipart/form-data with your photo, then send it on http://vinci.camera/preload. After you need to save your results by request http://vinci.camera/process with proxy. In variable `filter` you can set filter what do you need. Some filters available on website http://vinci.camera/list, but here some hided (see `hidden_filters.json`, if you need more filters).\n\n```javascript\nconst fs = require('fs')\nconst path = require('path')\nconst mime = require('mime')\nconst request = require('request')\n\nconst proxy = 'https://cors-pmmlabs.rhcloud.com/'\nconst filter = 1\nconst data = {\n  file: {\n    value: fs.createReadStream('./test/example.jpg'),\n    options: {\n      filename: path.basename('./test/example.jpg'),\n      contentType: mime.lookup('./test/example.jpg')\n    }\n  }\n}\n\nrequest({\n  url: 'http://vinci.camera/preload',\n  method: 'post',\n  formData: data,\n  json: true\n}, (err, res, body) =\u003e {\n  if (!err \u0026\u0026 res.statusCode === 200 \u0026\u0026 body.preload) {    \n    request(`${proxy}http://vinci.camera/process/${body.preload}/${filter}`)\n      .pipe(fs.createWriteStream('./test/vinci.jpg'))\n  }\n})\n```\n\n[There's cool example](https://github.com/bifot/vinci-api/tree/master/test).\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbifot%2Fvinci-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbifot%2Fvinci-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbifot%2Fvinci-api/lists"}