I created a dedicated HTTP API for official ChatGPT API, its using POST so it can handle long prompts and it supports setting all OpenAI properties
axios({
method: 'post',
url: 'https://chatgpt.pawan.krd/ask',
headers: {| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Loading overlay - Demo by Roko C.B</title> | |
| <style id="jsbin-css"> | |
| *{margin:0;} | |
| body{ | |
| font: 200 16px/1 Helvetica, Arial, sans-serif; |
Reverse proxy to use OpenAI API Join Our Discord Server 😁
| import axios from 'axios'; | |
| let keys = [ // Example, replace it with your own keys | |
| "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", | |
| "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", | |
| "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", | |
| "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", | |
| "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", | |
| "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", | |
| "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", |
Step 1: Validate Routing to the Desired IP Address:
To ensure connectivity to your intended IP address, execute the following command to display network interface IP addresses:
ip addr showIn case the IP address is not visible under the relevant network interface, utilize the following command to add it: