Metadata-Version: 2.1
Name: hercai
Version: 3.3.0
Summary: A powerful Python Package for interacting with the Herc.ai API.
Home-page: https://github.com/Bes-js/Hercai.py
Author: fivesobes
License: GPL-3.0
Keywords: ai,chatbot,chatgpt,gpt,API,web,arc,smart,smartestchatbot,api,dalle,dall-e,text2image,texttoimage,text2img,texttoimg,image,image-generator,midjourney,diffusion,dall-e2,ai-images,ai-images-generator,gpt,discord,chat,chatbot,chatgpt4,chatgpt-4,openai,open-ai,hercai,herc,herc.ai,smartest,bot,robot,axios,canvafy,streamed-chatgpt-api,dart-openai-sdk,completions,cli,bin,command,console,cmd,bing,bing-chat,openaiapi,open.ai,openai-api,luppux,fivesobes,gemini,gemini-api,gemini-pro,google,five,bes,discord-ai,discordai,free,lodash,react,next,chalk,free,lodash,stable,anime,bes,fivesobes,five
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: requests
Description-Content-Type: text/markdown
License-File: LICENSE.md

<p align="center"> <a href="#"> <img width=500 src="https://raw.githubusercontent.com/Bes-js/herc.ai/main/hercai-logo.png"></a></p> 
<p align="center"> <a href="https://render.com?ref=hercai"> <img width=200 height=90 src="https://raw.githubusercontent.com/Bes-js/herc.ai/main/render-logo.png"></a> </p>
<p align="center"> <img src="https://img.shields.io/github/repo-size/Bes-js/Hercai.py?style=for-the-badge"> <img src="https://img.shields.io/github/contributors/Bes-js/Hercai.py?style=for-the-badge"> <a href="https://discord.gg/luppux" target="_blank"> <img alt="Discord" src="https://img.shields.io/badge/Support-Click%20here-7289d9?style=for-the-badge&logo=discord"></p>

# [Herc.ai](https://discord.gg/luppux)

> **A powerful Python Package for interacting with the [Herc.ai](https://discord.gg/luppux) API.**

> **We Offer It To You For Free.**
> **[Herc.ai](https://discord.gg/luppux) 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?](https://hercai-shop.onrender.com)**
**[✨ Use Hercai Unlimited with API Key!](https://hercai-shop.onrender.com)**
#
### ❔ [Support](https://discord.gg/luppux)
### 📖 [Document's](https://fivesobes.gitbook.io/hercai/)
### 📝 [Github](https://github.com/Bes-js/Hercai.py)
#
**📂 Installation**
```lua
pip install hercai
```
#
# Quick Example

**Exampe Construction;**
```py
 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=](https://hercai.onrender.com/v3/hercai?question=)**

**Example Question For Python;**
```py
# 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=](https://hercai.onrender.com/v3/text2image?prompt=)**

**Example Draw Image For Python;**
```py
# 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**
```py
# For Beta Question
question_result = herc.beta_question(...)

# For Beta Draw Image
image_result = herc.beta_draw_image(...)
```
#
# Credits
 
**[NPM Package For JavaScript & TypeScript](https://www.npmjs.com/package/hercai)**
#
**Made by [FiveSoBes](https://github.com/Bes-js) And [Luppux Development](https://github.com/Luppux)**


# Contact & Support

[![Discord Banner](https://api.weblutions.com/discord/invite/luppux/)](https://discord.gg/luppux)


