Interaktivti sandyq
API Sandyq
Qube Compute API-men tiri surau/zhauap misaldarymen tanysynyz. Endpointtardy kod jazbastan buran testileniyz.
Tiri API 2027 shildede ishe qosylady. Tomenede — API interfeisnin interaktivti misaldary.
Endpointtar
POST/v1/chat/completions
Chat Completion (Groq LPX)
curl -X POST https://api.qubecompute.com/v1/chat/completions \
-H "Authorization: Bearer qb_demo_key_xxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.3-70b",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain GPU cloud computing in 2 sentences."}
],
"temperature": 0.7,
"max_tokens": 256
}'Base URL:
OpenAI-compatible APIapi.qubecompute.comAuth: Bearer tokenSDK pen integratsiya
🐍
Python SDK
pip install qubecompute
from qubecompute import Client
client = Client(api_key="qb_...")Coming Q3 2027📦
Node.js SDK
npm i @qubecompute/sdk
import { Qube } from '@qubecompute/sdk'
const qb = new Qube({ apiKey: "qb_..." })Coming Q3 2027💻
CLI
brew install qubecompute-cli
qube auth login
qube instance create \
--gpu rubin-r100 --count 72Coming Q3 2027Quru daiynbyz ba?
API kiltterleri men $500 tegyn kredit alu ushin akkaunt ashynyz.