Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a943512/PyAibote
/ functions
Functions
402 in github.com/a943512/PyAibote
⨍
Functions
402
◇
Types & classes
62
Method
get_window_name
获取窗口名称 Get the window name hwnd: 当前窗口句柄 return: 窗口名称或 None hwnd: Current window handle
PyAibote/WindowsBotModel/WindowOperation.py:96
Method
get_window_pos
获取窗口位置和状态 Get the window position and status. return: left和top:浏览器相对于与Windows窗口左上角坐标点,height和width:浏览器本身高度和宽度
PyAibote/WebBotModel/WindowOperation.py:10
Method
get_window_pos
获取窗口大小和位置 Get the window size and location hwnd: 窗口句柄 wait_time: 循环等待的总时间 默认5秒 interval_
PyAibote/WindowsBotModel/WindowOperation.py:127
Method
get_window_size
获取屏幕大小 Get the screen size return: 屏幕大小, 字典格式 return: screen size, dictionary format
PyAibote/AndroidBotModel/EquipmentOperation.py:126
Method
get_windows_id
获取Windows 唯一ID用于区分机器 Get Windows unique ID to distinguish machines. return: 成功返回参数,失败返回None return:
PyAibote/WindowsBotModel/DrivingOperation.py:61
Method
handle
(self)
PyAibote/WebBot.py:99
Method
handle
(self)
PyAibote/WindowsBot.py:97
Method
handle
(self)
PyAibote/DigitalHumanBot.py:49
Method
handle
(self)
PyAibote/AndroidBot.py:57
Method
handle_connection
处理客户端连接的协程 Ctrip handling client connection
PyAibote/Tool/WebsocketsServer.py:29
Method
hid_back
返回 return
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:183
Method
hid_back
返回 return android_id: 安卓id return: True或者False android_id: Android id retur
PyAibote/WindowsBotModel/WinHidCorrelation.py:195
Method
hid_click
单击 click coordinate: x, y横坐标 return: True或者False coordinate: x, y abscissa
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:105
Method
hid_click
单击 click android_id: 安卓id angle: 手机旋转角度 x: 横坐标 y: 纵坐标 return: Tr
PyAibote/WindowsBotModel/WinHidCorrelation.py:88
Method
hid_double_click
双击 double click coordinate: x,y横坐标 return: True或者False coordinate: x,y abscissa
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:119
Method
hid_double_click
双击 double click android_id: 安卓id angle: 手机旋转角度 x: 横坐标 y: 纵坐标 ret
PyAibote/WindowsBotModel/WinHidCorrelation.py:107
Method
hid_gesture
Hid手势 Hid gesture gesture_path: 手势路径,由一系列坐标点组成 duration: 手势执行时长, 单位秒(执行时间内脚本需保持运行) retur
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:167
Method
hid_gesture
Hid手势 Hid gesture android_id: 安卓id angle: 手机旋转角度 gesture_path: 手势路径,由一系列坐标点组成
PyAibote/WindowsBotModel/WinHidCorrelation.py:172
Method
hid_home
返回桌面 home
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:191
Method
hid_home
返回桌面 home android_id: 安卓id return: True或者False android_id: Android id retur
PyAibote/WindowsBotModel/WinHidCorrelation.py:208
Method
hid_long_click
长按 Long press coordinate: x,y坐标 duration: 按下时长,秒(按下时间内脚本需保持运行) return: True或者False
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:133
Method
hid_long_click
长按 Long press android_id: 安卓id angle: 手机旋转角度 x: 横坐标 y: 纵坐标 durat
PyAibote/WindowsBotModel/WinHidCorrelation.py:126
Method
hid_move
移动 move coordinate: x,y坐标 duration: 移动时长,秒(移动时间内脚本需保持运行) return: True或者False
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:89
Method
hid_move
移动 move android_id: 安卓id angle: 手机旋转角度 x: 横坐标 y: 纵坐标 duration: 移
PyAibote/WindowsBotModel/WinHidCorrelation.py:67
Method
hid_press
按下 press coordinate: x,y坐标 return: True或者False coordinate x, y: abscissa re
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:64
Method
hid_press
按下 press android_id: 安卓id angle: 手机旋转角度 x: 横坐标 y: 纵坐标 return: Tr
PyAibote/WindowsBotModel/WinHidCorrelation.py:33
Method
hid_recents
最近应用列表 List of recent applications
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:198
Method
hid_recents
最近应用列表 List of recent applications android_id: 安卓id return: True或者False android_id: And
PyAibote/WindowsBotModel/WinHidCorrelation.py:221
Method
hid_release
释放 release return: True或者False return: True or False.
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:78
Method
hid_release
释放 release android_id: 安卓id angle: 手机旋转角度 return: True或者False android_id: A
PyAibote/WindowsBotModel/WinHidCorrelation.py:52
Method
hid_swipe
滑动坐标 Sliding coordinate Startcoordinate: x,y 起始坐标 Endcoordinate: x,y 结束坐标 duration: 滑动时长
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:149
Method
hid_swipe
滑动坐标 Sliding coordinate android_id: 安卓id angle: 手机旋转角度 startX: 起始横坐标 startY:
PyAibote/WindowsBotModel/WinHidCorrelation.py:147
Method
home
返回桌面 Back to the desktop return: 成功返回True 失败返回False return: Returns True successfully, and returns F
PyAibote/AndroidBotModel/EquipmentOperation.py:205
Method
init_hid
初始化Hid,不能重复调用,重复调用会导致get_hid_data取不到数据 Initialize Hid, and you can't call it repeatedly. Repeated calls will cause get_hid_da
PyAibote/AndroidBotModel/AndroidHidCorrelation.py:22
Method
init_hid
初始化Hid Initialize Hid return: True或者False return: True or False
PyAibote/WindowsBotModel/WinHidCorrelation.py:10
Method
init_metahuman
初始化数字人,第一次初始化需要一些时间 Initializing digital people, it takes some time to initialize for the first time. metahuman_
PyAibote/WindowsBotModel/DigitalHumanOperation.py:10
Method
init_mysql
(self)
PyAibote/Tool/DatabaseFunc.py:11
Method
init_speech_clone_service
初始化数字人声音克隆服务(不支持win 7系统) 声音克隆服务卡密获取网站:elevenlabs.io Initialize the digital human voice cloning service (win 7 system is not
PyAibote/WindowsBotModel/DigitalHumanOperation.py:179
Method
init_speech_service
初始化语音服务(不支持win7),需要调用 activateSpeechService 激活 To initialize voice service (win7 is not supported), you need to call activate
PyAibote/WindowsBotModel/VoiceService.py:10
Method
init_sqlite3
(self)
PyAibote/Tool/Sqlite3DataBase.py:11
Method
insert_delete_update_sqlite3
新增, 删除, 更新 sqlite3数据库数据 Insert data, delete data, update data sq: 插入数据, 删除数据, 更新数据的sql语句 return: 成功返回True, 失败返回False sql:sql stateme
PyAibote/Tool/Sqlite3DataBase.py:57
Method
insert_mysql
新增一条MySql数据库数据 Add a MySql database data sql: sql语句 return: 成功返回True, 失败返回False sql: sql statement return: Returns True on succes
PyAibote/Tool/DatabaseFunc.py:49
Method
insertmany_mysql
新增多条MySql数据库数据 Add multiple MySql database data sql: sql语句 Data: 数据列表 return: 成功返回True, 失败返回False sql: sql statement Data: dat
PyAibote/Tool/DatabaseFunc.py:74
Method
invoke_element
执行元素默认操作(一般是点击操作) Perform the default operation of the element (generally click operation) hwnd: 窗口句柄
PyAibote/WindowsBotModel/ElementOperation.py:159
Method
is_available
判断元素是否可用 Determines whether an element is available. xpath: xpath 路径 return: 布尔值 xpath:
PyAibote/WebBotModel/ElementOperation.py:24
Method
is_displayed
元素是否可见 Is the element visible xpath: xpath 路径 return: 布尔值 xpath: xpath path
PyAibote/WebBotModel/ElementOperation.py:11
Method
is_running
(self)
PyAibote/Tool/WebsocketsServer.py:99
Method
is_selected
元素是否已选中 Whether the element is selected xpath: xpath 路径 return: 布尔值 xpath: xpath path
PyAibote/WebBotModel/ElementOperation.py:37
Method
is_selected
单/复选框是否选中 Is the single/check box selected hwnd: 窗口句柄 xpath: 元素路径 wait_time: 等待时间, 默认取 5
PyAibote/WindowsBotModel/ElementOperation.py:276
Method
long_click
长按坐标 Long press coordinate point: 坐标 duration: 按住时长,单位秒 return: Ture 或者 False
PyAibote/AndroidBotModel/CoordinateOperation.py:35
Method
make_android_dir
创建安卓文件夹 Create Android folder android_directory: 安卓目录 /storage/emulated/0/: 安卓文件根目录 return: 成功返回True
PyAibote/AndroidBotModel/EquipmentOperation.py:406
Method
make_clone_audio
克隆声音,需要部署服务端 To clone sound, you need to deploy the server. clone_server_ip: 克隆声音服务端IP save_audio_pa
PyAibote/WindowsBotModel/DigitalHumanOperation.py:369
Method
make_clone_lab
生成lab文件,需要部署服务端 To generate lab files, you need to deploy the server. lab_server_ip: 保存的发音文件路径。这里是路径,不是目录!
PyAibote/WindowsBotModel/DigitalHumanOperation.py:393
Method
make_metahuman_speech_file
生成数字人说话文件,生成MP3文件和 lab文件,提供给 metahumanSpeechByFile 和使用 Generate digital human speech files, MP3 files and lab files, and prov
PyAibote/WindowsBotModel/DigitalHumanOperation.py:279
Method
make_metahuman_speech_file_clone
生成数字人说话文件(声音克隆),生成MP3文件和 lab文件,提供给 metahumanSpeechByFile 和使用 Generate digital human speech file (voice clone), MP3 file and l
PyAibote/WindowsBotModel/DigitalHumanOperation.py:236
Method
make_metahuman_video
生成数字人短视频,此函数需要调用 initSpeechService 初始化语音服务 To generate short video of digital people, this function needs to call initSpeechS
PyAibote/WindowsBotModel/DigitalHumanOperation.py:150
Method
make_metahuman_video_by_file
通过音频文件生成数字人短视频, 此函数依赖 initMetahuman 函数运行,否则程序会崩溃 Switch new character movements. This function can directly switch various ch
PyAibote/WindowsBotModel/DigitalHumanOperation.py:339
Method
make_metahuman_video_clone
使用克隆声音生成数字人短视频,此函数需要调用 initSpeechCloneService 初始化语音服务 Using cloned voice to generate short video of digital people, this func
PyAibote/WindowsBotModel/DigitalHumanOperation.py:213
Method
metahuman_insert_video
数字人插入视频 Digital people insert videos. video_file_path: 插入的视频文件路径 audio_file_path: 插入的音频文件路径
PyAibote/WindowsBotModel/DigitalHumanOperation.py:85
Method
metahuman_speech
数字人说话,此函数需要调用 initSpeechService 初始化语音服务 Digital people speak, this function needs to call initSpeechService to initialize voi
PyAibote/WindowsBotModel/DigitalHumanOperation.py:31
Method
metahuman_speech_break
打断数字人说话,一般用作人机对话场景。metahumanSpeech和metahumanSpeechCache的 waitPlaySound 参数 设置为false时,此函数才有意义 Interrupting a digital person's s
PyAibote/WindowsBotModel/DigitalHumanOperation.py:268
Method
metahuman_speech_byFile
数字人说话文件缓存模式 Cache mode of digital human speech file audio_path: 音频路径, 同名的 .lab文件需要和音频文件在同一目录下 wait_p
PyAibote/WindowsBotModel/DigitalHumanOperation.py:253
Method
metahuman_speech_by_file_ex
数字人说话文件缓存模式(Ex),不能与 PlayAudioEx 同步执行 Digital human speech file cache mode (Ex) cannot be synchronized with PlayAudioEx
PyAibote/WindowsBotModel/DigitalHumanOperation.py:550
Method
metahuman_speech_cache
*数字人说话缓存模式,需要调用 initSpeechService 初始化语音服务。函数一般用于常用的话术播报,非常用话术切勿使用,否则内存泄漏 * Digital people speak in cache mode, which requires
PyAibote/WindowsBotModel/DigitalHumanOperation.py:58
Method
metahuman_speech_clone
数字人使用克隆声音说话,此函数需要调用 initSpeechCloneService 初始化语音服务 Generate digital human speech file (voice clone), and automatically genera
PyAibote/WindowsBotModel/DigitalHumanOperation.py:194
Method
microphone_to_text
麦克风输入流转换文本 Microphone input stream conversion text language: 语言,参考开发文档 语言和发音人 zh-cn return: 转换后的音频文本
PyAibote/WindowsBotModel/VoiceService.py:43
Method
microphone_translation_text
麦克风音频翻译成目标语言文本 Microphone audio is translated into target language text source_language: 要翻译的语言,参考开发文档 语言和发音人
PyAibote/WindowsBotModel/VoiceService.py:95
Method
mobile_emulation
模拟移动端浏览器 Analog mobile browser width: 宽度 height: 高度 userAgent: 用户代理 platform
PyAibote/WebBotModel/WindowOperation.py:59
Method
move
手指移动 Finger movement point: 坐标 duration: 持续时间 return: Ture 或者 False point:
PyAibote/AndroidBotModel/CoordinateOperation.py:129
Method
move_mouse
移动鼠标 Move the mouse point: 坐标点 return: 布尔值 point: coordinate point return:
PyAibote/WebBotModel/KeymouseOperation.py:68
Method
move_mouse
移动鼠标 hwnd: 当前窗口句柄 x: 横坐标 y: 纵坐标 mode: 操作模式,后台 True,前台 False, 默认前台操作 ele_hwnd
PyAibote/WindowsBotModel/KeymouseOperation.py:9
Method
move_mouse_relative
移动鼠标(相对坐标) Move the mouse (relative coordinates) hwnd: 当前窗口句柄 x: 相对横坐标 y: 相对纵坐标
PyAibote/WindowsBotModel/KeymouseOperation.py:29
Method
move_to_element
移动鼠标到元素位置(元素中心点) Move the mouse to the element position (element center point) xpath: 元素 xpath 路径 re
PyAibote/WebBotModel/KeymouseOperation.py:23
Method
new_get_face_data
获取脸部数据 Get face data server_ip: 服务端IP call_api_key: 调用密钥 video_path: 人脸视频路径
PyAibote/DigitalHumanModel/DigitalHuman.py:32
Method
new_metahuman_add_background
添加视频/图片背景 (使用前需要先调用 init_new_metahuman 初始化数字人) Add video/picture background bg_path: 背景视频/图片路径 x: 人物
PyAibote/DigitalHumanModel/DigitalHuman.py:70
Method
new_metahuman_audio_to_lab
生成lab文件 Generate lab file server_ip: lab服务端IP audio_path: 音频文件路径 return: 失败返回错误信息,成功返回tr
PyAibote/DigitalHumanModel/DigitalHuman.py:137
Method
new_metahuman_audio_to_lab_ex
云端生成lab文件(对接阿里云语音识别极速版) Cloud Generation lab File (Docking Alibaba Cloud Speech Recognition Extreme Edition) acc
PyAibote/DigitalHumanModel/DigitalHuman.py:399
Method
new_metahuman_audio_to_lab_ex_service
云端生成lab文件(对接阿里云语音识别极速版)(中转服务) Cloud-generated lab file (connected to Alibaba Cloud Speech Recognition Extreme Edition) (trans
PyAibote/DigitalHumanModel/DigitalHuman.py:568
Method
new_metahuman_audio_to_text
语音转文本 Speech to text server_ip: 语音识别服务端IP audio_path: 音频文件路径 return: 失败返回"None",成功返回语音识别
PyAibote/DigitalHumanModel/DigitalHuman.py:175
Method
new_metahuman_blur_mouth
高斯模糊嘴型,优化嘴型细节瑕疵 Gaussian fuzzy mouth shape, optimizing mouth shape detail defects isBlurMouth: 开启后淡化口型瑕疵细节,嘴型清晰度
PyAibote/DigitalHumanModel/DigitalHuman.py:610
Method
new_metahuman_close_driver
关闭驱动 Turn off drive return: 返回true return: Return true
PyAibote/DigitalHumanModel/DigitalHuman.py:338
Method
new_metahuman_del_background
删除视频/图片背景 Delete video/picture background return: 成功返回True,失败返回错误信息 return: Returns True on success,
PyAibote/DigitalHumanModel/DigitalHuman.py:90
Method
new_metahuman_del_human_window_border
删除数字人窗口标题栏边框 Delete the title bar border of the Digital Man window is_no_border: 是否删除标题栏边框, True 删除标题栏, False 恢复
PyAibote/DigitalHumanModel/DigitalHuman.py:435
Method
new_metahuman_generate_human_video
生成数字人视频 Generate digital human video audio_path: 音频路径,需要提前生成lab文件 return: 失败返回错误信息,成功返回true,并在audio_
PyAibote/DigitalHumanModel/DigitalHuman.py:100
Method
new_metahuman_generate_human_video_ex
云端算力生成短视频 Cloud computing generates short videos server_ip: 服务端IP call_api_key: 调用密钥 aud
PyAibote/DigitalHumanModel/DigitalHuman.py:114
Method
new_metahuman_generate_human_video_ex_service
云端算力生成短视频(中转服务) Cloud computing generates short video (transit service) audio_path: 驱动口型的音频路径 video_
PyAibote/DigitalHumanModel/DigitalHuman.py:503
Method
new_metahuman_get_driver_folder
获取驱动程序 所在的文件夹路径 Gets the folder path where the driver is located return: 返回AiDriver.exe所在的文件夹路径 ret
PyAibote/DigitalHumanModel/DigitalHuman.py:327
Method
new_metahuman_get_extend_param
获取驱动程序命令行参数(不包含ip和port) Get the driver command line parameters (excluding ip and port) return: 成功返回参数,失败返回None
PyAibote/DigitalHumanModel/DigitalHuman.py:314
Method
new_metahuman_get_face_data_service
获取脸部数据(中转服务) Get face data (transit service) video_path: 人脸视频路径 return: 失败返回错误信息,成功返回True。并在videoPat
PyAibote/DigitalHumanModel/DigitalHuman.py:467
Method
new_metahuman_get_human_speak_queue_count
获取数字人说话 队列存入的数量 Get the number of digital people talking queues return: 返回队列存入的数量 return: Returns th
PyAibote/DigitalHumanModel/DigitalHuman.py:365
Method
new_metahuman_get_train_status_ex
获取 trainVoiceEx 训练状态 Get the trainVoiceEx training status appid: APP ID token: Access Token
PyAibote/DigitalHumanModel/DigitalHuman.py:268
Method
new_metahuman_get_windows_id
获取 windows ID get windows ID return: 成功返回windows Id return: successfully returned windows Id
PyAibote/DigitalHumanModel/DigitalHuman.py:599
Method
new_metahuman_hide_human_window
隐藏数字人窗口 Hidden numbers ren Chuang kou is_hide: 是否隐藏, True 隐藏, False 显示 return: 返回True i
PyAibote/DigitalHumanModel/DigitalHuman.py:422
Method
new_metahuman_human_speak
数字人说话 Digital people speak audio_path: 音频路径,需要提前生成lab文件 wait_play_sound: 是否等待播报完毕 insert
PyAibote/DigitalHumanModel/DigitalHuman.py:193
Method
new_metahuman_insert_video
插入特写视频 Insert close-up video video_path: 要播放的视频 return: 成功返回true,失败返回错误信息 video_path: t
PyAibote/DigitalHumanModel/DigitalHuman.py:349
Method
new_metahuman_llm
通义千问(应用) General meaning and thousand questions (application) app_id: 应用ID api_key: API密钥
PyAibote/DigitalHumanModel/DigitalHuman.py:448
Method
new_metahuman_llm_service
通义千问(应用)(中转服务) Tong yi Qian Wen (application) (transit service) prompt: 提问 return: 成功输出语言模型答案,失败返回错误
PyAibote/DigitalHumanModel/DigitalHuman.py:585
Method
new_metahuman_start_record
录制麦克风 Recording microphone save_audio_path: 录制保存的音频路径,需要调用 stopRecord 结束录制并保存 return: 返回true
PyAibote/DigitalHumanModel/DigitalHuman.py:223
Method
new_metahuman_stop_record
停止录制 Stop recording return: 返回true return: returns true
PyAibote/DigitalHumanModel/DigitalHuman.py:236
Method
new_metahuman_stop_speak
打断说话 Interrupt speech return: 返回true return: Returns true
PyAibote/DigitalHumanModel/DigitalHuman.py:213
← previous
next →
201–300 of 402, ranked by callers