"The MP3 for Images" - TechCrunch (Hypothetical) "Up to 10x semantic compression" - Benchmark Results "Preserves identity perfectly" - AI Weekly
HELIX is a semantic compression system that converts media into compact blueprints (.hlx) storing only identity-critical information. Unlike traditional compression (JPEG, MP4), HELIX separates "High Entropy" (faces, text, unique features) from "Low Entropy" (sky, walls, noise).
"Store the instructions for regeneration, not the pixels themselves."
| Feature | Description | Target |
|---|---|---|
| π± Cross-Platform | HLX files are valid PNGs viewable by ANY app | Adoption |
| π§ HELIX SDK | Up to 10x semantic compression for AI training | Enterprise |
pip install helix-sdk- Python 3.10+
- Node.js 18+
- Gemini API Key
# Clone
git clone https://github.com/DB0SZ1/PROJECT-HELIX.git
cd PROJECT-HELIX
# Backend
pip install -r requirements.txt
# Frontend
cd ui/helix-app
npm installCreate .env file:
GEMINI_API_KEY=your_api_key_here
# Terminal 1: Backend
python -m uvicorn src.api.server:app --port 8001 --reload
# Terminal 2: Frontend
cd ui/helix-app
npm run devVisit http://localhost:3000
HELIX v2 files are valid JPEGs that any app can display!
βββββββββββββββββββββββββββββββ
β JPEG Image Data β β Any app sees this
β (FF D8 ... FF D9) β
βββββββββββββββββββββββββββββββ€
β HELIX_DATA_START β β Our marker
βββββββββββββββββββββββββββββββ€
β Encrypted Blueprint β β Only HELIX can read
βββββββββββββββββββββββββββββββ
| Endpoint | Method | Description |
|---|---|---|
/api/encode/v2 |
POST | Encode image to cross-platform HLX |
/api/hlx/preview |
POST | Extract JPEG preview from HLX v2 |
/api/hlx/format-info |
GET | Get format version details |
Compress your training data up to 10x while maintaining identity:
from helix_sdk import HelixSDK
# Connect to HELIX API - no heavy local dependencies!
sdk = HelixSDK(base_url="https://api.helix-codec.dev")
# Compress any image
sdk.compress("photo.jpg", "photo.hlx")
# Materialize at any resolution
sdk.materialize("photo.hlx", "photo_4k.png", resolution="4K")from helix_sdk import HelixDataset, HelixLoader, BatchCompressor
# Compress your dataset (one-time)
compressor = BatchCompressor(workers=8)
stats = compressor.compress_directory(
input_dir="/data/imagenet/train/", # 150GB
output_dir="/data/imagenet_hlx/" # ~15GB
)
print(f"Saved {stats.space_saved_percent}%!")
# Use in training (PyTorch compatible)
dataset = HelixDataset("/data/imagenet_hlx/", target_resolution="512p")
loader = HelixLoader(dataset, batch_size=64, num_workers=4)
for batch in loader:
model.train(batch)- π¦ 2-5x semantic compression
- π Remote or Local mode
- π PyTorch/TensorFlow compatible
- π On-demand materialization at any resolution
- βΎοΈ Infinite variant generation (free augmentation)
- π Semantic search across dataset
| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Health check with feature status |
/api/encode |
POST | Encode image to HLX |
/api/encode/v2 |
POST | Encode to cross-platform HLX |
/api/materialize |
POST | Reconstruct image from HLX |
/api/sdk/info |
GET | SDK documentation |
graph TD
User["π± User / Client"] -->|Upload Image| API["β‘ HELIX API (FastAPI)"]
API -->|Extract Identity| GeminiExtract["π§ Gemini 3 Pro (Vision)"]
GeminiExtract -->|Anchors + Metadata| Blueprinter["π Blueprint Generator"]
Blueprinter -->|Encrypted .hlx| Storage["πΎ Storage (10x Compressed)"]
Storage -->|Load .hlx| Materializer["ποΈ Materializer Engine"]
Materializer -->|Stitch Anchors| Stitcher["π§΅ Deterministic Stitcher"]
Stitcher -->|Baseline Image| Output["πΌοΈ High-Fidelity Image"]
Stitcher -.->|Optional Upgrade| GeminiRefine["β¨ Gemini 3 Pro / Stealth"]
GeminiRefine -->|Enhanced Image| Output
| Metric | Value |
|---|---|
| Extreme Compression | Up to 10x smaller than JPEG (V1 format) |
| Identity Preservation | 0.85+ |
| Materialization Time | ~3s |
- AES-256-GCM encryption for blueprints
- HMAC-SHA256 tamper detection
- Secure key derivation
- AES-256 encrypted anchors keep faces secure
- Deploy to Render:
- Connect GitHub repo
- Select
render.yamlif prompted, or choose "Web Service" - Runtime: Python 3
- Build Command:
pip install -r requirements.txt - Start Command:
uvicorn src.api.server:app --host 0.0.0.0 --port $PORT - Environment Variables:
GEMINI_API_KEY: Your keyELEVENLABS_API_KEY: Your key (optional)CORS_ORIGINS:https://your-frontend.vercel.app(comma separated)HELIX_SECRET_KEY: Random string for encryption
- Persistence: Add a Disk named
helix-datamounted at/datafor SQLite persistence.
-
Deploy to Vercel:
- Connect GitHub repo
- Framework Preset: Next.js
- Root Directory:
ui/helix-app - Environment Variables:
NEXT_PUBLIC_API_URL: Your backend URL (e.g.,https://helix-backend.onrender.com)
-
Custom Domain:
- Go to Vercel Project Settings > Domains
- Add your custom domain (e.g.,
helix.yourdomain.com) - Update your DNS nameservers or A records as instructed by Vercel
Built By the Helix Team
HELIX: Your memories, compressed for the future.