pissbot-9000/labscore/api/endpoints.js
2022-10-06 21:56:35 +02:00

56 lines
No EOL
1.7 KiB
JavaScript

const Hosts = Object.freeze({
prod: "https://labscore-v2.vercel.app",
local: "http://localhost",
statics: "https://derpystuff.gitlab.io/webstorage4/v2/"
})
const Api = Object.freeze({
HOST: Hosts.prod,
GOOGLE_PERSPECTIVE: '/google/perspective/analyze',
GOOGLE_TRANSLATE: '/google/translate/text',
GOOGLE_VISION_COLORS: '/google/vision/colors',
GOOGLE_VISION_FACES: '/google/vision/faces',
GOOGLE_VISION_LABELS: '/google/vision/labels',
GOOGLE_VISION_OCR: '/google/vision/ocr',
GOOGLE_VISION_SAFETY_LABELS: '/google/vision/safety',
GOOGLE_VISION_WEBDETECTION: '/google/vision/webdetection',
IMAGE_DEEPDREAM: '/image/deepai/deepdream',
IMAGE_SUPERRESOLUTION: '/image/deepai/superresolution',
IMAGE_TEXT2IMAGE: '/image/deepai/text2image',
IMAGE_WAIFU2X: '/image/deepai/waifu2x',
PHOTOFUNIA_RETRO_WAVE: '/photofunia/retro-wave',
PHOTOFUNIA_YACHT: '/photofunia/yacht',
SEARCH_AUDIO: '/search/audio',
SEARCH_BING: '/search/bing',
SEARCH_BING_IMAGES: '/search/bing-images',
SEARCH_DICTIONARY: '/search/dictionary',
SEARCH_GOOGLE: '/search/google',
SEARCH_GOOGLE_IMAGES: '/search/google-images',
SEARCH_LYRICS: '/search/lyrics',
SEARCH_REDDIT: '/search/reddit',
SEARCH_RULE34: '/search/booru',
SEARCH_TINEYE: '/search/tineye',
SEARCH_URBANDICTIONARY: '/search/urbandictionary',
SEARCH_WIKIHOW: '/search/wikihow',
SEARCH_WOLFRAM_ALPHA: '/search/wolfram-alpha',
SEARCH_YOUTUBE: '/search/youtube',
TTS_IMTRANSLATOR: '/tts/imtranslator',
TTS_PLAYHT: '/tts/playht',
TTS_POLLY: '/tts/polly',
TTS_TIKTOK: '/tts/tiktok',
TTS_VOICEFORGE: '/tts/voiceforge',
UTILS_EMOJIPEDIA: '/utils/emojipedia',
UTILS_INFERKIT: '/utils/inferkit',
UTILS_SCREENSHOT: '/utils/screenshot',
})
module.exports = {
Api,
Hosts
}