API Reference

Images

Browse the catalog of base images available for creating VMs — operating systems, language runtimes, databases and a few ready-made environments, each built with a full userland (see Concepts: Images).

The value you pass to create({ image }) is the entry's image field (a Docker reference such as oblien/node:24), not its id. Any public Docker image works too; the catalog is curated, not a whitelist.

Each base image lists its recommended_software. macOS offers Xcode and iOS Simulator. Docker includes Engine, Compose and Buildx, with an optional pack for Node, Bun and the protected build workers.

const { images } = await client.vms.images.list({ search: 'xcode' });
const mac = images.find(item => item.id === 'macos-tahoe');
const tools = mac?.recommended_software.find(item => item.label.startsWith('Xcode'));
if (!mac || !tools) throw new Error('The selected tools are unavailable.');
const vm = await client.vms.create({ image: mac.image, software: [tools.id], wait_ready: false });

Use client.disks.listSoftware({ image }) to discover the same choices before creating a VM. Pass an empty array or omit software for a plain VM. The server pins each selected software revision, validates resource requirements and performs its boot and readiness checks.

Catalog entries also expose base_os, for example { "family": "linux", "distribution": "ubuntu", "version": "24.04" } or { "family": "macos", "distribution": "macos", "version": "26.6.2" }. The VM Software library uses this metadata to show compatible tools. Desktop choices belong to the Desktop panel, without separate desktop image cards.

List images

Search and browse available images.

// All images
const all = await ws.images.list();

// Search by keyword
const nodeImages = await ws.images.list({ search: 'node' });

// Filter by category
const databases = await ws.images.list({ category: 'database' });
GET /vms/images?search=node&category=runtime
# All images
curl "https://api.oblien.com/vms/images" \
  -H "X-Client-ID: $OBLIEN_CLIENT_ID" \
  -H "X-Client-Secret: $OBLIEN_CLIENT_SECRET"

# Search
curl "https://api.oblien.com/vms/images?search=python" \
  -H "X-Client-ID: $OBLIEN_CLIENT_ID" \
  -H "X-Client-Secret: $OBLIEN_CLIENT_SECRET"

# By category
curl "https://api.oblien.com/vms/images?category=database" \
  -H "X-Client-ID: $OBLIEN_CLIENT_ID" \
  -H "X-Client-Secret: $OBLIEN_CLIENT_SECRET"

Query parameters

ParameterTypeDefaultDescription
searchstring-Partial match on id, label, description, image reference, contents and keywords — so laravel finds the PHP image and mysql finds MariaDB
categorystring"all""all", "os", "devtools", "runtime", "ai", "browser", "database", "infra"

This endpoint does not require VM ownership. Any authenticated user can browse images.

Response

{
  "images": [
    {
      "id": "ubuntu-2404",
      "label": "Ubuntu 24.04 LTS",
      "desc": "The default machine — Ubuntu 24.04 with networking, debugging, git and build tools ready",
      "category": "os",
      "image": "oblien/ubuntu:24.04",
      "base_os": { "family": "linux", "distribution": "ubuntu", "version": "24.04" },
      "logo": "https://cdn.simpleicons.org/ubuntu/E95420",
      "color": "#E95420",
      "recommended": true,
      "includes": ["apt", "git", "curl/wget", "ssh", "ping/dig/ss", "build-essential", "python3"]
    },
    {
      "id": "postgres",
      "label": "PostgreSQL 18",
      "desc": "Postgres 18 with pgvector — relational, JSONB, full-text and vector search in one server",
      "category": "database",
      "image": "oblien/postgres:18",
      "logo": "https://cdn.simpleicons.org/postgresql/4169E1",
      "color": "#4169E1",
      "recommended": true,
      "includes": ["PostgreSQL 18", "pgvector", "psql", "pg_dump/pg_restore"],
      "env": [
        { "key": "POSTGRES_PASSWORD", "desc": "Superuser password", "required": true, "default": "postgres" },
        { "key": "POSTGRES_USER", "desc": "Superuser name (default: postgres)", "required": false }
      ]
    }
  ],
  "categories": [
    { "id": "all", "label": "All" },
    { "id": "os", "label": "Operating Systems" },
    { "id": "database", "label": "Databases" }
  ]
}

Response fields

FieldDescription
idStable key for the entry. Used for UI selection, not as the image value
imagePublic image reference to pass to create({ image }). Managed images resolve to an internal immutable build when creation is accepted
label / descDisplay name and one-line summary
categoryOne of the ids in categories
logo / colorIcon URL and accent color; the same values appear on VM rows as image_logo / image_color
includesHeadline contents of the image (not exhaustive)
envDeclared environment variables. An entry with required: true must be supplied in config.env or create fails with MISSING_REQUIRED_ENV
recommendedSuggested default for its row

env entries marked required exist for a reason: they are the images that either refuse to initialise without a password (Postgres, MariaDB) or would otherwise serve an unauthenticated port that can be published to a public URL (code-server, JupyterLab).

Available images

Roughly two dozen entries across os, devtools, runtime, ai, browser, database and infra. Rather than duplicating the list here, browse it live — it is versioned and moves when the underlying runtimes release.

See Concepts: Images for how to choose one, what every image ships with, and what to use in place of a retired entry.

macOS images

Use image: "oblien/macos-tahoe:26.6.2". Internal build revisions such as R21 do not appear in image names returned by the catalog or VM API. Each accepted creation pins its build internally, so a later release cannot change an existing VM's shared base or writable layer.

An image's desktop field describes its optional desktop choice. Compatible images advertise desktop.installable, desktop.vm_defaults and desktop.minimum_resources; these defaults and minimums apply when desktop is selected. capabilities describes services already installed in that image.

Create with the ordinary image reference and config.desktop.enabled: true. desktop.prepared: true means setup can use a prepared environment; otherwise an installable image prepares its desktop during creation. Ubuntu uses a prepared environment; Debian 13 and Node.js 24 install lazily. macOS already includes its desktop, so the choice enables access. The recipe is an internal implementation detail; clients never supply installation commands or private artifact names. The option defaults off. CPU, RAM and writable disk still use the normal VM resource fields. VM responses keep the public OS image name and expose installation metadata through image_desktop. image_capabilities describes the base image; live /desktop/status reports installed support.

The macOS Tahoe entry provides its KVM kernel, resource defaults, native agent and readiness settings through vm_defaults. Configure its networking and native boot behavior with config.macos. See remote desktop and macOS VMs.