Client Documentation
Use AITBC for your AI/ML workloads with privacy and verifiable computation. Ideal for businesses and developers using AI services.
Getting Started
Start using AITBC in minutes with our simple client SDK or web interface.
Quick Start Options
- CLI Wrapper Tool: Unified bash script for job management
- Web Interface: No installation required
- Python SDK: For AI/ML developers
- JavaScript SDK: For web applications
- REST API: For any platform
CLI Wrapper Tool (Recommended)
# Install the CLI wrapper
curl -O https://gitea.bubuit.net/oib/aitbc/releases/download/latest/aitbc-cli.sh
chmod +x aitbc-cli.sh
# Check available services
./aitbc-cli.sh status
# Submit a job
./aitbc-cli.sh submit "Your prompt here" --model llama3.2
Web Interface
Visit the marketplace to access the web interface.
Python SDK
Install the Python SDK for easy integration into your applications:
# Install
pip install aitbc-client
# Basic usage
from aitbc import AITBCClient
client = AITBCClient(api_key="your-api-key")
# Submit a job
job = client.submit_job(
type="inference",
model="llama3.2",
prompt="Explain quantum computing",
max_tokens=500
)
# Wait for completion
result = client.wait_for_job(job.id)
print(result.output)
Advanced Features
- Async/await support
- Batch job submission
- Streaming responses
- Zero-knowledge proof verification
JavaScript SDK
For web applications and Node.js:
# Install
npm install @aitbc/client
# Usage
import { AITBCClient } from '@aitbc/client';
const client = new AITBCClient({
apiKey: 'your-api-key',
endpoint: 'https://aitbc.bubuit.net/api'
});
// Submit job
const job = await client.submit({
type: 'inference',
model: 'llama3.2',
input: {
prompt: 'Hello, AITBC!',
max_tokens: 100
}
});
// Get result
const result = await client.getResult(job.id);
console.log(result.output);
REST API
Direct API access for any programming language:
# Submit a job
curl -X POST https://aitbc.bubuit.net/api/v1/jobs \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "inference",
"model": "gpt-4",
"input": {
"prompt": "Hello, AITBC!",
"max_tokens": 100
},
"privacy": {
"zk_proof": true
}
}'
# Check job status
curl -X GET https://aitbc.bubuit.net/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer YOUR_TOKEN"
Pricing
Flexible pricing options for every use case
Pay-per-use
- No minimum commitment
- Pay for what you use
- All models available
Professional
- 10M tokens included
- Priority processing
- SLA guarantee
Enterprise
- Unlimited tokens
- Dedicated infrastructure
- 24/7 support
Privacy & Security
Your data is protected with enterprise-grade security:
Zero-Knowledge Proofs
Computation is verified without revealing your data
End-to-End Encryption
Your prompts and results are encrypted in transit and at rest
Verifiable Computation
Every result includes a cryptographic proof of correct execution
Privacy-Preserving
Optional privacy mode keeps your data completely confidential
Supported Models
Access a wide range of state-of-the-art AI models:
Language Models
- LLaMA 3.2 (8B, 70B)
- Mistral (7B, 8x7B)
- DeepSeek (67B)
- Code Llama (34B)
- GPT-4 (via API)
Image Models
- Stable Diffusion XL
- DALL-E 3 (via API)
- Midjourney (via API)
Specialized Models
- Embedding models for search
- Speech-to-text (Whisper)
- Text-to-speech
- Translation models
Best Practices
Performance Optimization
- Use appropriate model sizes for your task
- Implement caching for repeated requests
- Use streaming for long responses
- Monitor token usage to control costs
- Consider subscription plans for regular use
Security Best Practices
- Keep your API keys secure
- Use environment variables for credentials
- Implement proper error handling
- Validate inputs before submission
- Use HTTPS for all API calls
Support & Resources
Getting Help
- Documentation: Full API reference
- Community: Join our Discord
- Email: aitbc@bubuit.net
- Status: System status available in monitoring dashboard
Tutorials
- Getting Started with AI Inference
- Building a Chat Application
- Image Generation Guide
- Privacy-Preserving ML
- API Integration Best Practices