github QuantumNous/new-api v1.0.0-rc.39
v1.0.0-rc.39 - Task Plugins & Quota Settings

3 hours ago

Important

Task Plugins & Quota Settings / 任务插件与额度设置

任务插件现已兼容 OpenAI Images:
可承接 /v1/images/generations/v1/images/edits
请求内提交任务并等待完成后,按 OpenAI 图片格式返回。
阿里云百炼万相图片模型改走任务插件;豆包 Seedream 图片生成已接入。

New API 渠道可绑定多个上游任务插件,用于对接另一套网关里的多个任务插件。
渠道的模型重定向更清晰,应用上游模型变更前可先预览。

额度设置可配置钱包免预扣门槛和输入预扣倍率,余额足够时跳过预扣。

Task Plugins now serve OpenAI Images:
/v1/images/generations and /v1/images/edits.
The host submits the task, waits inside the request, and returns an OpenAI image response.
Unclaimed models still use the existing image relay.
Alibaba Bailian Wanxiang image models now go through Task Plugins.
Doubao Seedream image generation is added.

A New API Channel can bind multiple Upstream task plugins, for another gateway that hosts several Task Plugins.
Model Mapping is clearer, and upstream model changes can be previewed before apply.

Quota Settings add Wallet pre-consume bypass threshold, and Input pre-consume multiplier.
High enough balances skip pre-consume.

New Features

  • Task Plugins can serve OpenAI Images (/v1/images/generations, /v1/images/edits).
    Bailian Wanxiang image models now go through the Alibaba Task Plugin.
    Doubao Seedream image generation is added.
  • New API Channels can bind multiple Upstream task plugins.
  • Quota Settings: Wallet pre-consume bypass threshold (USD) and Input pre-consume multiplier.
  • Model management Sync metadata supports bulk field selection.
  • API Keys can show and copy the Default API address / Current domain.
  • Group configuration supports drag sorting and a clearer editor.
  • Usage Logs show billing source and task artifacts for Task Plugin image work.
    Async tasks record performance metrics when they reach a terminal status.

Fixes and Improvements

  • Seedance and Wan Task Plugins price only the resolutions each model actually offers.
    Unsupported resolutions are rejected at submit.
  • Preview upstream model changes before applying them.
    Model Mapping controls are simpler.
  • Display conditional task billing prices more reliably.
    Accept fractional Group ratios and tool prices.
    Limit pricing inputs to four decimal places (#7453).
  • Derive Response model mismatch from model names (#7464).
    Restore compact cost bubbles and hide funding-source labels when Subscription is not in use (#7450, #7451).
  • Forward reasoning_effort to Zhipu (#7124).
    Keep mobile dialog actions on screen.
    Start linked-account verification from the provider button.

What's Changed

  • fix: forward reasoning_effort to zhipu upstream by @feitianbubu in #7124
  • perf: avoid repeated Claude tool-name lookups by @Cylion-bot in #7447
  • fix: hide source labels when subscriptions are not in play by @seefs001 in #7450
  • refactor(log): 恢复费用气泡并用图标区分订阅来源 by @Calcium-Ion in #7451
  • fix(web): 修复小数输入限制和日志分组选项未遮挡的问题 by @zuiho-kai in #7453
  • fix(log): derive response model mismatch from names stored flag by @seefs001 in #7464
  • feat: record perf metrics when async tasks reach terminal status by @feitianbubu in #7481

New Contributors

Full Changelog: v1.0.0-rc.38...v1.0.0-rc.39

Don't miss a new new-api release

NewReleases is sending notifications on new releases.