Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7a1b8617
authored
Jan 09, 2024
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: update Midjourney.md
parent
4793ca2b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Midjourney.md
+0
-0
README.md
+3
-0
No files found.
Midjourney.md
View file @
7a1b8617
This diff is collapsed.
Click to expand it.
README.md
View file @
7a1b8617
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
+
[
x
]
/mj/submit/describe
+
[
x
]
/mj/submit/describe
+
[
x
]
/mj/image/{id} (通过此接口获取图片,
**请必须在系统设置中填写服务器地址!!**
)
+
[
x
]
/mj/image/{id} (通过此接口获取图片,
**请必须在系统设置中填写服务器地址!!**
)
+
[
x
]
/mj/task/{id}/fetch (此接口返回的图片地址为经过One API转发的地址)
+
[
x
]
/mj/task/{id}/fetch (此接口返回的图片地址为经过One API转发的地址)
+
[
x
]
/task/list-by-condition
3.
支持在线充值功能,可在系统设置中设置,当前支持的支付接口:
3.
支持在线充值功能,可在系统设置中设置,当前支持的支付接口:
+
[
x
]
易支付
+
[
x
]
易支付
4.
支持用key查询使用额度:
4.
支持用key查询使用额度:
...
@@ -55,6 +56,8 @@ docker run --name new-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -
...
@@ -55,6 +56,8 @@ docker run --name new-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -
# 例如:
# 例如:
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
SQL_DSN
=
"root:123456@tcp(宝塔的服务器地址:宝塔数据库端口)/宝塔数据库名称"
-e
TZ
=
Asia/Shanghai
-v
/www/wwwroot/new-api:/data calciumion/new-api:latest
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
SQL_DSN
=
"root:123456@tcp(宝塔的服务器地址:宝塔数据库端口)/宝塔数据库名称"
-e
TZ
=
Asia/Shanghai
-v
/www/wwwroot/new-api:/data calciumion/new-api:latest
```
```
## Midjourney接口设置文档
[
对接文档
](
Midjourney.md
)
## 交流群
## 交流群
<img
src=
"https://github.com/Calcium-Ion/new-api/assets/61247483/de536a8a-0161-47a7-a0a2-66ef6de81266"
width=
"300"
>
<img
src=
"https://github.com/Calcium-Ion/new-api/assets/61247483/de536a8a-0161-47a7-a0a2-66ef6de81266"
width=
"300"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment