Hercai.py

A powerful Python Package for interacting with the Herc.ai API.

GPL-3.0 License

Downloads
231
Stars
6
Hercai.py - Hercai Latest Release

Published by Bes-js 10 months ago

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

Discord Banner

Hercai.py - Hercai.py

Published by Bes-js 10 months ago

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

Discord Banner

Hercai.py - Hercai

Published by Bes-js 10 months ago

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

Discord Banner