Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
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
3d5879ec
authored
May 26, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【增加】AI Image 增加 detail vo 定义
parent
61418a1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
src/api/ai/image/index.ts
+24
-0
No files found.
src/api/ai/image/index.ts
0 → 100644
View file @
3d5879ec
import
request
from
'@/config/axios'
// AI API 密钥 VO
export
interface
ImageDetailVO
{
id
:
number
// 编号
prompt
:
string
// 提示词
status
:
string
// 状态
errorMessage
:
string
// 错误信息
type
:
string
// 模型下分不同的类型(清晰、真实...)
taskId
:
number
// dr 任务id
imageUrl
:
string
// 任务地址
originalPicUrl
:
string
// 绘制图片地址
platform
:
string
// 平台
model
:
string
// 模型
}
// AI API 密钥 API
export
const
ApiKeyApi
=
{
// 查询 API 密钥分页
getApiKeyPage
:
async
(
params
:
any
)
=>
{
return
await
request
.
get
({
url
:
`/ai/api-key/page`
,
params
})
},
}
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