Skip to content
PluginStats

@tanstack/ai-byteplus weekly downloads statistics

By tanstack (53 listings) · npm · AI SDKs

BytePlus ModelArk adapter for TanStack AI: Seed LLM chat, Seedance video, Seedream image, and Seed Speech TTS/ASR.

View on npm Fresh · Dec 6, 2026

@tanstack/ai-byteplus has 2,503 recorded weekly downloads on npm, a decrease of 10.8% over the past 30 days, ranking #1812 of 3,247 tracked listings.

Weekly downloads
2,503
Official API · Dec 5, 2026
7-day growth
-23.2%
-758 weekly downloads
30-day growth
-10.8%
-302 weekly downloads
90-day growth
+61.0%
+948 weekly downloads
Rank
#1812
▼ 172 in 7 days

About @tanstack/ai-byteplus

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/ai.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/api/readme/ai.png" /> <img src="https://tanstack.com/api/readme/ai.png" alt="TanStack AI" width="900" /> </picture> </div> <br />

@tanstack/ai-byteplus

BytePlus ModelArk adapter for TanStack AI — Seed chat models, Seedance video generation, Seedream image generation, and Seed Speech text-to-speech and transcription.

Installation

npm install @tanstack/ai-byteplus
# or
pnpm add @tanstack/ai-byteplus
# or
yarn add @tanstack/ai-byteplus

Setup

BytePlus splits its models across two products with two different API keys:

# Ark (ModelArk): chat, Seedance video, Seedream image
export ARK_API_KEY="..."

# Seed Speech: text-to-speech and transcription — a separate product key
export BYTEPLUS_VOICE_API_KEY="..."

