gcc3 / simple-ai-chat

AI chat application.
https://simple-ai.io
Other
1 stars 7 forks source link

Website Reverse Engineered Code. API access free #129

Closed opnoice closed 11 months ago

opnoice commented 1 year ago
import requests

def simpleai(prompt, query_id="2728728727")
    url = "https://simple-ai.io/api/generate_sse"
    params = {
        "user_input": prompt,
        "query_id": query_id,
        "role": "",
        "use_stats": "false",
        "use_location": "false",
        "location": "null",
        "use_vision": "false",
        "images": ""
    }

    headers = {
        "accept": "text/event-stream",
        "accept-language": "en-US,en-IN;q=0.9,en-GB;q=0.8,en;q=0.7",
        "cache-control": "no-cache",
        "sec-ch-ua": "\"Not)A;Brand\";v=\"24\", \"Chromium\";v=\"116\"",
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": "\"Android\"",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-origin",
        "Referer": "https://simple-ai.io/",
        "Referrer-Policy": "strict-origin-when-cross-origin"
    }

    response = requests.get(url, params=params, headers=headers)
    return response

Enjoy Guys! Hope you like it 😀♥️

opnoice commented 1 year ago

Your website has been leaked in discord and will be abused. You are required to change domain to fix the issue or Disable reverse engineering of your website.

lhypds commented 1 year ago

Well, thank you for your reminding, will check. ♥️♥️ @opnoice

opnoice commented 1 year ago

Well, thank you for your reminding, will check. ♥️♥️ @opnoice

Fix it as soon as possible, or it will cost you a lot of money