Trendia.id

Documentation

Start building in minutes.

AI API guidance matching Trendia's live endpoints plus a practical VPS getting-started flow.

AI API quickstart

Create an account, activate an AI plan, then generate a key from the dashboard. Point your OpenAI SDK base URL at Trendia.id.

https://plapod.web.id/api/v1
curl
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"}]}'
Bearer authentication

Send your API key in the Authorization header. A raw key is only shown once when generated.

header
Authorization: Bearer YOUR_API_KEY
Never store API keys in source code, browser bundles, or repositories.
POST /chat/completions

Requests follow the OpenAI shape and support streaming on compatible models.

Node.js
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" }],
});
Python
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.

Choose a model

Use the exact model ID from the catalog. The API GET /models endpoint requires an active key.

Open model catalog
Common error codes
401

Missing or invalid key

402

Insufficient credit balance

403

Expired plan or restricted model

429

Rate limit exceeded

502

Upstream provider failure

503

Provider temporarily unavailable

VPS Quickstart

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.

Create a Trendia.id account