ClavueClavue
CLI · TUI · models
Use Cases/Platform

Membership API Backend

Call Clavue’s OpenAI-compatible API from backends and tools with official models, membership quotas, and chat/image surfaces.

OpenAI compatible APIClavue APImembership API keychat completions APIimage generation API

Why imux?

Same membership brain as Chat and desktop Agent Chat for server-side integrations.

Key Features

  • OpenAI-compatible chat completions
  • Official model catalog (product IDs)
  • Account API keys and usage
  • Image generation/edits routes
  • Shared membership with web Chat and desktop

Getting Started

1

Create an API key

Sign in at clavue.com → Account / API keys. Store the key in a secret manager, never in client bundles.

2

List models

GET /v1/models (or membership models route) and pick a product id such as auto or clavue-2.1 family—not raw vendor cascade names in public UX.

3

Call chat completions

POST OpenAI-style chat completions with stream if needed. Handle quota and membership errors from the error catalog.

4

Optional images

Use image generations with z-image-turbo primary and documented failover; edits use grok-imagine-image-lite only as configured.

FAQ

Is this the same as desktop Agent Chat?

Same membership pool and official models; desktop adds tools, workspaces, and local process control the pure HTTP API does not.

Where is the quickstart?

See /tutorials/membership-api-quickstart and /docs/openai-api.

Ready to try imux?