Documentation
Start building in minutes.
AI API guidance matching Trendia's live endpoints plus a practical VPS getting-started flow.
Create an account, activate an AI plan, then generate a key from the dashboard. Point your OpenAI SDK base URL at Trendia.id.
curl https://plapod.web.id/api/v1/chat/completions \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"model":"MODEL_ID","messages":[{"role":"user","content":"Hello"}]}'Send your API key in the Authorization header. A raw key is only shown once when generated.
Authorization: Bearer YOUR_API_KEYRequests follow the OpenAI shape and support streaming on compatible models.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://plapod.web.id/api/v1",
apiKey: process.env.TRENDIA_API_KEY,
});
const response = await client.chat.completions.create({
model: "MODEL_ID",
messages: [{ role: "user", content: "Hello" }],
});from openai import OpenAI
client = OpenAI(
base_url="https://plapod.web.id/api/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="MODEL_ID",
messages=[{"role": "user", "content": "Hello"}],
)POST /embeddings is available for active embedding models.
Use the exact model ID from the catalog. The API GET /models endpoint requires an active key.
Open model catalogMissing or invalid key
Insufficient credit balance
Expired plan or restricted model
Rate limit exceeded
Upstream provider failure
Provider temporarily unavailable
1
Choose VPS specifications, then contact sales to confirm workload and region.
2
After provisioning, store the IP and credentials delivered through the official channel.
3
Connect over SSH, rotate initial credentials, enable a firewall, and install security updates.
4
Configure backups and monitoring for production workloads.

