Skip to content
PluginStats

modelbay weekly downloads statistics

By hoobnn · npm · AI SDKs

One TypeScript SDK for Volcengine Ark (Doubao, Seedream, Seedance), Alibaba Bailian / DashScope (Qwen, Wan), MiniMax, Doubao Speech, OpenAI and DeepSeek: chat, image, video, speech and music with one API

View on npm Fresh · Dec 6, 2026

modelbay has 678 recorded weekly downloads on npm, a change of -22.5% over the past 7 days, ranking #2184 of 3,247 tracked listings.

Weekly downloads
678
Official API · Dec 5, 2026
7-day growth
-22.5%
-197 weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2184
▼ 154 in 7 days

About modelbay

modelbay

The single install point for the Modelbay SDK. It bundles the runtime-agnostic core API and the six platform adapters, holds the platform registry, and adds createModelbay() which wires everything together.

MIT licensed.

Install

pnpm add modelbay

zod is a peer dependency; install it alongside if your project does not already have it.

Quick start (10 lines)

External TypeScript projects only install modelbay and supply a key. Async polling is handled by the SDK (core's runJob()), so there is no polling loop to write.

import { createModelbay } from 'modelbay'

const mb = createModelbay({ secrets: { ARK_API_KEY: process.env.ARK_API_KEY ?? '' } })
const { outputs } = await mb.generate({
  capability: 'image.generate',
  input: { prompt: 'a cat wearing a hat' },
})
// outputs[0] is a URL or bytes; the host downloads and persists it

Use capability: 'video.generate' or capability: 'audio.speech' (with input: { text: ... }) for video and dubbing. When model is omitted, the default is chosen from active declarations only, by ModelRegistry.defaultFor() — consumers never hardcode a default.

createModelbay() also reads the keys below from process.env when secrets is omitted, so createModelbay() with no arguments is enough once the environment is set up.

API

ExportDescription
createModelbay(options)Build a Modelbay with a registered model registry
defaultAdapters(platforms?)Runtime-agnostic adapters of every registered platform
PLATFORMS, findPlatform(key)Platform registry (PlatformDescriptor per platform)
Modelbay.generate(request)Submit + poll; returns JobOutcome (URLs or bytes)
Modelbay.registryModelRegistry (all, resolve, defaultFor, list, ...)
Modelbay.capabilities()Deduplicated normalized capabilities
Modelbay.doctor()Key configuration report with missing names; never values
ark, bailian, minimax, doubaoSpeech, openai, deepseekNamespace re-exports of the platform packages

Everything exported by @modelbay/core is re-exported here as well, so a consumer needs only the single modelbay dependency.

Keys

Keys are supplied by the host and are never stored, logged or printed by the SDK. The environment variable names come from each platform's descriptor (PLATFORMS[i].secrets); any one group is enough:

PlatformVariables
Volcengine ArkARK_API_KEY, or ARK_AGENT_PLAN_API_KEY
Alibaba BailianBAILIAN_API_KEY (alias DASHSCOPE_API_KEY), or BAILIAN_TOKEN_PLAN_API_KEY
MiniMaxMINIMAX_API_KEY
Doubao SpeechDOUBAO_API_KEY, or DOUBAO_APP_ID + DOUBAO_ACCESS_TOKEN
OpenAIOPENAI_API_KEY, or OPENAI_COMPATIBLE_API_KEY
DeepSeekDEEPSEEK_API_KEY

Platform-specific exports

Each platform's own exports (adapter factories, model declarations, options) are on a subpath; Node-only helpers are on <platform>/node:

import { createArkAdapter, models } from 'modelbay/ark'
import { uploadReferenceVideo } from 'modelbay/ark/node'

Subpaths: modelbay/ark, modelbay/bailian, modelbay/minimax, modelbay/doubao-speech, modelbay/openai, modelbay/deepseek, and /node for ark, bailian, doubao-speech, openai. The root entry also exposes each platform as a namespace (ark, bailian, minimax, doubaoSpeech, openai, deepseek).

Node-only capabilities

The root entry is runtime-agnostic. On Node, modelbay/node loads each platform's @modelbay/<platform>/node extension (object-storage upload, sharp mask processing, WebSocket ASR, ...) and injects it:

import { createModelbay } from 'modelbay'
import { nodeAdapters } from 'modelbay/node'

const mb = createModelbay({ adapters: await nodeAdapters() })

Design notes

  • Default models are selected only through ModelRegistry.defaultFor() / selectDefaultModel() and only from active declarations.
  • Results are URLs or bytes. Downloading and persistence belong to the host.
  • Library code contains no console.*; progress and usage are reported through ModelbayHooks.
  • fetch can be injected through createModelbay({ fetch }), which makes the whole path testable with recorded fixtures and no network.

DeepSeek requires DEEPSEEK_API_KEY (optional DEEPSEEK_BASE_URL); see DeepSeek for normalized chat and standalone application APIs.

Description from the npm listing.

  • sdk
  • ai-sdk
  • volcengine
  • ark
  • doubao
  • seedream
  • seedance
  • bailian
  • dashscope
  • qwen
  • wan
  • minimax
  • openai
  • ai
  • llm
  • image-generation
  • video-generation
  • text-to-speech
  • typescript
  • deepseek

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

modelbay weekly downloads on npm, last 90 days: 678 weekly downloads as of Dec 5, 2026.modelbayWeekly downloads on npm · Last 90 days678downloads / week05001K1.5K2K2.5K3KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
modelbay weekly downloads on npm, last 90 days: 678 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

modelbay weekly downloads growth on npm: -22.5% over 7 days, 30-day growth unavailable, 90-day growth unavailable.modelbayWeekly downloads growth on npm678downloads / week now7-day growth-197 weekly downloads-22.5%30-day growth+678 weekly downloadsInsufficient history90-day growth+678 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
modelbay weekly downloads growth on npm: -22.5% over 7 days, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

modelbay npm ranking history: currently #2184 (by weekly downloads).modelbaynpm ranking · by weekly downloads · Last 90 days#2184current rank#1400#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 13, 2026 – Dec 6, 2026 · 24 observations · Updated Dec 5, 2026pluginstats.com
modelbay npm ranking history: currently #2184 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 110, #4 (overall #2,184)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 13, #8 (overall #248)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (142)
Recent weekly downloads observations for modelbay
Date (UTC)Weekly downloadsChange vs. previous
678+35
643-188
831+63
768+24
744-219
963+51
912+37
875+31
844+406
438+17
421+7
414+227
187-36
223—

Similar npm AI SDKs plugins

All 20 modelbay alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/modelbay. First seen Nov 13, 2026; last successful collection Dec 6, 2026. See the methodology.