rsnchat


Namersnchat JSON
Version 4.0.0 PyPI version JSON
download
home_pageNone
SummaryA package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon
upload_time2024-06-21 09:41:41
maintainerNone
docs_urlNone
authorrnilaweera
requires_pythonNone
licenseNone
keywords python first package
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rsnchat

This package package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Claude, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon without restrictions or limits

## Installation

You can install the package via Pypi

```bash
pip install rsnchat
```

# APIKEY

Discord : [https://discord.gg/r5QWdKfQxr](https://discord.gg/r5QWdKfQxr)

Join discord server and create account with **/new** slash command and get your apikey with **/key** slash command for free!

## Usage GPT4

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

gpt_response = rsn_chat.gpt("hello what is your name?")
print(gpt_response.get('message', ''))
```

## Usage OpenChat

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

openchat_response = rsn_chat.openchat("hello what is your name?")
print(openchat_response.get('message', ''))
```

## Usage Bard

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

bard_response = rsn_chat.bard("hello what is your name?")
print(bard_response.get('message', ''))
```

## Usage Gemini

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

gemini_response = rsn_chat.gemini("hello what is your name?")
print(gemini_response.get('message', ''))
```

## Usage LlaMa

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

llama_response = rsn_chat.llama("hello what is your name?")
print(llama_response.get('message', ''))
```

## Usage Mixtral

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

mixtral_response = rsn_chat.mixtral("hello what is your name?")
print(mixtral_response.get('message', ''))
```

## Usage Prodia

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

prompt = "beautiful girl"
negative_prompt = "blury, bad quality"

model = "absolutereality_v181.safetensors [3d9d4d2b]"

response = rsn_chat.prodia(prompt, negative_prompt, model)

response.then(
    lambda response: print(response),
    lambda error: print(f"Error: {error}")
)
```

#### Prodia Models

List of prodia models

- 3Guofeng3_v34.safetensors [50f420de]
- absolutereality_V16.safetensors [37db0fc3]
- absolutereality_v181.safetensors [3d9d4d2b]
- amIReal_V41.safetensors [0a8a2e61]
- analog-diffusion-1.0.ckpt [9ca13f02]
- anythingv3_0-pruned.ckpt [2700c435]
- anything-v4.5-pruned.ckpt [65745d25]
- anythingV5_PrtRE.safetensors [893e49b9]
- AOM3A3_orangemixs.safetensors [9600da17]
- blazing_drive_v10g.safetensors [ca1c1eab]
- cetusMix_Version35.safetensors [de2f2560]
- childrensStories_v13D.safetensors [9dfaabcb]
- childrensStories_v1SemiReal.safetensors [a1c56dbb]
- childrensStories_v1ToonAnime.safetensors [2ec7b88b]
- Counterfeit_v30.safetensors [9e2a8f19]
- cuteyukimixAdorable_midchapter3.safetensors [04bdffe6]
- cyberrealistic_v33.safetensors [82b0d085]
- dalcefo_v4.safetensors [425952fe]
- deliberate_v2.safetensors [10ec4b29]
- deliberate_v3.safetensors [afd9d2d4]
- dreamlike-anime-1.0.safetensors [4520e090]
- dreamlike-diffusion-1.0.safetensors [5c9fd6e0]
- dreamlike-photoreal-2.0.safetensors [fdcf65e7]
- dreamshaper_6BakedVae.safetensors [114c8abb]
- dreamshaper_7.safetensors [5cf5ae06]
- dreamshaper_8.safetensors [9d40847d]
- edgeOfRealism_eorV20.safetensors [3ed5de15]
- EimisAnimeDiffusion_V1.ckpt [4f828a15]
- elldreths-vivid-mix.safetensors [342d9d26]
- epicrealism_naturalSinRC1VAE.safetensors [90a4c676]
- ICantBelieveItsNotPhotography_seco.safetensors [4e7a3dfd]
- juggernaut_aftermath.safetensors [5e20c455]
- lofi_v4.safetensors [ccc204d6]
- lyriel_v16.safetensors [68fceea2]
- majicmixRealistic_v4.safetensors [29d0de58]
- mechamix_v10.safetensors [ee685731]
- meinamix_meinaV9.safetensors [2ec66ab0]
- meinamix_meinaV11.safetensors [b56ce717]
- neverendingDream_v122.safetensors [f964ceeb]
- openjourney_V4.ckpt [ca2f377f]
- pastelMixStylizedAnime_pruned_fp16.safetensors [793a26e8]
- portraitplus_V1.0.safetensors [1400e684]
- protogenx34.safetensors [5896f8d5]
- Realistic_Vision_V1.4-pruned-fp16.safetensors [8d21810b]
- Realistic_Vision_V2.0.safetensors [79587710]
- Realistic_Vision_V4.0.safetensors [29a7afaa]
- Realistic_Vision_V5.0.safetensors [614d1063]
- redshift_diffusion-V10.safetensors [1400e684]
- revAnimated_v122.safetensors [3f4fefd9]
- rundiffusionFX25D_v10.safetensors [cd12b0ee]
- rundiffusionFX_v10.safetensors [cd4e694d]
- sdv1_4.ckpt [7460a6fa]
- shoninsBeautiful_v10.safetensors [25d8c546]
- theallys-mix-ii-churned.safetensors [5d9225a4]
- timeless-1.0.ckpt [7c4971d4]
- toonyou_beta6.safetensors [980f6b15]

## Usage Kandinsky

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

# Define your prompt and negative prompt
prompt = "beautiful girl"
negative_prompt = "blury, bad quality"

# Send the Kandinsky prompt
response = rsn_chat.kandinsky(prompt, negative_prompt)

# Process and print the response
response.then(
    lambda response: print(response),
    lambda error: print(f"Error: {error}")
)
```

## Usage Absolutebeauty

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

prompt = "beautiful girl"
negative_prompt = "blury, bad quality"

response = rsn_chat.absolutebeauty(prompt, negative_prompt)

response.then(
    lambda response: print(response),
    lambda error: print(f"Error: {error}")
)
```

## Usage Sdxl

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

prompt = "beautiful girl"
negative_prompt = "blury, bad quality"

response = rsn_chat.sdxl(prompt, negative_prompt)

response.then(
    lambda response: print(response),
    lambda error: print(f"Error: {error}")
)

```

## Usage Dalle

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

prompt = "beautiful girl"
negative_prompt = "blury, bad quality"

response = rsn_chat.dalle(prompt, negative_prompt)

response.then(
    lambda response: print(response),
    lambda error: print(f"Error: {error}")
)

```

## Usage AI Icon

```python
from rsnchat import RsnChat

rsn_chat = RsnChat("chatgpt_××××××××××××××××××××××")

prompt = "beautiful girl"
negative_prompt = "blury, bad quality"

response = rsn_chat.icon(prompt, negative_prompt)

response.then(
    lambda response: print(response),
    lambda error: print(f"Error: {error}")
)

```

## The version 3.0.6 of the Python (PIP) package of the RSN-Chat is equivalent to the version 3.0.6 of the [RSN-Chat JavaScript (NPM) package](https://www.npmjs.com/package/rsnchat?activeTab=readme)



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rsnchat",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, first package",
    "author": "rnilaweera",
    "author_email": "stacxdev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/d8/55b485c873bf37350cae0f04cddf4062a0e0aeaac2811a42961fda81f2d1/rsnchat-4.0.0.tar.gz",
    "platform": null,
    "description": "# rsnchat\n\nThis package package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Claude, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon without restrictions or limits\n\n## Installation\n\nYou can install the package via Pypi\n\n```bash\npip install rsnchat\n```\n\n# APIKEY\n\nDiscord : [https://discord.gg/r5QWdKfQxr](https://discord.gg/r5QWdKfQxr)\n\nJoin discord server and create account with **/new** slash command and get your apikey with **/key** slash command for free!\n\n## Usage GPT4\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\ngpt_response = rsn_chat.gpt(\"hello what is your name?\")\nprint(gpt_response.get('message', ''))\n```\n\n## Usage OpenChat\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nopenchat_response = rsn_chat.openchat(\"hello what is your name?\")\nprint(openchat_response.get('message', ''))\n```\n\n## Usage Bard\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nbard_response = rsn_chat.bard(\"hello what is your name?\")\nprint(bard_response.get('message', ''))\n```\n\n## Usage Gemini\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\ngemini_response = rsn_chat.gemini(\"hello what is your name?\")\nprint(gemini_response.get('message', ''))\n```\n\n## Usage LlaMa\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nllama_response = rsn_chat.llama(\"hello what is your name?\")\nprint(llama_response.get('message', ''))\n```\n\n## Usage Mixtral\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nmixtral_response = rsn_chat.mixtral(\"hello what is your name?\")\nprint(mixtral_response.get('message', ''))\n```\n\n## Usage Prodia\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nprompt = \"beautiful girl\"\nnegative_prompt = \"blury, bad quality\"\n\nmodel = \"absolutereality_v181.safetensors [3d9d4d2b]\"\n\nresponse = rsn_chat.prodia(prompt, negative_prompt, model)\n\nresponse.then(\n    lambda response: print(response),\n    lambda error: print(f\"Error: {error}\")\n)\n```\n\n#### Prodia Models\n\nList of prodia models\n\n- 3Guofeng3_v34.safetensors [50f420de]\n- absolutereality_V16.safetensors [37db0fc3]\n- absolutereality_v181.safetensors [3d9d4d2b]\n- amIReal_V41.safetensors [0a8a2e61]\n- analog-diffusion-1.0.ckpt [9ca13f02]\n- anythingv3_0-pruned.ckpt [2700c435]\n- anything-v4.5-pruned.ckpt [65745d25]\n- anythingV5_PrtRE.safetensors [893e49b9]\n- AOM3A3_orangemixs.safetensors [9600da17]\n- blazing_drive_v10g.safetensors [ca1c1eab]\n- cetusMix_Version35.safetensors [de2f2560]\n- childrensStories_v13D.safetensors [9dfaabcb]\n- childrensStories_v1SemiReal.safetensors [a1c56dbb]\n- childrensStories_v1ToonAnime.safetensors [2ec7b88b]\n- Counterfeit_v30.safetensors [9e2a8f19]\n- cuteyukimixAdorable_midchapter3.safetensors [04bdffe6]\n- cyberrealistic_v33.safetensors [82b0d085]\n- dalcefo_v4.safetensors [425952fe]\n- deliberate_v2.safetensors [10ec4b29]\n- deliberate_v3.safetensors [afd9d2d4]\n- dreamlike-anime-1.0.safetensors [4520e090]\n- dreamlike-diffusion-1.0.safetensors [5c9fd6e0]\n- dreamlike-photoreal-2.0.safetensors [fdcf65e7]\n- dreamshaper_6BakedVae.safetensors [114c8abb]\n- dreamshaper_7.safetensors [5cf5ae06]\n- dreamshaper_8.safetensors [9d40847d]\n- edgeOfRealism_eorV20.safetensors [3ed5de15]\n- EimisAnimeDiffusion_V1.ckpt [4f828a15]\n- elldreths-vivid-mix.safetensors [342d9d26]\n- epicrealism_naturalSinRC1VAE.safetensors [90a4c676]\n- ICantBelieveItsNotPhotography_seco.safetensors [4e7a3dfd]\n- juggernaut_aftermath.safetensors [5e20c455]\n- lofi_v4.safetensors [ccc204d6]\n- lyriel_v16.safetensors [68fceea2]\n- majicmixRealistic_v4.safetensors [29d0de58]\n- mechamix_v10.safetensors [ee685731]\n- meinamix_meinaV9.safetensors [2ec66ab0]\n- meinamix_meinaV11.safetensors [b56ce717]\n- neverendingDream_v122.safetensors [f964ceeb]\n- openjourney_V4.ckpt [ca2f377f]\n- pastelMixStylizedAnime_pruned_fp16.safetensors [793a26e8]\n- portraitplus_V1.0.safetensors [1400e684]\n- protogenx34.safetensors [5896f8d5]\n- Realistic_Vision_V1.4-pruned-fp16.safetensors [8d21810b]\n- Realistic_Vision_V2.0.safetensors [79587710]\n- Realistic_Vision_V4.0.safetensors [29a7afaa]\n- Realistic_Vision_V5.0.safetensors [614d1063]\n- redshift_diffusion-V10.safetensors [1400e684]\n- revAnimated_v122.safetensors [3f4fefd9]\n- rundiffusionFX25D_v10.safetensors [cd12b0ee]\n- rundiffusionFX_v10.safetensors [cd4e694d]\n- sdv1_4.ckpt [7460a6fa]\n- shoninsBeautiful_v10.safetensors [25d8c546]\n- theallys-mix-ii-churned.safetensors [5d9225a4]\n- timeless-1.0.ckpt [7c4971d4]\n- toonyou_beta6.safetensors [980f6b15]\n\n## Usage Kandinsky\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\n# Define your prompt and negative prompt\nprompt = \"beautiful girl\"\nnegative_prompt = \"blury, bad quality\"\n\n# Send the Kandinsky prompt\nresponse = rsn_chat.kandinsky(prompt, negative_prompt)\n\n# Process and print the response\nresponse.then(\n    lambda response: print(response),\n    lambda error: print(f\"Error: {error}\")\n)\n```\n\n## Usage Absolutebeauty\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nprompt = \"beautiful girl\"\nnegative_prompt = \"blury, bad quality\"\n\nresponse = rsn_chat.absolutebeauty(prompt, negative_prompt)\n\nresponse.then(\n    lambda response: print(response),\n    lambda error: print(f\"Error: {error}\")\n)\n```\n\n## Usage Sdxl\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nprompt = \"beautiful girl\"\nnegative_prompt = \"blury, bad quality\"\n\nresponse = rsn_chat.sdxl(prompt, negative_prompt)\n\nresponse.then(\n    lambda response: print(response),\n    lambda error: print(f\"Error: {error}\")\n)\n\n```\n\n## Usage Dalle\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nprompt = \"beautiful girl\"\nnegative_prompt = \"blury, bad quality\"\n\nresponse = rsn_chat.dalle(prompt, negative_prompt)\n\nresponse.then(\n    lambda response: print(response),\n    lambda error: print(f\"Error: {error}\")\n)\n\n```\n\n## Usage AI Icon\n\n```python\nfrom rsnchat import RsnChat\n\nrsn_chat = RsnChat(\"chatgpt_\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\")\n\nprompt = \"beautiful girl\"\nnegative_prompt = \"blury, bad quality\"\n\nresponse = rsn_chat.icon(prompt, negative_prompt)\n\nresponse.then(\n    lambda response: print(response),\n    lambda error: print(f\"Error: {error}\")\n)\n\n```\n\n## The version 3.0.6 of the Python (PIP) package of the RSN-Chat is equivalent to the version 3.0.6 of the [RSN-Chat JavaScript (NPM) package](https://www.npmjs.com/package/rsnchat?activeTab=readme)\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon",
    "version": "4.0.0",
    "project_urls": null,
    "split_keywords": [
        "python",
        " first package"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f5e17eceace759d303acb5757026dbd09b61188c9993fa94acf2f5ede745787",
                "md5": "91957ad405187f3224b5b05478d6101e",
                "sha256": "a120786f85f046575c8e9691359d451337efa25449259c9a13c2b62050604a38"
            },
            "downloads": -1,
            "filename": "rsnchat-4.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "91957ad405187f3224b5b05478d6101e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3896,
            "upload_time": "2024-06-21T09:41:40",
            "upload_time_iso_8601": "2024-06-21T09:41:40.391643Z",
            "url": "https://files.pythonhosted.org/packages/7f/5e/17eceace759d303acb5757026dbd09b61188c9993fa94acf2f5ede745787/rsnchat-4.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aed855b485c873bf37350cae0f04cddf4062a0e0aeaac2811a42961fda81f2d1",
                "md5": "b2c7374058733fa9cd164415c1043003",
                "sha256": "e0a2692b70997022f19ac740d61a369adef74cc0ef73a18077531a686cc99738"
            },
            "downloads": -1,
            "filename": "rsnchat-4.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b2c7374058733fa9cd164415c1043003",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3874,
            "upload_time": "2024-06-21T09:41:41",
            "upload_time_iso_8601": "2024-06-21T09:41:41.939560Z",
            "url": "https://files.pythonhosted.org/packages/ae/d8/55b485c873bf37350cae0f04cddf4062a0e0aeaac2811a42961fda81f2d1/rsnchat-4.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-21 09:41:41",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rsnchat"
}
        
Elapsed time: 0.36363s