MarketSupport← Back to app

Qwen Chat

Qwen Chat chat models are called through one simple endpoint: send a messages array plus the model slug and get the reply text back. This family exposes 1 model.

Overview

Send a standard messages array (user / assistant / system roles). Billing is deducted from your credit balance per response; the response includes your remaining balance.

Authentication

Create an API key at /api-keys, then send it as a Bearer token. Requests from the browser while logged in also work via the session cookie.

Authorization: Bearer <YOUR_API_KEY>

Chat Completions

POST
POST https://api.lithovas.com/api/chat

Body: { "model": "<slug>", "messages": [{ "role": "user", "content": "…" }] }

Response: { "text": "<assistant reply>", "credits": <billed>, "balance": <remaining> }

Models

ModelProvidermodel slug
Qwen3 VL 32B InstructQwenchat/qwen3-vl-32b-instruct

Qwen3 VL 32B Instruct

POST/api/chat
cURL
curl -X POST https://api.lithovas.com/api/chat \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "chat/qwen3-vl-32b-instruct",
    "messages": [{
      "role": "user",
      "content": [
        { "type": "text", "text": "Describe this image." },
        { "type": "image_url", "image_url": { "url": "https://example.com/photo.jpg" } }
      ]
    }]
  }'