How 2 Reve
TL;DR:
- Has prefill, system prompt, temperature, max tokens
- No streaming
- 3.7 Sonnet (no thinking), 3.5 v1/v2 seems to be down, 3.5 Haiku v2 should work
- Works in Termux (no dependencies)
- For ST: Chat Completions -> Claude, reverse proxy
http://localhost:9090/v1
, with any non-empty password. - YMMV, lightly tested with a stock ST install and a 20K context chat. Context and usage limits are unknown.
How to use
- Download either:
- https://files.catbox.moe/sahjex.py if you don't want to install any dependencies.
- https://files.catbox.moe/xi4epk.py async version if you need parallel requests or want to host it as a proxy for others. Needs
pip install aiohttp
- Go to https://preview.reve.art/, create an account and login. Then, do any one of those:
- Use any extension to export cookies in the Netscape format, for example install this extension -> open the Reve page, then the extension -> click "Copy" -> Save the whole content to token.txt.
- Open DevTools -> Network (in Chromium-based browsers, different in others). Write an image prompt and generate the images. Wait until you see a "chat" request, click on it, scroll down to "Request Headers", and copy the value of the "Authorization" header. Put it into token.txt.
- Get the cookie value of the "auth" cookie via any other method and save it into token.txt.
If you cannot install extensions or easily open DevTools (e.g. on mobile), copy this into the clipboard:
Then go to the Reve website, log in, wait until everything loads, then manually type (browsers will strip it if you copy paste that part) javascript:
into the address bar, then paste the code you copied so that you have javascript:code
, and tap on the option with the globe that will "open" this code by executing it. Your browser will then download a file token.txt with the token. Place it in the same folder with the script.
- Just start the script with
python proxy.py
, it will parse the API token and will be waiting for requests.
FAQ
Who are you?
I'm a cunny enjoyer. Feel free to send your appreciation in text and images to shinobu.creature198@silomails.com