Spaces:
Sleeping
Sleeping
File size: 4,343 Bytes
8fdadcb 094aba4 162182c 094aba4 8fdadcb 162182c 094aba4 162182c 094aba4 162182c 48b166f 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 5c63def 22d27d1 5c63def 162182c 77a1f19 094aba4 77a1f19 162182c 88ed738 7abe0b4 aead938 88ed738 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 e43e181 094aba4 e43e181 094aba4 162182c 094aba4 162182c 094aba4 e43e181 094aba4 162182c 094aba4 162182c dee498e 094aba4 2d2cef5 094aba4 162182c 094aba4 162182c 094aba4 162182c 094aba4 162182c 7ebc68d 9c9d323 7ebc68d 5d2c79d 7ebc68d 094aba4 162182c 46faeb0 094aba4 46faeb0 094aba4 |
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
import os
from typing import Any, Dict, List, Optional
from pydantic import BaseModel
ORACLE_TOKEN = os.environ["ORACLE_TOKEN"]
class CustomErrorResponseModel(BaseModel):
detail: List[Dict[str, Any]]
class SuccessResponse(BaseModel):
status: str
randydev: Dict[str, Any]
class ErrorResponse(BaseModel):
status: str
detail: str
class ErrorStatus(BaseModel):
status: str
message: str
class ProfileClone(BaseModel):
user_id: int
first_name: Optional[str] = None
last_name: Optional[str] = None
profile_id: Optional[str] = None
bio: Optional[str] = None
class GetProfileClone(BaseModel):
user_id: int
class SibylSystemDel(BaseModel):
user_id: int
class SibylSystemBan(BaseModel):
user_id: int
reason: str
class RyuzakiAi(BaseModel):
text: str
class SibylSystem(BaseModel):
user_id: int
class SibylSystemResponse(BaseModel):
sibyl_name: str
reason: str
is_banned: bool
date_joined: str
sibyl_user_id: int
class GoogleReverse(BaseModel):
engine: str = "google_reverse_image"
image_url: str
language: str = "en"
google_lang: str = "us"
class GetImageUnsplash(BaseModel):
query: str
size: str = "500x500"
class OrcSpaceUrl(BaseModel):
url: str
overlay: bool = False
language: str = "eng"
class ChatgptModel(BaseModel):
query: str
model_id: Optional[int] = None
is_models: bool = False
class ChatgptCustom(BaseModel):
query: str
class BingDalle(BaseModel):
prompt: str = "a realistic white siamese cat"
model: str = "dall-e-3"
cookie: str = "must set _U"
class GeminiPro(BaseModel):
query: str
bard_api_key: Optional[str] = None
mongo_url: Optional[str] = None
user_id: Optional[int] = None
version: Optional[str] = "v1beta"
gemini_api_key: Optional[str] = None
is_login: Optional[bool] = False
is_multi_chat: Optional[bool] = False
class GeminiOracle(BaseModel):
query: str
bard_api_key: Optional[str] = None
mongo_url: Optional[str] = None
user_id: Optional[int] = None
oracle_base: Optional[str] = None
version: Optional[str] = "v1beta"
gemini_api_key: Optional[str] = None
is_login: Optional[bool] = False
is_multi_chat: Optional[bool] = False
class WaifuPics(BaseModel):
types: str = "sfw"
category: str = "neko"
media_type: Optional[str] = None
is_bytes: bool = False
class MakeRayso(BaseModel):
code: str
title: str = "Ryuzaki Dev"
theme: str
setlang: str = "en"
auto_translate: Optional[bool] = None
ryuzaki_dark: bool = True
class Webshot(BaseModel):
url: str
quality: str = "1920x1080"
type_mine: str = "JPEG"
pixels: str = "1024"
cast: str = "Z100"
class GithubUsernames(BaseModel):
username: str
class ChatBots(BaseModel):
query: str
user_id: Optional[int] = None
bot_name: Optional[str] = None
bot_username: Optional[str] = None
class NewMonitor(BaseModel):
type: int = 1
url: str
friendly_name: str
class TiktokBeta(BaseModel):
tiktok_url: str
only_video: Optional[bool] = None
class TiktokDownloader(BaseModel):
tiktok_url: str
class GetMonitorLogs(BaseModel):
logs: int
class DownloadLink(BaseModel):
link: str
class OpenDalle(BaseModel):
query: str
class ProteusV02(BaseModel):
query: str
class Dalle3XL(BaseModel):
query: str
class TranslateCustom(BaseModel):
text: str
setlang: str
class AnimeStyled(BaseModel):
query: str
class OpenaiTexts(BaseModel):
query: str
api_key: Optional[str] = ""
model: Optional[str] = "gpt-4"
is_stream: Optional[bool] = False
class Chatgpt3Texts(BaseModel):
query: str
api_key: Optional[str] = ""
model: Optional[str] = "gpt-3.5-turbo"
is_stream: Optional[bool] = False
is_openai_original: Optional[bool] = False
class TorrentInfo(BaseModel):
poster: str
quality: str
type: str
size: str
torrent: str
magnet: str
hash: Optional[str]
class MovieInfo(BaseModel):
yts_link: str
name: str
year: str
imdb_links: str
genre: str
imdb_ratings: str
likes: str
torrents: List[TorrentInfo]
class TextCustom(BaseModel):
query: str
class Picsart(BaseModel):
image_path: str
|