A powerful Python Package for interacting with the Herc.ai API.
Project description
Herc.ai
A powerful Python Package for interacting with the Herc.ai API.
We Offer It To You For Free. Herc.ai Answers Your Question According To The Language, And It Supports All Languages.
✨ How about a one-time subscription to benefit from Hercai's features unlimitedly? ✨ Use Hercai Unlimited with API Key!
❔ Support
📖 Document's
📝 Github
📂 Installation
pip install hercai
Quick Example
Exampe Construction;
from hercai import Hercai
herc = Hercai("") # If you have a Hercai API Key, please define it in this section.
Question API; https://hercai.onrender.com/v3/hercai?question=
Example Question For Python;
# Available Models
# "v3" , "v3-32k" , "turbo" , "turbo-16k" , "gemini" , "llama3-70b" , "llama3-8b" , "mixtral-8x7b" , "gemma-7b" , "gemma2-9b"
# Default Model; "v3"
# Premium Parameter; personality => Optional
question_result = herc.question(model="v3", content="hi, how are you?")
print(question_result)
# print(question_result["reply"]) For Reply
Text To Image API; https://hercai.onrender.com/v3/text2image?prompt=
Example Draw Image For Python;
# Available Models
# "v1" , "v2" , "v2-beta" , "v3" (DALL-E) , "lexica" , "prodia", "simurg", "animefy", "raava", "shonin"
# Default Model; "v3"
image_result = herc.draw_image(model="simurg", prompt="A beautiful landscape", negative_prompt="Dark and gloomy")
print(image_result)
# print(image_result["url"]) For Image URL
Example Beta Model's Usage
# For Beta Question
question_result = herc.beta_question(...)
# For Beta Draw Image
image_result = herc.beta_draw_image(...)
Credits
NPM Package For JavaScript & TypeScript
Made by FiveSoBes And Luppux Development
Contact & Support
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
Built Distribution
File details
Details for the file hercai-3.3.0.tar.gz
.
File metadata
- Download URL: hercai-3.3.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f08cd11262d0c74f619fae45d0ae66bad9eab257efd17eab99307647f47a1e |
|
MD5 | 6b0235d476c21fd36b0fef7c058fc928 |
|
BLAKE2b-256 | 84fdfea05eeda46fdbb761dde6d0fe6866e035430db4c4170733af7410ce11f7 |
File details
Details for the file hercai-3.3.0-py3-none-any.whl
.
File metadata
- Download URL: hercai-3.3.0-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ab694ce5258ac4792b13efcd60202b798e0a15e7465875688e4b1915fe207d |
|
MD5 | 444afa1e7eec36ecb322608a5ffd129d |
|
BLAKE2b-256 | 221ee5d63a8efa6befa368e5a2200f1a0d43a9d92c853deb14ed9ff045fc8e2c |