70 lines
2.8 KiB
Markdown
70 lines
2.8 KiB
Markdown
<div align="center">
|
|
|
|
<img src="assets/alstack-banner.svg" width="900" alt="@AlStack - free-tier farms, live proxy pools, API research">
|
|
|
|
<br>
|
|
|
|
<a href="https://t.me/AlStack"><img src="assets/alstack-badge.svg" alt="Telegram: @AlStack"></a>
|
|
|
|
</div>
|
|
|
|
<!-- ALSTACK-PROMO -->
|
|
|
|
> **Published from the [t.me/AlStack](https://t.me/AlStack) channel** (`@AlStack`) - free-tier farms,
|
|
> live proxy pools and API research. Every tool here gets built, measured and torn apart in the channel
|
|
> before it becomes a repo; the limits in the docs are the ones that were actually hit.
|
|
> What the channel publishes: [CHANNEL.md](CHANNEL.md).
|
|
|
|
# bria-autoreg
|
|
|
|
Autoreg for [Bria AI](https://bria.ai) media API (Fibo 2 / Fibo Lite image generation).
|
|
Zero captcha, zero email verification: Firebase `signUp` -> session -> `create_organization` -> API key.
|
|
|
|
## What you get per account
|
|
* **100 free API calls** (`lite` counts the same as `full`), no card required.
|
|
* Hard stop after the quota: `403 free_limit_reached`. Rate limit 10 req/min.
|
|
* Key is a 32-hex `api_token`, sent as the `api_token:` header (not Bearer).
|
|
|
|
## Verified flow (2026-11-01)
|
|
1. `POST https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=<FB_KEY>` `{email,password,returnSecureToken:true}`
|
|
* `FB_KEY` = Firebase web key from the `platform` JS bundle (see `fbkey.txt`).
|
|
* Too many signups from one IP -> `400 TOO_MANY_ATTEMPTS_TRY_LATER` -> rotate egress (IPv6 `/64` boxes or mobile).
|
|
2. `POST https://platform-api.bria.ai/session/login` -> id token
|
|
3. `POST https://platform-api.bria.ai/.../create_organization`
|
|
4. `POST https://api.bria.ai/v2/organizations/api-keys/create` `{key_type:"production"}` with `Org-Id`
|
|
5. Probe: `POST https://engine.prod.bria-api.com/v2/image/generate/lite` with `api_token` header + `sync:true`
|
|
|
|
Measured: ~10s per account, 121/150 (80%) success per wave with egress rotation, generation latency 4.8-6s.
|
|
|
|
## Files
|
|
* `bria_farm.py` - worker: `python bria_farm.py --n 150 --workers 6 --proxy round`
|
|
* `bria_shim.py` - OpenAI-compatible shim (`/v1/models`, `/v1/images/generations`) with round-robin key pool,
|
|
dead-key blacklist, 60s cooldown on 429.
|
|
|
|
## Env
|
|
```
|
|
BRIA_PROXIES=http://user:pass@host:port,... # rotation pool (IPv6 CONNECT proxies work best)
|
|
BRIA_DIRECT=1 # append direct connection as last resort
|
|
BRIA_SHIM_PORT=8820
|
|
BRIA_BANK=/path/bank.jsonl
|
|
```
|
|
|
|
## Bank row
|
|
```json
|
|
{"email":"...","password":"...","api_token":"<32hex>","status":"ok","note":"gen=200","proxy":"..."}
|
|
```
|
|
|
|
|
|
---
|
|
|
|
<div align="center">
|
|
|
|
<a href="https://t.me/AlStack"><img src="assets/alstack-badge.svg" alt="Telegram: @AlStack"></a>
|
|
|
|
**More free-tier farms, live proxy pools and API teardowns - [t.me/AlStack](https://t.me/AlStack)**
|
|
|
|
<sub>Measured on live tiers, published with the failures included. If this repo saved you an evening,
|
|
star it and tell the channel what you built with it.</sub>
|
|
|
|
</div>
|