Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
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!
📂 Installation
pip install hercai
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(...)
NPM Package For JavaScript & TypeScript
Made by FiveSoBes And Luppux Development
FAQs
A powerful Python Package for interacting with the Herc.ai API.
We found that hercai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.