CareerStudioMax's own proprietary LoRA-tuned model family, trained exclusively on career intelligence. Pick the exact model you want — no automatic routing, no surprises.
Deep reasoning — complex career strategy, multi-step analysis, long-form output.
Balanced — CV writing, salary intelligence, interview coaching. Best default for most use cases.
Fast — quick responses, keyword extraction, scoring, classification.
This API shares the same key as the rest of the Transformer API (/v1/extract, /v1/career-graph, /v1/job-match) — if you already have a Transformer API key, it works here too. Otherwise, generate one from the Transformer API tab in the app (no separate signup).
X-API-Key: csk_live_your_key_here
/v1/* endpoint on this API.Non-streaming completion. Returns the full response in one JSON object.
| Field | Type | Required | Notes |
|---|---|---|---|
model | string | Yes | cs-opus · cs-sonnet · cs-haiku |
messages | array | One of messages / prompt | OpenAI-style [{role, content}], roles: system/user/assistant |
prompt + system | string | One of messages / prompt | Simpler alternative to messages |
maxTokens | number | No | Default 2048, max 8192 |
temperature | number | No | Default 0.7 |
curl -X POST https://careerstudiomax.com/api/transformer/v1/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: csk_live_your_key_here" \
-d '{
"model": "cs-sonnet",
"prompt": "Write a one-line resume summary for a mid-level nurse.",
"maxTokens": 300
}'
const res = await fetch('https://careerstudiomax.com/api/transformer/v1/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.CS_API_KEY,
},
body: JSON.stringify({
model: 'cs-sonnet',
messages: [
{ role: 'system', content: 'You are a concise career coach.' },
{ role: 'user', content: 'Write a one-line resume summary for a mid-level nurse.' },
],
}),
});
const { data } = await res.json();
console.log(data.text);
import requests
res = requests.post(
"https://careerstudiomax.com/api/transformer/v1/chat",
headers={"X-API-Key": "csk_live_your_key_here"},
json={
"model": "cs-sonnet",
"prompt": "Write a one-line resume summary for a mid-level nurse.",
},
)
print(res.json()["data"]["text"])
{
"success": true,
"data": { "text": "...", "model": "cs-sonnet:latest", "tier": "sonnet" },
"metadata": { "model": "cs-sonnet:latest", "apiVersion": "v1", "requestId": "req_...", "inferenceMs": 842 },
"requestId": "req_..."
}
Same request body as /v1/chat, streamed as Server-Sent Events instead of one JSON blob.
data: {"type":"start","model":"cs-sonnet"}
data: {"type":"text","text":"A "}
data: {"type":"text","text":"results-driven "}
data: {"type":"text","text":"nurse..."}
data: {"type":"done","model":"cs-sonnet","inferenceMs":1204,"requestId":"req_..."}
503 instead of a hang or a silently-substituted different model: {"error": "cs-opus is not currently available..."}. Retry, or fall back to a different tier in your own code.Paste an API key from your Transformer API tab and send a real request.