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
📝 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"
# Default Model; "v3"
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hercai-2.0.1.tar.gz.
File metadata
- Download URL: hercai-2.0.1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e3e3169a34fd7d5fa17ed1a0131af5118806453e7abed5bf55f8b6c0465c41d
|
|
| MD5 |
d645298daf116502d670dd8a3a6ba6a2
|
|
| BLAKE2b-256 |
c6821da47420451be98d2bec78b29fda6395455e810604643039020fd31c2354
|
File details
Details for the file hercai-2.0.1-py3-none-any.whl.
File metadata
- Download URL: hercai-2.0.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a49120ce2a7f464e7368fd6d2d02c9cb437014064c644e59f2e5415647fef34
|
|
| MD5 |
a6311dcf90416341333151967d667c5e
|
|
| BLAKE2b-256 |
3631e9d6ed6b7133c9d60b5de8fc5e868ce2694c6af08769bee7814722c4c701
|