main
HuangHai 3 months ago
parent ecfd53f160
commit 4b52e82fb4

@ -25,7 +25,7 @@ public class JmImage2Video extends JmCommon {
* 使URL * 使URL
* *
* @param imageUrls URL * @param imageUrls URL
* @param prompt * @param prompt
* @return * @return
* @throws Exception * @throws Exception
*/ */
@ -47,7 +47,7 @@ public class JmImage2Video extends JmCommon {
/** /**
* URL * URL
* *
* @param fileUrl URL * @param fileUrl URL
* @param saveFilePath * @param saveFilePath
* @throws Exception * @throws Exception
*/ */
@ -88,6 +88,8 @@ public class JmImage2Video extends JmCommon {
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
//玩法:
//https://www.volcengine.com/docs/85621/1544774
List<String> imageUrls = new ArrayList<>(); List<String> imageUrls = new ArrayList<>();
imageUrls.add("https://dsideal.obs.myhuaweicloud.com/HuangHai/%E5%A4%87%E4%BB%BD/%E5%B0%8F%E4%B9%94%E5%A4%B4%E5%83%8F.jpg"); imageUrls.add("https://dsideal.obs.myhuaweicloud.com/HuangHai/%E5%A4%87%E4%BB%BD/%E5%B0%8F%E4%B9%94%E5%A4%B4%E5%83%8F.jpg");
String prompt = ""; String prompt = "";

Loading…
Cancel
Save