Ark keys are region-isolated. The default base URL is the Asia-Pacific south-east endpoint (https://ark.ap-southeast.bytepluses.com/api/v3); per the BytePlus docs the EU endpoint serves chat and image only (docs-derived — only the ap-southeast host was exercised live).

Why there's no Volcengine SDK dependency

This package does not depend on @volcengine/ark-runtime (or any other first-party BytePlus/Volcengine SDK). That is deliberate:

  • Chat doesn't need one. Ark's /chat/completions is OpenAI-compatible, so the chat adapter rides the openai SDK through @tanstack/openai-base — the same path @tanstack/ai-grok and @tanstack/ai-groq take, with identical dependencies. That reuses the shared streaming, tool-calling and structured-output machinery instead of forking it per provider.
  • Nothing else is OpenAI-shaped anyway. Seedance video, Seedream image and Seed Speech are bespoke endpoints on two different hosts with two different auth headers. An SDK would not spare us the wire types; it would add a second dependency that still had to be translated at the boundary.

The cost is that the non-chat wire types are hand-written and pinned by tests rather than generated. That is a considered trade, not an oversight — see src/video/wire-types.ts, src/image/wire-types.ts and src/audio/wire-types.ts, each of which records how its shape was verified.

Usage

Chat
import { chat } from '@tanstack/ai'
import { byteplusText } from '@tanstack/ai-byteplus'

// The adapter carries the model — there is no separate `model` option.
const adapter = byteplusText('seed-2-0-lite-260428')

const { text } = await chat({
  adapter,
  messages: [{ role: 'user', content: 'Explain diffusion models briefly' }],
  threadId: 'thread-1',
  stream: false,
})

console.log(text)

Drop stream: false to get the default streaming form, which yields StreamChunks you can iterate with for await.

Seed models reason by default. Reasoning arrives as a separate stream of reasoning_content deltas and is surfaced as reasoning content, not answer text. Pass reasoning: 'off' to chat() to turn it off, on a model that can stop thinking (for example glm-5-2-260617).

Video (Seedance)

Seedance is an async task API, so generateVideo() only opens the job and returns its jobId. Poll getVideoJobStatus() until the job settles — the video URL arrives with the terminal status.

import { generateVideo, getVideoJobStatus } from '@tanstack/ai'
import { byteplusVideo } from '@tanstack/ai-byteplus'

const adapter = byteplusVideo('seedance-1-5-pro-251215')

const { jobId } = await generateVideo({
  adapter,
  threadId: 'thread-1',
  prompt: 'a guitar being played in a store',
  size: '16:9_720p',
  duration: 5,
})

let status = await getVideoJobStatus({ adapter, jobId })
while (status.status === 'pending' || status.status === 'processing') {
  await new Promise((resolve) => setTimeout(resolve, 5000))
  status = await getVideoJobStatus({ adapter, jobId })
}

console.log(status.status === 'completed' ? status.url : status.error)

To let the core drive the whole lifecycle instead, pass stream: true and hand the resulting chunk stream to your transport:

import { generateVideo, toServerSentEventsResponse } from '@tanstack/ai'
import { byteplusVideo } from '@tanstack/ai-byteplus'

export function POST() {
  const stream = generateVideo({
    adapter: byteplusVideo('seedance-1-5-pro-251215'),
    threadId: 'thread-1',
    prompt: 'a guitar being played in a store',
    stream: true,
    pollingInterval: 5000,
  })

  return toServerSentEventsResponse(stream)
}

Generated video URLs expire after 24 hours (the task record itself is kept for 7 days), so download anything you need to keep.

Image (Seedream)
import { generateImage } from '@tanstack/ai'
import { byteplusImage } from '@tanstack/ai-byteplus'

const result = await generateImage({
  adapter: byteplusImage('seedream-4-0-250828'),
  threadId: 'thread-1',
  prompt: 'a guitar being played in a store',
  size: '2K',
  modelOptions: { watermark: false },
})

console.log(result.images[0]?.url)

size takes either a token (1K, 2K, 4K) or explicit pixels (2048x2048) — never a mix. Pass image parts in the prompt array to edit or condition on existing images (up to 14 references, 10 on dola-seedream-5-0-pro-260628).

Two behaviors surprise people:…

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • byteplus
  • modelark
  • seed
  • seedance
  • seedream
  • adapter
  • llm
  • chat
  • video-generation
  • image-generation
  • text-to-speech

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

@tanstack/ai-byteplus weekly downloads on npm, last 90 days: 2,503 weekly downloads as of Dec 5, 2026, +61.0% over 90 days.@tanstack/ai-byteplusWeekly downloads on npm · Last 90 days2,503downloads / week+61.0% over 90 days01K2K3K4K5K6K7KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@tanstack/ai-byteplus weekly downloads on npm, last 90 days: 2,503 weekly downloads as of Dec 5, 2026, +61.0% over 90 days.

7/30/90-day growth

@tanstack/ai-byteplus weekly downloads growth on npm: -23.2% over 7 days, -10.8% over 30 days, +61.0% over 90 days.@tanstack/ai-byteplusWeekly downloads growth on npm2,503downloads / week now7-day growth-758 weekly downloads-23.2%30-day growth-302 weekly downloads-10.8%90-day growth+948 weekly downloads+61.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-byteplus weekly downloads growth on npm: -23.2% over 7 days, -10.8% over 30 days, +61.0% over 90 days.

Ranking history

@tanstack/ai-byteplus npm ranking history: currently #1812 (by weekly downloads).@tanstack/ai-byteplusnpm ranking · by weekly downloads · Last 90 days#1812current rank#1200#1300#1400#1500#1600#1700#1800#1900Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-byteplus npm ranking history: currently #1812 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 91, #12 (overall #1,812)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 9, #5 (overall #165)
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 (170)
Recent weekly downloads observations for @tanstack/ai-byteplus
Date (UTC)Weekly downloadsChange vs. previous
2,503+130
2,373+241
2,132-441
2,573-574
3,147-133
3,280-73
3,353+92
3,261-500
3,761+138
3,623+352
3,271+422
2,849+117
2,732-82
2,814—

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/@tanstack/ai-byteplus. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.