Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
text2video-frontend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周成波
text2video-frontend
Commits
0c961014
Commit
0c961014
authored
Jan 31, 2024
by
周成波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台默认加脸部修复,就不在前端改了
parent
5654bf4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
text2videoService.ts
src/api/service/text2videoService.ts
+0
-10
No files found.
src/api/service/text2videoService.ts
View file @
0c961014
...
@@ -36,15 +36,6 @@ export default {
...
@@ -36,15 +36,6 @@ export default {
width
:
string
=
"960"
,
width
:
string
=
"960"
,
height
:
string
=
"512"
,
height
:
string
=
"512"
,
cfg_scale
:
string
=
"9"
,
cfg_scale
:
string
=
"9"
,
alwayson_scripts
:
any
=
{
"ADetailer"
:
{
"args"
:
[
{
"ad_model"
:
"mediapipe_face_full"
}
]
}
},
):
Promise
<
string
>
{
):
Promise
<
string
>
{
if
(
!
prompt
)
{
if
(
!
prompt
)
{
return
Promise
.
reject
(
"SD提示词不能为空"
);
return
Promise
.
reject
(
"SD提示词不能为空"
);
...
@@ -60,7 +51,6 @@ export default {
...
@@ -60,7 +51,6 @@ export default {
width
:
width
,
width
:
width
,
height
:
height
,
height
:
height
,
cfg_scale
:
cfg_scale
,
cfg_scale
:
cfg_scale
,
alwayson_scripts
:
alwayson_scripts
,
}
}
return
request
.
post
(
'/text2video/text2img'
,
post_data
)
return
request
.
post
(
'/text2video/text2img'
,
post_data
)
.
then
((
res
:
any
)
=>
{
.
then
((
res
:
any
)
=>
{
...
...
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