Skip to content
View PowerTokens's full-sized avatar

Block or report PowerTokens

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
PowerTokens/README.md

PowerTokens

One OpenAI-compatible API for Chinese AI models — video, image, audio and LLMs (Seedance · Wan · Kling · Qwen · GLM · MiniMax · DeepSeek). No Chinese account required.

🎬 Video Studio 1.20 — free & open source

Clip generated with Wan 3.0 in PowerTokens Video Studio

Chat, batch, compare and storyboard videos with Wan · Seedance · Kling and more. On the Generate tab, you can also ask AI to help plan the prompt. Available on the web, on Windows, and as an unsigned Apple Silicon Mac Beta. After you sign in, you can also top up credits in the app — on the web and on the desktop.

▶ Open the web app · ⬇ Windows · ⬇ Mac (Apple Silicon Beta) · Sign up

If you use Video Studio, a star on video-studio helps other people find it.

Repositories

Repo What it is
video-studio Windows and unsigned Apple Silicon Mac Beta desktop + MCP (chat, AI planning, batch, compare, storyboard, in-app credit top-up)
video-studio-web Web UI companion — chat, generate, AI planning, and in-app credit top-up in the browser
python-examples Python + OpenAI SDK quickstart
typescript-examples Node / TypeScript + OpenAI SDK quickstart
pt-usage-dashboard Offline usage & cost dashboard (single HTML file, EN/中文) — open the dashboard
awesome-chinese-model-apis Curated list of Chinese model APIs and gateways

Quickstart

Base URL for OpenAI-compatible SDKs: https://api.powertokens.ai/v1

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["POWERTOKENS_API_KEY"],
    base_url="https://api.powertokens.ai/v1",
)
resp = client.chat.completions.create(
    model="MiniMax-M3",
    messages=[{"role": "user", "content": "Describe Paris in one sentence."}],
)
print(resp.choices[0].message.content)

Also documented: MiniMax-M3.1-Flash (1M context; docs OpenAPI — pricing page not listed yet).

Add to Magpie

Magpie is a menu-bar model switcher that accepts any OpenAI-compatible endpoint. One click adds PowerTokens (paste your API key when Magpie asks):

Add PowerTokens to Magpie

Or in a terminal (with Magpie installed):

magpie import 'magpie://import?name=PowerTokens&chat=https://api.powertokens.ai/v1'

Links: Website · Docs · Models · Usage dashboard · Discord


中文:PowerTokens 一个接口调用国产视频 / 图像 / 大模型,无需国内账号 · 网页版 Video Studio(对话出片、生成页 AI 构思、应用内充值)· Windows 桌面版 · Mac Beta(桌面版同样支持应用内充值)· 文档 · 用量看板 · 如果觉得 Video Studio 有用,欢迎给 video-studio 点个星。

Pinned Loading

  1. video-studio video-studio Public

    Free Windows and unsigned Apple Silicon Mac Beta desktop + MCP Video Studio 1.20 — chat, AI planning, batch, compare, storyboard, and in-app credit top-up for Wan · Seedance · Kling · and more via …

    Python 2 2

  2. video-studio-web video-studio-web Public

    Web UI for PowerTokens Video Studio 1.20 — chat, AI planning on Generate, and in-app credit top-up with Wan · Seedance · Kling · and more (companion to the Windows and Mac desktop apps)

    JavaScript

  3. python-examples python-examples Public

    Python examples for Chinese AI models (Qwen, GLM, MiniMax, DeepSeek V3.2) with the OpenAI SDK via PowerTokens' OpenAI-compatible API. No Chinese account required.

    Python

  4. typescript-examples typescript-examples Public

    TypeScript / Node.js examples for Chinese AI models (Qwen, GLM, MiniMax, DeepSeek V3.2) with the OpenAI SDK via PowerTokens' OpenAI-compatible API. No Chinese account required.

    TypeScript

  5. pt-usage-dashboard pt-usage-dashboard Public

    PowerTokens usage and cost dashboard - offline single-file HTML, multi-account, EN/Chinese. Works with any agent or tool that has a PT session token.

    Python

  6. awesome-chinese-model-apis awesome-chinese-model-apis Public

    A curated list of Chinese AI model APIs and gateways (Qwen, GLM, MiniMax, DeepSeek, Seedance, Wan, Kling): LLM, image, video and multimodal, with OpenAI-compatible options.

    1