|
|
|
@ -10,8 +10,8 @@ import org.slf4j.LoggerFactory;
|
|
|
|
|
|
|
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
|
|
public class JmText2Video extends JmCommon {
|
|
|
|
|
private static final Logger log = LoggerFactory.getLogger(JmText2Video.class);
|
|
|
|
|
public class JmTxt2Video extends JmCommon {
|
|
|
|
|
private static final Logger log = LoggerFactory.getLogger(JmTxt2Video.class);
|
|
|
|
|
|
|
|
|
|
private static final String action = "CVSync2AsyncSubmitTask";
|
|
|
|
|
private static final String req_key = "jimeng_vgfm_t2v_l20";
|
|
|
|
@ -44,7 +44,7 @@ public class JmText2Video extends JmCommon {
|
|
|
|
|
|
|
|
|
|
while (generateRetryCount < maxGenerateRetries) {
|
|
|
|
|
try {
|
|
|
|
|
jo = JmText2Video.generateVideo(prompt);
|
|
|
|
|
jo = JmTxt2Video.generateVideo(prompt);
|
|
|
|
|
log.info("结果:{}", jo);
|
|
|
|
|
|
|
|
|
|
int code = jo.getInteger("code");
|