Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f354e5d
✨ feat(layout): refine footer visibility logic to target CardPro comp…
t0ng7u Sep 27, 2025
c4e0fc1
chore: go version & sonic dep
seefs001 Sep 30, 2025
0735b0c
feat(i18n): add and update French translations
comeback01 Sep 30, 2025
c320410
feat: add doubao video generate
feitianbubu Oct 1, 2025
b244a06
feat: add doubao video use quota by total token
feitianbubu Oct 1, 2025
7ca65a5
feat: add doubao video add log detail
feitianbubu Oct 1, 2025
acbfc9d
Merge pull request #1951 from feitianbubu/pr/add-doubao-video
seefs001 Oct 2, 2025
0769184
Merge pull request #1956 from QuantumNous/alpha
Calcium-Ion Oct 2, 2025
01469aa
refactor(adaptor): extract common header operations into a separate f…
Calcium-Ion Oct 2, 2025
81a66be
chore(docker): switch from MySQL to PostgreSQL in docker-compose conf…
Calcium-Ion Oct 2, 2025
b0b275b
chore(docker): add comment for compatibility with older Docker versions
Calcium-Ion Oct 2, 2025
6ee01d7
Merge branch 'main' into french-translation-final
comeback01 Oct 2, 2025
9061411
Merge pull request #1940 from comeback01/french-translation-final
Calcium-Ion Oct 2, 2025
f473d20
Merge pull request #1932 from seefs001/chore/upgrade-deps
Calcium-Ion Oct 2, 2025
0074085
Merge remote-tracking branch 'origin/main'
Calcium-Ion Oct 2, 2025
df19a8d
✨ feat(layout): refine footer visibility logic to target CardPro comp…
t0ng7u Sep 27, 2025
36ed41a
Merge remote-tracking branch 'origin/pr/console-footer' into pr/conso…
Calcium-Ion Oct 2, 2025
ace855e
refactor(footer): update footer links and localization text
Calcium-Ion Oct 2, 2025
19bbb7d
Merge pull request #1890 from QuantumNous/pr/console-footer
Calcium-Ion Oct 2, 2025
0682a15
Merge remote-tracking branch 'origin/main'
Calcium-Ion Oct 2, 2025
01bcbf0
✨ feat(api): add header override processing with variable support
Calcium-Ion Oct 2, 2025
66d0764
✨ docs: update README files to include Japanese language support
Calcium-Ion Oct 2, 2025
d5e01a3
✨ feat(gemini): add imageConfig field to GeminiChatRequest for flexib…
Calcium-Ion Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions README.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<p align="right">
<a href="./README.md">中文</a> | <strong>English</strong> | <a href="./README.fr.md">Français</a>
<a href="./README.md">中文</a> | <strong>English</strong> | <a href="./README.fr.md">Français</a> | <a href="./README.ja.md">日本語</a>
</p>

> [!NOTE]
> **MT (Machine Translation)**: This document is machine translated. For the most accurate information, please refer to the [Chinese version](./README.md).

<div align="center">

![new-api](/web/public/logo.png)
Expand Down Expand Up @@ -75,7 +79,7 @@ New API offers a wide range of features, please refer to [Features Introduction]

