Documentation
Everything you need to integrate AI models into your applications. From quick start guides to detailed API references.
Quick Start
1
Get API KeySign up and get your API key from the dashboard
2
Install SDKInstall our SDK for your preferred language
npm install @aimarket/sdk
3
Make RequestStart using AI models in your application
Code Examples
Basic Usage
import { AIMarket } from '@aimarket/sdk';
const client = new AIMarket({
apiKey: 'your-api-key'
});
// List available models
const models = await client.models.list({
category: 'nlp',
limit: 10
});
// Run inference
const result = await client.inference.run({
model: 'llama-2-70b-chat',
input: 'Explain quantum computing',
parameters: {
temperature: 0.7,
max_tokens: 150
}
});
console.log(result.output);
Documentation
Getting Started
Quick Start Guide
Get up and running in 5 minutes
5 min read
Authentication
API keys and authentication methods
3 min read
Making Your First Request
Send your first API call
4 min read
Error Handling
Handle errors gracefully
6 min read
API Reference
Models API
List, search, and get model details
8 min read
Inference API
Run models and get predictions
10 min read
Billing API
Manage usage and billing
5 min read
Webhooks
Real-time notifications
7 min read
SDKs & Libraries
JavaScript SDK
Official JavaScript/TypeScript SDK
6 min read
Python SDK
Official Python SDK
6 min read
REST API
Direct HTTP API access
4 min read
GraphQL API
Query with GraphQL
8 min read
Security
API Security
Best practices for secure API usage
7 min read
Rate Limiting
Understanding rate limits
4 min read
Data Privacy
How we handle your data
5 min read
Compliance
SOC2, GDPR, and other standards
6 min read