1、增加图片视频

2、优化代码结构
3、up主下载分类逻辑可配置
This commit is contained in:
jianzhichu
2025-11-23 00:46:41 +08:00
parent 7cacdaedd4
commit 8cef13c926
51 changed files with 1604 additions and 1667 deletions
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dy.image
{
public class MediaMergeRequest
{
/// <summary>网络图片地址数组(必填)</summary>
public List<string> ImageUrls { get; set; }
/// <summary>网络MP3地址数组(必填)</summary>
public List<string> AudioUrls { get; set; }
/// <summary>每张图片显示时长(秒,默认3秒)</summary>
public int ImageDurationPerSecond { get; set; } = 3;
/// <summary>视频分辨率(格式:1920x1080,默认1920x1080</summary>
public int VideoWidth { get; set; } = 1080;
public int VideoHeight { get; set; } = 1920;
/// <summary>输出视频格式(默认mp4</summary>
public string OutputFormat { get; set; } = "mp4";
/// <summary>视频帧率(默认25</summary>
public int VideoFps { get; set; } = 25;
}
}