Files
vetta-toolkit/README.md
T

5.3 KiB

vetta-toolkit

Reverse-engineering + mass-autoreg toolkit for Vetta / Naive (vetta.sh), an AI-API aggregator (merchant Relixir, Inc.). The frontend advertises ~457 models, but the live /v1/models catalogue (verified 2026-10-13, paginated) contains 369 models, all text/chat — the image/video proxy routes return 404 no route and image/video model IDs are unknown model. One OpenAI-compatible proxy key for everything that actually works.

Educational / security-research use. Registering accounts and reading a public API is fine; pay for what you use and cancel trials before they bill. This toolkit contains no card data, no card generation, no captcha bypass.

What's inside

File Purpose
autoreg.py Mass registration: disposable inbox → register → confirm → session → org → sk_live key, appended to accounts.jsonl
activate_all.py Batch-generate Stripe trial action_urls for every INACTIVE account → action_urls.txt (manual activation helper)
check_pool.py Status check: balance + subscription per account → ACTIVE vs DEAD (no-card / 402)
gateway.py Local OpenAI-compatible gateway (127.0.0.1:8700) that rotates the pool's sk_live keys against vetta's proxy
trial_url.py One-off: fetch a fresh Stripe checkout action_url for a single account index
auto_trial.py Semi-auto activation: real Chrome (CDP) fills card + billing address + submits; you only tick the hCaptcha box once
REVERSE.md Full API map, schemas, auth flow, trial mechanics, honest blocker notes
requirements.txt Python deps

Setup

pip install -r requirements.txt

Python 3.10+. autoreg.py and gateway.py are stdlib-only (no deps needed to run them); requirements.txt lists optional helpers.

1. Register accounts

python autoreg.py 5            # register 5 accounts -> accounts.jsonl
VETTA_PW=MyFarmPass123 python autoreg.py 10

Each account (~30s) yields an org api_key.secret = sk_live_... (the master Bearer). Records land in accounts.jsonl (gitignored).

2. Activate the trial (your own card, manual)

Fresh accounts are empty shells: balance $0, proxy → 402 subscription_required. The $10 / 7-day trial must be activated through Stripe.

Automated browsers get blocked by Stripe's invisible hCaptcha + Radar (see REVERSE.md), and generated/BIN cards don't pass issuer auth — so activation is manual, with your own card:

  1. Get checkout URL(s):
    python trial_url.py accounts.jsonl 0     # single account by index
    python activate_all.py                   # batch: every INACTIVE account -> action_urls.txt
    
  2. Open the printed action_url in a real browser (phone/PC).
  3. Enter your own card + matching billing country, click Start trial, tick the hCaptcha if it appears.
  4. $0 today; cancel before day 7 or it bills $20/mo.
  5. Verify what's live:
    python check_pool.py                     # ACTIVE vs DEAD (no-card / 402)
    

Activate one account at a time — many subscriptions on a single card can get it flagged. There is no fully automated activation: hCaptcha/Radar defeat every headless browser and token-injection attempt (documented in REVERSE.md).

2b. Semi-auto: auto_trial.py (everything except one click)

Automates the boring 95%: opens the checkout in a real Chrome (CDP), fills email + your card + full billing address, picks the region, submits, then waits while you tick the visible hCaptcha box once — synthetic CDP clicks on that box are silently ignored (HUMAN Security layer inside Stripe), verified 2026-10-13. After your click the payment completes by itself and the script verifies balance/subscription via the API.

# 1. dedicated Chrome with CDP (fresh profile dir; don't touch your daily browser)
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9333 ^
  --user-data-dir=C:\chrome_trial --no-first-run about:blank

# 2. your card in card.json (gitignored): {"pan":"...","exp":"08/30","cvv":"...","name":"..."}

# 3. run: target = index into action_urls.txt (from activate_all.py) or a JSON file
python auto_trial.py 0            # first inactive account
python auto_trial.py 0 9333 300   # explicit port + human wait seconds

The card never leaves your machine: read from local JSON → typed into Stripe's own form → masked in logs → never stored. Result lands in auto_trial_result.json (gitignored).

3. Use the gateway

python gateway.py             # 127.0.0.1:8700

Then point any OpenAI client at it:

curl http://127.0.0.1:8700/v1/chat/completions \
  -H 'content-type: application/json' \
  -d '{"model":"openai/gpt-6.1-sol-pro","messages":[{"role":"user","content":"hi"}]}'

The gateway round-robins the pool, auto-quarantines 402 (no-trial) accounts, and backs off on 429. Only trial-activated accounts serve traffic.

Notes / gotchas

  • /v1/auth/session returns 201, not 200.
  • New users have no org → scoped calls 403 until POST /v1/organizations.
  • api_key.secret (sk_live_...) is the master key, not the session token.
  • Heavy urllib probing from one IP can trigger Cloudflare 1010; back off or fetch the action_url from a browser same-origin context.

👻 иишко