Spaces:
Running
Running
File size: 2,545 Bytes
aaa8cb2 8d21336 |
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 |
from typing import Optional, List, Dict, Any
from pydantic import BaseModel
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 GeminiPro(BaseModel):
query: str
bard_api_key: Optional[str] = None
is_login: 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
|