docs: enhance README with detailed feature descriptions and bug fix section

This commit is contained in:
Laisky.Cai 2024-12-17 08:52:06 +00:00
parent 1232c000dc
commit 6568009732

View File

@ -1,13 +1,60 @@
# One API
docker image: `ppcelery/one-api:latest`
Fully compatible with the upstream version, can be used directly by replacing the container image, docker image: `ppcelery/one-api:latest`
- [One API](#one-api)
- [New Features](#new-features)
- [(Merged) Support gpt-vision](#merged-support-gpt-vision)
- [Support update user's remained quota](#support-update-users-remained-quota)
- [(Merged) Support aws claude](#merged-support-aws-claude)
- [Support openai images edits](#support-openai-images-edits)
- [Support gemini-2.0-flash-exp](#support-gemini-20-flash-exp)
- [Support replicate flux \& remix](#support-replicate-flux--remix)
- [Bug fix](#bug-fix)
- [The token balance cannot be edited](#the-token-balance-cannot-be-edited)
## New Features
- update token usage by API
- support gpt-vision
- support update user's remained quota
- support aws claude
- support openai images edits
- support gemini-2.0-flash-exp
- support replicate flux & remix
### (Merged) Support gpt-vision
### Support update user's remained quota
You can update the used quota using the API key of any token, allowing other consumption to be aggregated into the one-api for centralized management.
![](https://s3.laisky.com/uploads/2024/12/oneapi-update-quota.png)
### (Merged) Support aws claude
- [feat: support aws bedrockruntime claude3 #1328](https://github.com/songquanpeng/one-api/pull/1328)
- [feat: add new claude models #1910](https://github.com/songquanpeng/one-api/pull/1910)
![](https://s3.laisky.com/uploads/2024/12/oneapi-claude.png)
### Support openai images edits
- [feat: support openai images edits api #1369](https://github.com/songquanpeng/one-api/pull/1369)
![](https://s3.laisky.com/uploads/2024/12/oneapi-image-edit.png)
### Support gemini-2.0-flash-exp
- [feat: add gemini-2.0-flash-exp #1983](https://github.com/songquanpeng/one-api/pull/1983)
![](https://s3.laisky.com/uploads/2024/12/oneapi-gemini-flash.png)
### Support replicate flux & remix
- [feature: 支持 replicate 的绘图 #1954](https://github.com/songquanpeng/one-api/pull/1954)
- [feat: image edits/inpaiting 支持 replicate 的 flux remix #1986](https://github.com/songquanpeng/one-api/pull/1986)
![](https://s3.laisky.com/uploads/2024/12/oneapi-replicate-1.png)
![](https://s3.laisky.com/uploads/2024/12/oneapi-replicate-2.png)
![](https://s3.laisky.com/uploads/2024/12/oneapi-replicate-3.png)
## Bug fix
### The token balance cannot be edited
- [BUGFIX: 更新令牌时的一些问题 #1933](https://github.com/songquanpeng/one-api/pull/1933)