hit-cxf
2026-05-14 cc5582b71914036e24f8e75c964e320fe64e84be
文艺短视频:将所有模版改为兼容传入视频的格式
2 files deleted
12 files modified
615 ■■■■■ changed files
aigc-director/aigc-claw/backend/templates/1080x1920/image_blur_card.html 10 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_book.html 16 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_full.html 14 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_healing.html 12 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_long_text.html 12 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_satirical_cartoon.html 14 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_black.html 3 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_line_drawing.html 3 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/static_default.html 3 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html 9 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/video_default.html 328 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/video_healing.html 163 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1920x1080/image_book.html 12 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1920x1080/image_full.html 16 ●●●●● patch | view | raw | blame | history
aigc-director/aigc-claw/backend/templates/1080x1920/image_blur_card.html
@@ -30,12 +30,10 @@
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            filter: blur(24px) brightness(0.9);
            transform: scale(1.1); 
            z-index: 0;
            overflow: hidden;
        }
        /* 顶部标题区 */
@@ -79,7 +77,7 @@
        .image-box { position: relative; width: 100%; height: 100%; }
        .image-box img {
        .image-box .template-media {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 改为 cover 填满宽度 */
@@ -182,14 +180,14 @@
    </style>
</head>
<body>
    <div class="bg"></div>
    <div class="bg">{{media}}</div>
    <div class="top">
        <div class="title">{{title}}</div>
    </div>
    <div class="image-center">
        <div class="image-box">
            <img src="{{image}}" alt="内容图片">
            {{media}}
            <div class="caption">{{text}}</div>
        </div>
    </div>
aigc-director/aigc-claw/backend/templates/1080x1920/image_book.html
@@ -21,9 +21,15 @@
            color: #fff;
            position: relative;
            background: #1a1a1a;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center bottom 400px;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
            transform: translateY(-400px);
            height: calc(100% + 400px);
        }
        /* 顶部区域 */
@@ -34,6 +40,7 @@
            transform: translateX(-50%);
            text-align: center;
            width: 90%;
            z-index: 1;
        }
        .image {
@@ -77,6 +84,7 @@
            transform: translateX(-50%);
            text-align: center;
            width: 90%;
            z-index: 1;
        }
        .main-text {
@@ -102,6 +110,8 @@
    </style>
</head>
<body>
    <div class="media-bg">{{media}}</div>
    <!-- 顶部标题区 -->
    <div class="top-section">
        <div class="title">{{title}}</div>
aigc-director/aigc-claw/backend/templates/1080x1920/image_full.html
@@ -28,15 +28,21 @@
            position: relative;
            width: 100%;
            height: 100%;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            z-index: 0;
            overflow: hidden;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        .title {
            position: absolute;
            top: 300px;
            z-index: 1;
            width: 100%;
            text-align: center;
            font-size: 92px;
@@ -56,6 +62,7 @@
        .text {
            position: absolute;
            bottom: 300px;
            z-index: 1;
            width: 100%; /* 稍微调整以适应全宽图片 */
            padding: 0 60px;
            text-align: center;
@@ -148,6 +155,7 @@
</head>
<body>
    <div class="bg">
        <div class="media-bg">{{media}}</div>
    <div class="title">{{title}}</div>
    <div class="text">{{text}}</div>
    </div>
aigc-director/aigc-claw/backend/templates/1080x1920/image_healing.html
@@ -32,11 +32,15 @@
            color: #2a2a2a;
            position: relative;
            background: #e8e5e0;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        /* 背景遮罩层 */
@@ -128,6 +132,8 @@
</head>
<body>
    <div class="media-bg">{{media}}</div>
    <div class="title">
        <div class="title-content">{{title}}</div>
    </div>
aigc-director/aigc-claw/backend/templates/1080x1920/image_long_text.html
@@ -21,14 +21,18 @@
            color: #000;
            position: relative;
            background: #e8e8e8;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            /* 背景模糊效果 */
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 60px;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        /* 背景遮罩层 */
@@ -99,6 +103,8 @@
    </style>
</head>
<body>
    <div class="media-bg">{{media}}</div>
    <!-- 标题 -->
    <div class="title">{{title}}</div>
    
aigc-director/aigc-claw/backend/templates/1080x1920/image_satirical_cartoon.html
@@ -28,16 +28,23 @@
            position: relative;
            width: 100%;
            height: 100%;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            z-index: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        .title {
            position: relative;
            z-index: 1;
            width: 900px;
            text-align: center;
            font-size: 92px;
@@ -131,6 +138,7 @@
</head>
<body>
    <div class="bg">
        <div class="media-bg">{{media}}</div>
        <div class="title">{{title}}</div>
    </div>
    <div class="footer">
aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_black.html
@@ -50,6 +50,7 @@
            height: 40%;
            z-index: 2;
            padding: 0 0; /* 无左右内边距 */
            overflow: hidden;
        }
        /* Footer */
@@ -128,7 +129,7 @@
</head>
<body>
    <div class="title">{{title}}</div>
    <image src="{{image}}" class="image-center" />
    <div class="image-center">{{media}}</div>
    <div class="footer">
        <div class="author">
            <div class="author-name">
aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_line_drawing.html
@@ -56,6 +56,7 @@
            height: 40%;
            z-index: 2;
            padding: 0 0; /* 无左右内边距 */
            overflow: hidden;
        }
        /* Footer */
@@ -136,7 +137,7 @@
    <div class="title-wrapper">
        <span class="title">{{text}}</span>
    </div>
    <image src="{{image}}" class="image-center" />
    <div class="image-center">{{media}}</div>
    <div class="footer">
        <div class="author">
            <div class="author-name">
aigc-director/aigc-claw/backend/templates/1080x1920/static_default.html
@@ -235,7 +235,7 @@
<body>
    <!-- Background image layer (customizable via background parameter) -->
    <div class="background-image">
        <img src="{{background=https://img.alicdn.com/imgextra/i2/O1CN01TngrfY1NTZK1xwuWd_!!6000000001571-0-tps-690-1494.jpg}}" alt="Background">
        {{media}}
    </div>
    
    <!-- Gradient overlay -->
@@ -278,4 +278,3 @@
    </div>
</body>
</html>
aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html
@@ -37,6 +37,13 @@
            padding: 80px 100px;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        /* 背景遮罩层 */
        body::before {
            content: '';
@@ -111,6 +118,8 @@
</head>
<body>
    <div class="media-bg">{{media}}</div>
    <!-- 顶部标题 -->
    <div class="header">
        <div class="title">{{title}}</div>
aigc-director/aigc-claw/backend/templates/1080x1920/video_default.html
File was deleted
aigc-director/aigc-claw/backend/templates/1080x1920/video_healing.html
File was deleted
aigc-director/aigc-claw/backend/templates/1920x1080/image_book.html
@@ -26,10 +26,14 @@
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #1a1a1a;
            color: #ffffff;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .media-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        .container {
@@ -164,6 +168,8 @@
    </style>
</head>
<body>
    <div class="media-bg">{{media}}</div>
    <div class="container">
        <!-- Stars background -->
        <div class="stars" id="stars"></div>
aigc-director/aigc-claw/backend/templates/1920x1080/image_full.html
@@ -33,23 +33,19 @@
            position: relative;
            background: transparent;
            /* 移除黑色背景 */
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
        }
        /* 背景使用图片并做模糊处理,完全覆盖整个页面 */
        .bg {
            position: relative;
            width: 100%;
            height: 100%;
            background-image: url("{{image}}");
            background-size: cover;
            background-position: center;
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        .main {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 1080px;
        }
@@ -169,7 +165,7 @@
</head>
<body>
    <!-- <div class="bg"></div> -->
    <div class="bg">{{media}}</div>
    <div class="main">
        <div class="title">{{title}}</div>
        <div class="text">{{text}}</div>