This is your automatically generated API key for WormGPT.
Example Python API Request:
import requests
api_key = "YOUR_API_KEY_HERE" # Replace with your generated API Key
message = "Hello WormGPT, tell me about ethical hacking."
# For sending files, you'd encode them to base64 and pass them.
# file_base64 = "..."
response = requests.post(
"https://sii3.moayman.top/DARK/", # This is the URL of your WormGPT chat interface
headers={"X-Requested-With": "XMLHttpRequest"},
data={
"text": message,
"chat_history": "[]" # Send chat history as JSON string
# "base64": file_base64 # Uncomment and provide base64 data if sending a file
}
)
if response.status_code == 200:
print(response.json())
else:
print(f"Error: {response.status_code} - {response.text}")