1. 🎨 Brand new UI interface
2. 🌍 Multi-language support
3. 💰 Online recharge functionality (YiPay)
3. 💰 Online recharge functionality, currently supports EPay and Stripe
4. 🔍 Support for querying usage quotas with keys (works with [neko-api-key-tool](https://github.com/Calcium-Ion/neko-api-key-tool))
5. 🔄 Compatible with the original One API database
6. 💵 Support for pay-per-use model pricing
Expand All @@ -96,7 +100,11 @@ New API offers a wide range of features, please refer to [Features Introduction]
- Add `-thinking` suffix to enable thinking mode (e.g.: `claude-3-7-sonnet-20250219-thinking`)
16. 🔄 Thinking-to-content functionality
17. 🔄 Model rate limiting for users
18. 💰 Cache billing support, which allows billing at a set ratio when cache is hit:
18. 🔄 Request format conversion functionality, supporting the following three format conversions:
1. OpenAI Chat Completions => Claude Messages
2. Claude Messages => OpenAI Chat Completions (can be used for Claude Code to call third-party models)
3. OpenAI Chat Completions => Gemini Chat
19. 💰 Cache billing support, which allows billing at a set ratio when cache is hit:
1. Set the `Prompt Cache Ratio` option in `System Settings-Operation Settings`
2. Set `Prompt Cache Ratio` in the channel, range 0-1, e.g., setting to 0.5 means billing at 50% when cache is hit
3. Supported channels:
Expand All @@ -115,7 +123,9 @@ This version supports multiple models, please refer to [API Documentation-Relay
4. Custom channels, supporting full call address input
5. Rerank models ([Cohere](https://cohere.ai/) and [Jina](https://jina.ai/)), [API Documentation](https://docs.newapi.pro/api/jinaai-rerank)
6. Claude Messages format, [API Documentation](https://docs.newapi.pro/api/anthropic-chat)
7. Dify, currently only supports chatflow
7. Google Gemini format, [API Documentation](https://docs.newapi.pro/api/google-gemini-chat/)
8. Dify, currently only supports chatflow
9. For more interfaces, please refer to [API Documentation](https://docs.newapi.pro/api)

## Environment Variable Configuration

Expand Down Expand Up @@ -192,7 +202,8 @@ For detailed API documentation, please refer to [API Documentation](https://docs
- [Image API](https://docs.newapi.pro/api/openai-image)
- [Rerank API](https://docs.newapi.pro/api/jinaai-rerank)
- [Realtime API](https://docs.newapi.pro/api/openai-realtime)
- [Claude Chat API (messages)](https://docs.newapi.pro/api/anthropic-chat)
- [Claude Chat API](https://docs.newapi.pro/api/anthropic-chat)
- [Google Gemini Chat API](https://docs.newapi.pro/api/google-gemini-chat)

## Related Projects
- [One API](https://github.com/songquanpeng/one-api): Original project
Expand Down
21 changes: 16 additions & 5 deletions README.fr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<p align="right">
<a href="./README.md">中文</a> | <a href="./README.en.md">English</a> | <strong>Français</strong>
<a href="./README.md">中文</a> | <a href="./README.en.md">English</a> | <strong>Français</strong> | <a href="./README.ja.md">日本語</a>
</p>

> [!NOTE]
> **MT (Traduction Automatique)**: Ce document est traduit automatiquement. Pour les informations les plus précises, veuillez vous référer à la [version chinoise](./README.md).

<div align="center">

![new-api](/web/public/logo.png)
Expand Down Expand Up @@ -75,7 +79,7 @@ New API offre un large éventail de fonctionnalités, veuillez vous référer à

1. 🎨 Nouvelle interface utilisateur
2. 🌍 Prise en charge multilingue
3. 💰 Fonctionnalité de recharge en ligne (YiPay)
3. 💰 Fonctionnalité de recharge en ligne, prend actuellement en charge EPay et Stripe
4. 🔍 Prise en charge de la recherche de quotas d'utilisation avec des clés (fonctionne avec [neko-api-key-tool](https://github.com/Calcium-Ion/neko-api-key-tool))
5. 🔄 Compatible avec la base de données originale de One API
6. 💵 Prise en charge de la tarification des modèles de paiement à l'utilisation
Expand All @@ -96,7 +100,11 @@ New API offre un large éventail de fonctionnalités, veuillez vous référer à
- Ajouter le suffixe `-thinking` pour activer le mode de pensée (par exemple : `claude-3-7-sonnet-20250219-thinking`)
16. 🔄 Fonctionnalité de la pensée au contenu
17. 🔄 Limitation du débit du modèle pour les utilisateurs
18. 💰 Prise en charge de la facturation du cache, qui permet de facturer à un ratio défini lorsque le cache est atteint :
18. 🔄 Fonctionnalité de conversion de format de requête, prenant en charge les trois conversions de format suivantes :
1. OpenAI Chat Completions => Claude Messages
2. Claude Messages => OpenAI Chat Completions (peut être utilisé pour Claude Code pour appeler des modèles tiers)
3. OpenAI Chat Completions => Gemini Chat
19. 💰 Prise en charge de la facturation du cache, qui permet de facturer à un ratio défini lorsque le cache est atteint :
1. Définir l'option `Ratio de cache d'invite` dans `Paramètres système->Paramètres de fonctionnement`
2. Définir le `Ratio de cache d'invite` dans le canal, plage de 0 à 1, par exemple, le définir sur 0,5 signifie facturer à 50 % lorsque le cache est atteint
3. Canaux pris en charge :
Expand All @@ -115,7 +123,9 @@ Cette version prend en charge plusieurs modèles, veuillez vous référer à [Do
4. Canaux personnalisés, prenant en charge la saisie complète de l'adresse d'appel
5. Modèles Rerank ([Cohere](https://cohere.ai/) et [Jina](https://jina.ai/)), [Documentation de l'API](https://docs.newapi.pro/api/jinaai-rerank)
6. Format de messages Claude, [Documentation de l'API](https://docs.newapi.pro/api/anthropic-chat)
7. Dify, ne prend actuellement en charge que chatflow
7. Format Google Gemini, [Documentation de l'API](https://docs.newapi.pro/api/google-gemini-chat/)
8. Dify, ne prend actuellement en charge que chatflow
9. Pour plus d'interfaces, veuillez vous référer à la [Documentation de l'API](https://docs.newapi.pro/api)

## Configuration des variables d'environnement

Expand Down Expand Up @@ -192,7 +202,8 @@ Pour une documentation détaillée de l'API, veuillez vous référer à [Documen
- [API d'image](https://docs.newapi.pro/api/openai-image)
- [API de rerank](https://docs.newapi.pro/api/jinaai-rerank)
- [API en temps réel](https://docs.newapi.pro/api/openai-realtime)
- [API de discussion Claude (messages)](https://docs.newapi.pro/api/anthropic-chat)
- [API de discussion Claude](https://docs.newapi.pro/api/anthropic-chat)
- [API de discussion Google Gemini](https://docs.newapi.pro/api/google-gemini-chat)

## Projets connexes
- [One API](https://github.com/songquanpeng/one-api) : Projet original
Expand Down
Loading