Core Endpoints (Alpha)
✅ GET /gpu/list
GET /gpu/list
List all available GPUs from Trainava or the marketplace.
✅ POST /gpu/rent
POST /gpu/rent
Rent a GPU.
Body:
jsonSalinEdit{
"gpu_id": "abc123",
"duration_minutes": 60
}
✅ POST /model/train
POST /model/train
Start a training job.
Body:
jsonSalinEdit{
"gpu_id": "abc123",
"pipeline": "image_generation",
"prompt": "A futuristic city in the sky"
}
✅ POST /telegram/deploy
POST /telegram/deploy
Deploy a model as a Telegram bot.
Body:
jsonSalinEdit{
"bot_name": "SkyBot",
"model_id": "xyz456",
"telegram_token": "123456:ABC-DEF..."
}
✅ GET /wallet/balance?wallet=0xABC...
GET /wallet/balance?wallet=0xABC...
Returns $TRNV token balance for the connected wallet.
Monetization: How to Earn with Trainava
Trainava offers multiple ways to generate revenue:
Sell GPU Time: Add your GPU to the rental marketplace and set your own rates.
Rent to Train: Train models with rented GPUs at lower cost, then monetize bots.
Deploy Telegram Bots: Build AI bots, then rent access or sell custom instances.
Earn $TRNV : Receive TRNV tokens for completing actions (e.g., renting, deploying).
Template Marketplace (Coming Soon): Sell reusable AI training templates.
Database Tables Reference (Supabase)
user_profiles
– email, avatar, TRNV balanceuser_gpus
– GPU metadata and ownergpu_rentals
– rental sessions and timestampsai_training_jobs
– job logs and model typesuser_deployed_bots
– Telegram bot records
SDK Development Roadmap
TypeScript SDK
✅ Alpha done
Python SDK
🛠️ In progress
Golang SDK
❌ Not started
CLI Tool (trainava-cli)
❌ Not started
Web3 Signature Support
🛠️ In progress
OAuth / JWT Flow Docs
✅ Draft ready
AI Template Marketplace
🛠️ Backend WIP
Developer Access (Beta)
To request access to the Trainava SDK Beta, contact:
Telegram: @JeffersonBolt
Email: support@trainava.acom
GitHub: https://github.com/trainava-labs
Sample Projects (Coming Soon)
bot-deploy-demo/
– How to launch a Telegram bot in 2 minsgpu-rental-dashboard/
– Monitor your rented GPUscustom-pipeline-runner/
– Launch any pipeline with dynamic prompts
Last updated