Model reference · open weights
Anime-XCodec2-44.1kHz is an open-weight audio or speech model from NandemoGHS. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | NandemoGHS |
|---|---|
| Type | Audio & music |
| Task | Audio→audio |
| Parameters (lead) | 830M |
| Based on | NandemoGHS/Anime-XCodec2 |
| Released | 2025-10-27 |
| Popularity | 574 downloads / month |
| Licence | Commercial licence needed |
About
TL;DR: Anime-XCodec2-44.1kHz-v2 is a fine-tuned variant of NandemoGHS/Anime-XCodec2. It incorporates upsampling layers and RMS loss (inspired by Inworld TTS-1) to produce 44.1kHz output, trained on ~22k hours of Japanese speech. This v2 updates upsampler parameters, loss configurations, and fixes a RoPE bug from the original XCodec2.
Only the decoder was updated; the encoder and codebook remain frozen, so speech tokens are identical to the original XCodec2. This makes the model a drop‑in decoder for downstream systems that already work with XCodec2 tokens (e.g., Llasa).
NandemoGHS/Anime-XCodec2-44.1kHz-v2NandemoGHS/Anime-XCodec2HKUSTAudio/xcodec2HKUSTAudio/xcodec2 and NandemoGHS/Anime-XCodec2.Anime-XCodec2 (16kHz) pipelines to 44.1kHz output.This model modifies the original XCodec2 architecture (upsampler blocks) and requires a custom library version that includes a fix for the RoPE bug (Issue #36).
You MUST use the provided custom xcodec2 library fork (v0.1.7 or later) for inference. The standard library or older custom libraries (like 0.1.6) will not work.
Installation:
# Install the custom xcodec2 library (v0.1.7)
pip install https://huggingface.co/NandemoGHS/Anime-XCodec2-44.1kHz-v2/resolve/main/xcodec2-0.1.7.tar.gz
Usage: Once the custom library is installed, you can load and use this model just as you would the original XCodec2 or Anime-XCodec2 models. The core inference logic remains the same.
For a complete, working code example, please refer to my Hugging Face Spaces Demo: https://huggingface.co/spaces/OmniAICreator/Anime-XCodec2-44.1kHz-v2-Demo
xcodec2 library (v0.1.7) linked above. It is not compatible with the original xcodec2 library or previous custom forks (e.g., v0.1.6).NandemoGHS/Anime-XCodec2 (16kHz)UpSamplerBlock from the Inworld TTS-1 implementation into the decoder.generator.backbone, generator.head, generator.upsampler, fc_post_aCompared to the first version, this v2 model includes the following key updates to the training configuration:
hop_length=98, upsample_factors=[3, 3], and kernel_sizes=[9, 9].From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys anime-xcodec2-44-1khz for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (anime-xcodec2-44-1khz below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \ -H "Authorization: Bearer $AXFORGE_API_KEY" \ -F model="anime-xcodec2-44-1khz" -F file=@audio.mp3
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.