Build, launch, and monetise with MafutaAI
Use these quick snippets to automate templates, search the marketplace, launch GPU instances, and operate as a provider.
Quickstart overview
Get up and running in 5 simple steps
- 1Create an accountRegister on MafutaAI, verify your email, and grab a JWT token via the login endpoint or console.
- 2Browse templatesUse GET https://api.mafutai.co.za/api/marketplace/templates/ to list launch-ready containers (CUDA, PyTorch, vLLM, Stable Diffusion, and more).
- 3Search GPU offersFilter verified GPUs with GET https://api.mafutai.co.za/api/marketplace/offers?region=ZA&vram_gte=24&kind=on_demand.
- 4Launch an instancePOST https://api.mafutai.co.za/api/marketplace/instances/ with {offer_id, template_id, disk_gb, env, ports}.
- 5ConnectUse the response to fetch SSH, Jupyter, or OpenAI-compatible endpoints. Stop or restart via POST /api/marketplace/instances/{id}/stop.