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
9893287f
authored
Nov 04, 2025
by
feitianbubu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: jimeng_v30_pro only jimeng_ti2v_v30_pro model
parent
961af95e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
relay/channel/task/jimeng/adaptor.go
+4
-1
No files found.
relay/channel/task/jimeng/adaptor.go
View file @
9893287f
...
@@ -406,7 +406,10 @@ func (a *TaskAdaptor) convertToRequestPayload(req *relaycommon.TaskSubmitReq) (*
...
@@ -406,7 +406,10 @@ func (a *TaskAdaptor) convertToRequestPayload(req *relaycommon.TaskSubmitReq) (*
// 即梦视频3.0 ReqKey转换
// 即梦视频3.0 ReqKey转换
// https://www.volcengine.com/docs/85621/1792707
// https://www.volcengine.com/docs/85621/1792707
if
strings
.
Contains
(
r
.
ReqKey
,
"jimeng_v30"
)
{
if
strings
.
Contains
(
r
.
ReqKey
,
"jimeng_v30"
)
{
if
len
(
req
.
Images
)
>
1
{
if
r
.
ReqKey
==
"jimeng_v30_pro"
{
// 3.0 pro只有固定的jimeng_ti2v_v30_pro
r
.
ReqKey
=
"jimeng_ti2v_v30_pro"
}
else
if
len
(
req
.
Images
)
>
1
{
// 多张图片:首尾帧生成
// 多张图片:首尾帧生成
r
.
ReqKey
=
strings
.
Replace
(
r
.
ReqKey
,
"jimeng_v30"
,
"jimeng_i2v_first_tail_v30"
,
1
)
r
.
ReqKey
=
strings
.
Replace
(
r
.
ReqKey
,
"jimeng_v30"
,
"jimeng_i2v_first_tail_v30"
,
1
)
}
else
if
len
(
req
.
Images
)
==
1
{
}
else
if
len
(
req
.
Images
)
==
1
{
...
...
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