mateclaw/mateclaw-server/src/main/java/vip/mate/tool/video/VideoGenerationRequest.java

42 lines
892 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package vip.mate.tool.video;
import lombok.Builder;
import lombok.Data;
import java.util.Map;
/**
* 视频生成统一请求
*
* @author MateClaw Team
*/
@Data
@Builder
public class VideoGenerationRequest {
/** 视频内容描述 */
private String prompt;
/** 生成模式(由 runtime 自动推断) */
private VideoCapability mode;
/** 指定模型名称可选provider 有默认值) */
private String model;
/** 画面比例16:9 / 9:16 / 1:1 */
@Builder.Default
private String aspectRatio = "16:9";
/** 视频时长(秒) */
private Integer durationSeconds;
/** 参考图片 URLIMAGE_TO_VIDEO 模式) */
private String imageUrl;
/** 参考视频 URLVIDEO_TO_VIDEO 模式) */
private String videoUrl;
/** provider 特有的额外参数 */
private Map<String, Object> extraParams;
}