📋 Full Features

6 lớp hạ tầng cốt lõi · 11 services Sprint 1-2 · API quick reference

🏗️ 6 Lớp Hạ Tầng Cốt Lõi

01

Compute & Hosting

SERVERLESS · CONTAINER · GPU · EDGE

Deploy mọi loại app: Web (Next.js/React/Vue), API (FastAPI/Express), Worker, AI Agent. Cloud Run dưới hood — auto-scale 0→1000 instances, pay per request.

Tạo project

Wizard 4-step hoặc API.

POST /api/v1/projects

Upload ZIP source

Zeni tự build Docker từ ZIP.

POST /api/v1/upload/source

Quick Deploy 1-call

Cho AI agent: deploy + status 1 endpoint.

POST /api/v1/deploy/quick

Custom domain

Bind domain + auto SSL.

POST /projects/{id}/domain

Logs + metrics

Cloud Logging + observability.

GET /api/v1/observability/*

Multi-region

asia-southeast1, us-central1, europe-west1.

region: param
02

Data Lake & Vector

POSTGRES · VECTOR · OBJECT · TIME-SERIES

Multi-tenant Postgres trên Cloud SQL với row-level security. Vector DB cho RAG (pgvector). Object storage S3-compatible.

SQL query

Postgres workspace-isolated.

POST /api/v1/data/query

Vector search

pgvector semantic search.

POST /api/v1/vector/search

Vector premium

HNSW index, billion-scale.

POST /api/v1/vector-premium/*

Cache (Redis)

Per-workspace cache.

POST /api/v1/cache/*

Queue

Pub-sub queue cho worker.

POST /api/v1/queue/*

Storage S3-compat

Bucket + signed URL.

POST /api/v1/storage/*
03

AI Engine

MODEL GARDEN · AGENT RUNTIME · LLM GATEWAY

Unified LLM gateway: Claude (Opus/Sonnet/Haiku), Gemini 2.5, GPT-5, DeepSeek R1. Auto-select tier theo cost. Embed + image gen.

Complete (chat)

Một endpoint cho mọi LLM.

POST /api/v1/ai/complete

Stream

SSE stream response.

POST /api/v1/ai/complete-stream

Embed

Vector embedding cho RAG.

POST /api/v1/ai/embed

Generate image

Imagen 3 + DALL-E + sd-lora.

POST /api/v1/ai/generate-image

Agents

Build AI agent với tools + memory.

POST /api/v1/ai/agents

List models

Liệt kê 50+ models.

GET /api/v1/ai/models

Voice STT/TTS

Whisper VN + XTTS-v3 VN.

POST /api/v1/voice-ai/*

OCR + Translate

Vision + translate VI/EN/JA/KO.

POST /api/v1/ocr/*
04

Automation

EVENT BUS · WORKFLOW · 120+ CONNECTORS

Cloud Scheduler + webhook + connectors. Zalo OA · VNPay · SendGrid · Slack · GitHub · 120+ services.

Cron jobs

Schedule tasks (Cloud Scheduler).

POST /api/v1/automation/crons

Webhooks

Receive HTTP triggers.

POST /api/v1/automation/webhooks

Connectors

120+ integrations ready.

GET /api/v1/automation/connectors

Email send

Transactional + verification.

POST /api/v1/email/send

SMS

VN carriers (eSMS, Speedsms).

POST /api/v1/sms/send

Realtime channels

WebSocket pub-sub.

WS /api/v1/realtime/ws/...

Push notifications

APNs (iOS) + FCM (Android).

POST /api/v1/push/send

Slack integration

Bot + slash commands.

POST /api/v1/slack/*
05

Identity & Security

SSO · VAULT · RLS · ND13 · SOC2

JWT + refresh + MFA TOTP. OAuth 7 providers (Zalo/Google/Apple/Facebook/Line/Kakao/TikTok/LinkedIn). Vault encryption.

Auth login/logout

JWT pair với refresh.

POST /api/v1/auth/login

MFA TOTP

Google Authenticator / Authy.

POST /api/v1/auth/mfa/setup

OAuth providers

Zalo, Google, Apple, Facebook…

GET /auth/oauth/{provider}

API tokens (PAT)

Long-lived tokens cho CLI/CI.

POST /api/v1/api-tokens

Secrets vault

Encrypted secret storage.

POST /api/v1/identity/secrets

Mobile certs

Apple .p8 + Android keystore.

POST /identity/mobile-certs

Customer OAuth

Setup OAuth cho khách hàng B2B.

POST /api/v1/customer-oauth/*

Audit log

Compliance ISO/SOC2.

GET /api/v1/audit
06

Web3 Bridge

WALLET-AS-A-SERVICE · SMART CONTRACT · TOKEN

$ZENI Token deployed Polygon Mainnet (0x2d0Ec889F3889F0a364b82039db9F8Bef78f5EC1). Wallet management, token transfer, NFT badge.

$ZENI wallet

Link, balance, transfer.

POST /api/v1/zeni-token/wallet/*

Pay with token

Thanh toán bằng $ZENI.

POST /zeni-token/pay-with-token

Rewards claim

Affiliate commission auto.

POST /zeni-token/rewards/claim

NFT Badge (SBT)

Soul-bound token cho user.

POST /zeni-token/badges/mint

Polygon RPC reads

Read on-chain data.

POST /api/v1/web3/read

Build transfer

Unsigned tx cho user sign.

POST /api/v1/web3/build-transfer

⚡ Sprint 1-2 Services Mới

📱

PWA Templates

Next.js PWA + Vite PWA — install-able web app. Auto-inject manifest + service worker + offline cache.

GET/github/frameworks (8 frameworks)
LIVE v120
🏭

Build Farm

Native build cloud cho Tauri/Rust/Electron/Go/Flutter/.NET. KHÔNG cần cài rustc/MSVC/Xcode local.

GET/build-farm/toolchains (6)
POST/build-farm/jobs
SCAFFOLD — toolchain images Phase 2
📦

Edge Sandbox

Sandboxed microVM cho AI agent: Computer Use, Playwright, Python 3.12, Node 20, Ubuntu Shell.

GET/edge/runtimes (5)
POST/edge/sandboxes
SCAFFOLD — Phase 2 worker
🎤

Voice STT/TTS

Speech-to-text Whisper VN + Text-to-speech Coqui XTTS-v3 VN. 10 voices: 6 VN + 2 EN + premium.

POST/voice-ai/transcribe
POST/voice-ai/synthesize
GET/voice-ai/voices
LIVE — Google Cloud Speech
🔔

Push Notifications

APNs HTTP/2 ES256 (iOS) + FCM HTTPv1 RS256 (Android). Unified send endpoint cho cả 2 platform.

POST/push/devices (register)
POST/push/credentials
POST/push/send
LIVE
📊

Benchmark Tracker

AI model benchmark scores: SWE-bench, HumanEval, GPQA, AIME, MMLU, LMSYS Arena, BIG-Bench, AgentBench.

GET/benchmarks/sources (8)
GET/benchmarks/{name}
LIVE
💸

Outgoing Payouts

Trả tiền: bank VND (queue chờ partnership), $ZENI Polygon (instant), USDT (Phase 2), Stripe/PayPal (opt-in).

POST/payouts
GET/payouts/settings
LIVE — $ZENI ready
💾

Zeni Storage

S3-compatible bucket + objects + signed URL. Backed by Google Cloud Storage. Bucket-per-workspace.

POST/storage/buckets
POST/storage/.../objects
POST/storage/.../signed-url
LIVE

Zeni Realtime

WebSocket pub-sub channels. Live chat, presence, real-time dashboards.

POST/realtime/channels
POST/realtime/.../publish
WS/realtime/ws/{ws}/{ch}
LIVE
📲

Mobile Cert Manager

Encrypted vault cho Apple .p12/.p8 + Android keystore + provisioning profile. Auto-expiry alert.

POST/identity/mobile-certs
GET/.../expiring
LIVE
📚

Package Registry

npm-private + PyPI-private compatible. npm publish + twine upload.

GET/packages/registry-info
PUT/npm/{package}
POST/pypi/
LIVE

🔗 Bonus — Quản trị + Billing

💰

Billing & Wallet

Pay-as-you-go theo VND. Topup qua VietQR (QR Pay) — TPB, VCB, MBB, BIDV, ACB, TCB.

GET/billing/wallet
POST/billing/wallet/topup
GET/cost-dashboard
LIVE — VietQR EMV
👥

Members & Roles

5 roles per workspace: Owner / Admin / Developer / Member / Viewer. Invite via email.

POST/members/invite
GET/members
LIVE
🌍

Multi-Region + Edge CDN

Deploy 3 regions (asia-southeast1, us-central1, europe-west1). Edge CDN cache static assets.

GET/multi-region/zones
POST/edge-cdn/cache
LIVE
📈

Observability + APM

Metrics, traces, alerts. Cloud Logging integration. Custom alert rules.

GET/observability/metrics
GET/observability/traces
POST/observability/alerts
LIVE
🛡️

Backup & DR

Backup policies + scheduled snapshots + disaster recovery. KMS encrypted.

POST/backup/policies
POST/backup/restore
LIVE
📨

Zeni Mail

Mailing list + campaigns + transactional. SPF/DKIM/DMARC auto-config.

POST/mail/lists
POST/mail/campaigns
LIVE

📚 Tài liệu khác

Đọc Deploy Workflow A-Z để hiểu workflow đầy đủ. Hoặc Quickstart 5 phút để bắt đầu nhanh.