Ai Tools for developers
Project description
Ai Tools
Transcribe Audio
from EngineerAi import *
ai = EngineerAi()
print(ai.transcribe_audio(lang="en", audio_file="simple.mp3"))
Text To Speech
from EngineerAi import *
ai = EngineerAi()
print(ai.text_to_speech(text="Hello Ai", lang="en", filename="simple.mp3"))
Chat With Ai
from EngineerAi import *
ai = EngineerAi()
print(ai.chatai(key='your openai key', question="Hi"))
Generate sound
from EngineerAi import *
ai = EngineerAi()
frequencies = [440.0, 523.25, 659.26]
duration_ms = 1000 # 1s=1000
output_file = "output.wav"
ai.generate_sound(frequencies, duration_ms, output_file)
Text to frequencies
from EngineerAi import *
ai = EngineerAi()
ai.text_to_frequencies(text='hi',filename='output.wav')
Installing
pip3 install -U engineerai
Community
- Join the telegram channel: https://t.me/tshreb_programming
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
engineerai-1.8.tar.gz
(4.1 kB
view hashes)