From cbd5d6b71a8255c91c3c54f195507dfe38c67ff9 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Wed, 13 May 2026 18:36:35 +0800
Subject: [PATCH] add short video templates
---
aigc-director/aigc-claw/backend/templates/1080x1920/image_psychology_card.html | 94
aigc-director/aigc-claw/backend/templates/1080x1920/video_default.html | 328 ++
aigc-director/aigc-claw/backend/templates/1080x1920/image_blur_card.html | 215 +
aigc-director/aigc-claw/backend/templates/1080x1080/image_minimal_framed.html | 102
aigc-director/aigc-claw/backend/templates/1080x1920/image_health_preservation.html | 113
aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html | 131
aigc-director/aigc-claw/backend/templates/1080x1920/image_satirical_cartoon.html | 291 ++
aigc-director/aigc-claw/backend/templates/1080x1920/video_healing.html | 163 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_fashion_vintage.html | 167 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights.html | 146 +
aigc-director/aigc-claw/backend/templates/1920x1080/image_wide_darktech.html | 308 ++
aigc-director/aigc-claw/backend/templates/1080x1920/image_default.html | 543 +++
aigc-director/aigc-claw/backend/templates/1080x1920/image_healing.html | 150 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_purple.html | 717 +++++
aigc-director/aigc-claw/backend/templates/1080x1920/asset_default.html | 174 +
aigc-director/aigc-claw/backend/templates/1920x1080/image_film.html | 215 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights_light.html | 230 +
aigc-director/aigc-claw/backend/templates/1080x1920/static_default.html | 281 ++
aigc-director/aigc-claw/backend/templates/1920x1080/image_ultrawide_minimal.html | 197 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_line_drawing.html | 159 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_neon.html | 938 ++++++
aigc-director/aigc-claw/backend/templates/1920x1080/image_book.html | 206 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_full.html | 173 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_cartoon.html | 260 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_modern.html | 574 ++++
aigc-director/aigc-claw/backend/templates/1080x1920/image_book.html | 119
aigc-director/aigc-claw/backend/templates/1080x1920/image_long_text.html | 111
aigc-director/aigc-claw/backend/templates/1080x1920/image_excerpt.html | 141 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_black.html | 151 +
aigc-director/aigc-claw/backend/templates/1920x1080/image_full.html | 197 +
aigc-director/aigc-claw/backend/templates/1080x1920/image_elegant.html | 646 ++++
31 files changed, 8,240 insertions(+), 0 deletions(-)
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1080/image_minimal_framed.html b/aigc-director/aigc-claw/backend/templates/1080x1080/image_minimal_framed.html
new file mode 100644
index 0000000..99a7212
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1080/image_minimal_framed.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1080">
+ <title>极简边框风格 - 1080x1080</title>
+ <style>
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1080px; overflow: hidden; }
+
+ body {
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ background: #fafafa;
+ color: #1a1a1a;
+ display: flex;
+ flex-direction: column;
+ padding: 100px 80px;
+ }
+
+ /* 顶部标题 - 极简风格 */
+ .header {
+ text-align: center;
+ margin-bottom: 60px;
+ }
+
+ .title {
+ font-size: 56px;
+ font-weight: 300;
+ line-height: 1.3;
+ color: #2d3436;
+ letter-spacing: 3px;
+ }
+
+ /* 图片区域 - 细边框,大留白 */
+ .image-section {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin: 30px 0;
+ min-height: 0;
+ }
+
+ .image-container {
+ width: 100%;
+ max-width: 720px;
+ height: 100%;
+ max-height: 100%;
+ border: 2px solid #2d3436;
+ background: #fff;
+ padding: 8px;
+ box-shadow: 0 4px 20px rgba(0,0,0,0.08);
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+ display: block;
+ }
+
+ /* 底部文字 - 极简 */
+ .footer {
+ text-align: center;
+ margin-top: 50px;
+ }
+
+ .text {
+ font-size: 28px;
+ font-weight: 300;
+ line-height: 1.6;
+ color: #636e72;
+ letter-spacing: 1px;
+ max-width: 700px;
+ margin: 0 auto;
+ }
+
+ @media (max-width: 1080px) {
+ .title { font-size: 50px; }
+ .text { font-size: 26px; }
+ }
+ </style>
+</head>
+<body>
+ <div class="header">
+ <div class="title">{{title}}</div>
+ </div>
+
+ <div class="image-section">
+ <div class="image-container">
+ <img src="{{image}}" alt="内容图片">
+ </div>
+ </div>
+
+ <div class="footer">
+ <div class="text">{{text}}</div>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/asset_default.html b/aigc-director/aigc-claw/backend/templates/1080x1920/asset_default.html
new file mode 100644
index 0000000..f38c226
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/asset_default.html
@@ -0,0 +1,174 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ height: 1920px;
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ overflow: hidden;
+ }
+
+ .page-container {
+ width: 1080px;
+ height: 1920px;
+ position: relative;
+ overflow: hidden;
+ }
+
+ /* 1. Background Media Layer (背景媒体层)
+ - For image assets: displays the image
+ - For video assets: hidden (video is composited in later step)
+ */
+ .background-layer {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ }
+
+ .background-layer img {
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+ display: block;
+ }
+
+ /* Hide background layer when no image (video mode) */
+ .background-layer:empty {
+ display: none;
+ }
+
+ /* 2. Gradient Overlay (渐变遮罩)
+ Ensures text readability regardless of background brightness
+ Top: Darker for Title
+ Middle: Transparent for Media visibility
+ Bottom: Darker for Subtitles
+ */
+ .gradient-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 1;
+ background: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0.6) 0%,
+ rgba(0, 0, 0, 0.1) 25%,
+ rgba(0, 0, 0, 0.1) 60%,
+ rgba(0, 0, 0, 0.8) 100%);
+ }
+
+ /* 3. Content Layer (内容层) */
+ .content-layer {
+ position: relative;
+ z-index: 2;
+ width: 100%;
+ height: 100%;
+ padding: 120px 80px 0px 80px;
+ /* Top, Right, Bottom, Left */
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ color: #ffffff;
+ }
+
+ /* Title Styling */
+ .video-title {
+ font-size: 80px;
+ font-weight: 700;
+ line-height: 1.2;
+ text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
+ margin-bottom: 40px;
+ text-align: center;
+ }
+
+ /* Hide title when empty */
+ .video-title:empty {
+ display: none;
+ }
+
+ /* Flex spacer to push subtitle to bottom */
+ .spacer {
+ flex-grow: 1;
+ }
+
+ /* Narration/Subtitle Styling */
+ .subtitle-wrapper {
+ margin-bottom: 60px;
+ }
+
+ .text {
+ font-size: 52px;
+ font-weight: 500;
+ line-height: 1.6;
+ text-align: center;
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
+ backdrop-filter: blur(4px);
+ }
+ </style>
+</head>
+
+<body>
+ <div class="page-container">
+ <!-- Background Media Layer
+ - For image assets: contains <img> tag
+ - For video assets: empty (hidden by CSS)
+ -->
+ <div class="background-layer" id="bg-layer">
+ <!-- Image will be inserted here for image assets only -->
+ </div>
+
+ <!-- Shadow Overlay for Text Readability -->
+ <div class="gradient-overlay"></div>
+
+ <!-- Main Content -->
+ <div class="content-layer">
+ <!-- Top Section: Title -->
+ <div class="video-title">
+ {{title}}
+ </div>
+
+ <!-- Spacer pushes content apart -->
+ <div class="spacer"></div>
+
+ <!-- Bottom Section: Narration/Text -->
+ <div class="subtitle-wrapper">
+ <div class="text">{{text}}</div>
+ </div>
+ </div>
+ </div>
+
+ <script>
+ // Conditionally add image if provided
+ (function () {
+ var imageUrl = "{{image}}";
+ var bgLayer = document.getElementById('bg-layer');
+
+ // Only add img tag if image URL is provided and not empty
+ if (imageUrl && imageUrl.trim() !== "" && imageUrl !== "None") {
+ var img = document.createElement('img');
+ img.src = imageUrl;
+ img.alt = "Background";
+ bgLayer.appendChild(img);
+ }
+ // Otherwise, bg-layer stays empty and gets hidden by CSS
+ })();
+ </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_blur_card.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_blur_card.html
new file mode 100644
index 0000000..5848f53
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_blur_card.html
@@ -0,0 +1,215 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>模糊背景卡片 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ position: relative;
+ background: transparent; /* 移除黑色背景 */
+ }
+
+ /* 背景使用图片并做模糊处理,完全覆盖整个页面 */
+ .bg {
+ position: fixed;
+ top: 0;
+ 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;
+ }
+
+ /* 顶部标题区 */
+ .top {
+ position: relative;
+ z-index: 2;
+ height: 26%;
+ display: flex;
+ align-items: center; /* 改为居中,避免被遮挡 */
+ justify-content: center;
+ padding: 60px 70px 40px; /* 减少顶部padding */
+ text-align: center;
+ }
+
+ .title {
+ max-width: 920px;
+ font-size: 92px;
+ font-weight: 400;
+ line-height: 1.2;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.6),
+ -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ /* 使用 Ma Shan Zheng 毛笔字体 */
+ font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive;
+ letter-spacing: 4px;
+ }
+
+ /* 中部图片区(图片居中,填满宽度) */
+ .image-center {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 100%;
+ height: 58%;
+ z-index: 2;
+ padding: 0 0; /* 无左右内边距 */
+ }
+
+ .image-box { position: relative; width: 100%; height: 100%; }
+
+ .image-box img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover; /* 改为 cover 填满宽度 */
+ display: block;
+ }
+
+ /* 底部字幕覆盖在图片底部 */
+ .caption {
+ position: absolute;
+ left: 50%;
+ bottom: 18px;
+ transform: translateX(-50%);
+ width: 96%; /* 稍微调整以适应全宽图片 */
+ text-align: center;
+ font-size: 48px;
+ font-weight: 400;
+ /* line-height: 1.2; */
+ color: #fff;
+ font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif;
+ letter-spacing: 2px;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.6),
+ -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+<body>
+ <div class="bg"></div>
+ <div class="top">
+ <div class="title">{{title}}</div>
+ </div>
+
+ <div class="image-center">
+ <div class="image-box">
+ <img src="{{image}}" alt="内容图片">
+ <div class="caption">{{text}}</div>
+ </div>
+ </div>
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_book.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_book.html
new file mode 100644
index 0000000..20e5180
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_book.html
@@ -0,0 +1,119 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>图书解读 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Dancing+Script:wght@400;700&family=Liu+Jian+Mao+Cao&family=ZCOOL+KuaiLe&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ position: relative;
+ background: #1a1a1a;
+ background-image: url("{{image}}");
+ background-size: cover;
+ background-position: center bottom 400px;
+ }
+
+ /* 顶部区域 */
+ .top-section {
+ position: absolute;
+ top: 10%;
+ left: 50%;
+ transform: translateX(-50%);
+ text-align: center;
+ width: 90%;
+ }
+
+ .image {
+ position: absolute;
+ top: 400px;
+ left: 50%;
+ transform: translate(-50%);
+ }
+
+ .title {
+ font-size: 100px;
+ font-weight: 900;
+ line-height: 1.1;
+ font-family: 'Noto Sans SC', sans-serif;
+ color: #000;
+ text-shadow: -3px -3px 0 #fff,
+ 3px -3px 0 #fff,
+ -3px 3px 0 #fff,
+ 3px 3px 0 #fff;
+ letter-spacing: 2px;
+ margin-bottom: 20px;
+ }
+
+ .subtitle {
+ font-size: 30px;
+ font-weight: 500;
+ font-family: 'Noto Sans SC', sans-serif;
+ color: #000;
+ text-shadow: -2px -2px 0 #fff,
+ 2px -2px 0 #fff,
+ -2px 2px 0 #fff,
+ 2px 2px 0 #fff;
+ letter-spacing: 2px;
+ }
+
+ /* 底部文字区域 */
+ .bottom-section {
+ position: absolute;
+ top: 1000px;
+ left: 50%;
+ transform: translateX(-50%);
+ text-align: center;
+ width: 90%;
+ }
+
+ .main-text {
+ font-size: 50px;
+ font-weight: 700;
+ font-family: 'Noto Sans SC', sans-serif;
+ text-shadow: -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ margin-bottom: 15px;
+ letter-spacing: 3px;
+ }
+
+ .author {
+ font-size: 30px;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+ </style>
+</head>
+<body>
+ <!-- 顶部标题区 -->
+ <div class="top-section">
+ <div class="title">{{title}}</div>
+ <div class="subtitle">{{subtitle=作者}}</div>
+ </div>
+
+ <!-- <img class="img" src="{{image}}" alt="内容图片"> -->
+
+ <!-- 底部文字区 -->
+ <div class="bottom-section">
+ <div class="main-text">{{text}}</div>
+ <div class="author">{{author=@Pixelle.AI}}</div>
+ </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_cartoon.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_cartoon.html
new file mode 100644
index 0000000..2d6e742
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_cartoon.html
@@ -0,0 +1,260 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{title}}</title>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ font-family: 'Comic Sans MS', 'Marker Felt', 'Arial Rounded MT Bold', sans-serif;
+ }
+
+ body {
+ width: 1080px;
+ height: 1920px;
+ background-image: url('https://lmg.jj20.com/up/allimg/sj02/210122142U11054-0-lp.jpg');
+ background-size: cover;
+ background-position: center;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: flex-start;
+ padding: 40px 20px 0 20px;
+ gap: 30px;
+ position: relative;
+ overflow: hidden;
+ }
+
+ /* 卡通装饰元素 */
+ .cloud {
+ position: absolute;
+ background: rgba(255, 255, 255, 0.8);
+ border-radius: 50%;
+ z-index: -1;
+ }
+
+ .cloud:before, .cloud:after {
+ content: '';
+ position: absolute;
+ background: rgba(255, 255, 255, 0.8);
+ border-radius: 50%;
+ }
+
+ .cloud-1 {
+ width: 120px;
+ height: 60px;
+ top: 10%;
+ left: 5%;
+ }
+
+ .cloud-1:before {
+ width: 70px;
+ height: 70px;
+ top: -30px;
+ left: 10px;
+ }
+
+ .cloud-1:after {
+ width: 50px;
+ height: 50px;
+ top: -20px;
+ right: 10px;
+ }
+
+ .cloud-2 {
+ width: 150px;
+ height: 70px;
+ bottom: 15%;
+ right: 5%;
+ }
+
+ .cloud-2:before {
+ width: 80px;
+ height: 80px;
+ top: -35px;
+ left: 15px;
+ }
+
+ .cloud-2:after {
+ width: 60px;
+ height: 60px;
+ top: -25px;
+ right: 20px;
+ }
+
+ /* 标题样式 */
+ .title-container {
+ background-color: rgba(255, 255, 255, 0.85);
+ padding: 20px 40px;
+ border-radius: 25px;
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
+ text-align: center;
+ border: 5px solid #FF9ED8;
+ max-width: 90%;
+ position: relative;
+ z-index: 10;
+ }
+
+ .title-container h1 {
+ font-size: 48px;
+ color: #FF5BAE;
+ text-shadow: 3px 3px 0 #FFC2E9;
+ margin: 0;
+ }
+
+ /* 图片容器 */
+ .image-container {
+ width: 1024px;
+ height: 1024px;
+ background-color: rgba(255, 255, 255, 0.9);
+ border-radius: 30px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
+ border: 8px solid #A6E3FF;
+ overflow: hidden;
+ position: relative;
+ z-index: 10;
+ }
+
+ .image-container img {
+ max-width: 95%;
+ max-height: 95%;
+ border-radius: 15px;
+ object-fit: contain;
+ }
+
+ /* 字幕样式 */
+ .caption-container {
+ background-color: rgba(255, 255, 255, 0.9);
+ padding: 25px 40px;
+ border-radius: 25px;
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
+ text-align: center;
+ border: 5px solid #B5FFA6;
+ max-width: 90%;
+ position: relative;
+ z-index: 10;
+ }
+
+ .caption-container p {
+ font-size: 36px;
+ color: #5BAE5B;
+ line-height: 1.4;
+ text-shadow: 2px 2px 0 #C2FFC2;
+ margin: 0;
+ }
+
+ /* 装饰元素 */
+ .decoration {
+ position: absolute;
+ z-index: 5;
+ }
+
+ .star {
+ width: 30px;
+ height: 30px;
+ background-color: #FFF9A6;
+ clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
+ }
+
+ .star-1 {
+ top: 15%;
+ right: 10%;
+ transform: rotate(15deg);
+ }
+
+ .star-2 {
+ bottom: 20%;
+ left: 8%;
+ transform: rotate(-10deg);
+ width: 40px;
+ height: 40px;
+ }
+
+ .heart {
+ width: 40px;
+ height: 40px;
+ background-color: #FF9ED8;
+ transform: rotate(-45deg);
+ position: absolute;
+ }
+
+ .heart:before, .heart:after {
+ content: '';
+ width: 40px;
+ height: 40px;
+ background-color: #FF9ED8;
+ border-radius: 50%;
+ position: absolute;
+ }
+
+ .heart:before {
+ top: -20px;
+ left: 0;
+ }
+
+ .heart:after {
+ top: 0;
+ left: 20px;
+ }
+
+ .heart-1 {
+ top: 12%;
+ left: 12%;
+ }
+
+ .heart-2 {
+ bottom: 25%;
+ right: 12%;
+ width: 30px;
+ height: 30px;
+ }
+
+ .heart-2:before, .heart-2:after {
+ width: 30px;
+ height: 30px;
+ }
+
+ .heart-2:before {
+ top: -15px;
+ }
+
+ .heart-2:after {
+ left: 15px;
+ }
+ </style>
+</head>
+<body>
+ <!-- 装饰元素 -->
+ <div class="cloud cloud-1"></div>
+ <div class="cloud cloud-2"></div>
+
+ <div class="decoration star star-1"></div>
+ <div class="decoration star star-2"></div>
+
+ <div class="decoration heart heart-1"></div>
+ <div class="decoration heart heart-2"></div>
+
+ <!-- 标题区域 -->
+ <div class="title-container">
+ <h1>{{title}}</h1>
+ </div>
+
+ <!-- 图片区域 -->
+ <div class="image-container">
+ <img src="{{image}}" alt="卡通图片">
+ </div>
+
+ <!-- 字幕区域 -->
+ <div class="caption-container">
+ <p>{{text}}</p>
+ </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_default.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_default.html
new file mode 100644
index 0000000..2e0b26d
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_default.html
@@ -0,0 +1,543 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ background: #fafafa;
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .page-container {
+ width: 1080px;
+ height: 1920px;
+ padding: 80px 60px 90px 60px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 60px;
+ position: relative;
+ z-index: 1;
+ }
+
+ /* Background minimal decorations */
+ .bg-decoration {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ overflow: hidden;
+ pointer-events: none;
+ }
+
+ /* Subtle circles */
+ .circle-outline-1 {
+ position: absolute;
+ width: 350px;
+ height: 350px;
+ border-radius: 50%;
+ border: 2px solid rgba(44, 62, 80, 0.12);
+ top: 10%;
+ right: -100px;
+ }
+
+ .circle-outline-2 {
+ position: absolute;
+ width: 280px;
+ height: 280px;
+ border-radius: 50%;
+ border: 2px solid rgba(44, 62, 80, 0.1);
+ bottom: 15%;
+ left: -80px;
+ }
+
+ .circle-outline-3 {
+ position: absolute;
+ width: 180px;
+ height: 180px;
+ border-radius: 50%;
+ border: 2px solid rgba(149, 165, 166, 0.15);
+ top: 50%;
+ left: 100px;
+ }
+
+ /* Subtle lines */
+ .line-decoration {
+ position: absolute;
+ height: 2px;
+ background: rgba(149, 165, 166, 0.25);
+ }
+
+ .line-1 {
+ width: 250px;
+ top: 20%;
+ left: 80px;
+ transform: rotate(-5deg);
+ }
+
+ .line-2 {
+ width: 180px;
+ top: 55%;
+ right: 120px;
+ transform: rotate(8deg);
+ }
+
+ .line-3 {
+ width: 200px;
+ bottom: 25%;
+ left: 120px;
+ transform: rotate(-3deg);
+ }
+
+ /* Small accent squares */
+ .square-minimal {
+ position: absolute;
+ width: 14px;
+ height: 14px;
+ background: rgba(149, 165, 166, 0.35);
+ }
+
+ .square-1 { top: 15%; left: 50px; }
+ .square-2 { top: 45%; right: 80px; }
+ .square-3 { bottom: 20%; left: 100px; transform: rotate(45deg); }
+
+ /* Video title section */
+ .video-title-wrapper {
+ position: relative;
+ max-width: 800px;
+ text-align: center;
+ }
+
+ .video-title-ornament-top {
+ position: absolute;
+ top: -40px;
+ left: 50%;
+ transform: translateX(-50%);
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .ornament-line {
+ width: 40px;
+ height: 2px;
+ background: rgba(149, 165, 166, 0.55);
+ }
+
+ .ornament-dot {
+ width: 7px;
+ height: 7px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.65);
+ }
+
+ .video-title {
+ font-size: 68px;
+ font-weight: 600;
+ color: #1a252f;
+ line-height: 1.4;
+ letter-spacing: 2px;
+ position: relative;
+ }
+
+ .video-title::after {
+ content: '';
+ position: absolute;
+ bottom: -20px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 120px;
+ height: 2px;
+ background: rgba(149, 165, 166, 0.4);
+ }
+
+ /* Image section */
+ .image-wrapper {
+ width: 100%;
+ max-width: 900px;
+ position: relative;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 900px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ border-radius: 8px;
+ box-shadow: 0 15px 50px rgba(0,0,0,0.06);
+ object-fit: cover;
+ }
+
+ /* L-shaped corner marks (different from modern) */
+ .corner-mark {
+ position: absolute;
+ }
+
+ .corner-mark.tl {
+ top: -18px;
+ left: -18px;
+ width: 50px;
+ height: 3px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.tl::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 3px;
+ height: 50px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.tr {
+ top: -18px;
+ right: -18px;
+ width: 50px;
+ height: 3px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.tr::after {
+ content: '';
+ position: absolute;
+ right: 0;
+ top: 0;
+ width: 3px;
+ height: 50px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.bl {
+ bottom: -18px;
+ left: -18px;
+ width: 50px;
+ height: 3px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.bl::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 3px;
+ height: 50px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.br {
+ bottom: -18px;
+ right: -18px;
+ width: 50px;
+ height: 3px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .corner-mark.br::after {
+ content: '';
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ width: 3px;
+ height: 50px;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ /* Side dots */
+ .side-dots {
+ position: absolute;
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .side-dots.left { left: -30px; }
+ .side-dots.right { right: -30px; }
+
+ .side-dot {
+ width: 7px;
+ height: 7px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.4);
+ }
+
+ .side-dot.active {
+ background: rgba(149, 165, 166, 0.65);
+ width: 10px;
+ height: 10px;
+ }
+
+ /* Text section */
+ .content {
+ display: flex;
+ flex-direction: column;
+ gap: 30px;
+ max-width: 850px;
+ width: 100%;
+ position: relative;
+ }
+
+ .text-wrapper {
+ position: relative;
+ }
+
+ .text {
+ font-size: 42px;
+ color: #2c3e50;
+ text-align: center;
+ line-height: 1.9;
+ font-weight: 500;
+ padding: 20px 40px;
+ position: relative;
+ height: 239.4px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ /* Minimal quote marks */
+ .quote-minimal {
+ position: absolute;
+ opacity: 0.25;
+ }
+
+ .quote-minimal.left {
+ top: -10px;
+ left: 0;
+ transform: rotate(180deg);
+ }
+
+ .quote-minimal.right {
+ bottom: -10px;
+ right: 0;
+ }
+
+ /* Decorative dividers */
+ .divider-set {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 12px;
+ margin: 10px 0;
+ }
+
+ .divider {
+ height: 2px;
+ background: rgba(149, 165, 166, 0.35);
+ }
+
+ .divider.short { width: 40px; }
+ .divider.long { width: 80px; }
+
+ .divider-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ max-width: 850px;
+ padding: 25px 10px 0 10px;
+ border-top: 2px solid rgba(149, 165, 166, 0.3);
+ position: relative;
+ }
+
+ .footer::before {
+ content: '';
+ position: absolute;
+ top: -3px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 70px;
+ height: 3px;
+ background: rgba(149, 165, 166, 0.55);
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ color: #1a252f;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.7);
+ }
+
+ .author-desc {
+ font-size: 22px;
+ color: #5d6d7e;
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ color: #707b7c;
+ letter-spacing: 2px;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+
+ </style>
+</head>
+<body>
+ <!-- Background minimal decorations -->
+ <div class="bg-decoration">
+ <div class="circle-outline-1"></div>
+ <div class="circle-outline-2"></div>
+ <div class="circle-outline-3"></div>
+ <div class="line-decoration line-1"></div>
+ <div class="line-decoration line-2"></div>
+ <div class="line-decoration line-3"></div>
+ <div class="square-minimal square-1"></div>
+ <div class="square-minimal square-2"></div>
+ <div class="square-minimal square-3"></div>
+ </div>
+
+ <div class="page-container">
+ <div class="video-title-wrapper">
+ <!-- Top ornament -->
+ <div class="video-title-ornament-top">
+ <div class="ornament-line"></div>
+ <div class="ornament-dot"></div>
+ <div class="ornament-line"></div>
+ </div>
+
+ <div class="video-title">{{title}}</div>
+ </div>
+
+ <div class="image-wrapper">
+ <!-- Corner marks -->
+ <div class="corner-mark tl"></div>
+ <div class="corner-mark tr"></div>
+ <div class="corner-mark bl"></div>
+ <div class="corner-mark br"></div>
+
+ <!-- Side dots -->
+ <div class="side-dots left">
+ <div class="side-dot"></div>
+ <div class="side-dot active"></div>
+ <div class="side-dot"></div>
+ </div>
+ <div class="side-dots right">
+ <div class="side-dot"></div>
+ <div class="side-dot active"></div>
+ <div class="side-dot"></div>
+ </div>
+
+ <div class="image-container">
+ <img src="{{image}}" alt="Frame Image">
+ </div>
+ </div>
+
+ <div class="content">
+ <div class="text-wrapper">
+ <!-- Minimal quote marks -->
+ <svg class="quote-minimal left" width="60" height="60" viewBox="0 0 24 24" fill="#95a5a6">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+ <svg class="quote-minimal right" width="60" height="60" viewBox="0 0 24 24" fill="#95a5a6">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+
+ <div class="text">{{text}}</div>
+ </div>
+
+ <!-- Decorative dividers -->
+ <div class="divider-set">
+ <div class="divider short"></div>
+ <div class="divider-dot"></div>
+ <div class="divider long"></div>
+ <div class="divider-dot"></div>
+ <div class="divider short"></div>
+ </div>
+ </div>
+
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_elegant.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_elegant.html
new file mode 100644
index 0000000..985899f
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_elegant.html
@@ -0,0 +1,646 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ background: #f5f7fa;
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .page-container {
+ width: 1080px;
+ height: 1920px;
+ padding: 80px 70px 75px 70px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ position: relative;
+ z-index: 1;
+ }
+
+ /* Background artistic elements */
+ .bg-decoration {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ overflow: hidden;
+ pointer-events: none;
+ }
+
+ /* Soft gradient orbs */
+ .orb-1 {
+ position: absolute;
+ width: 700px;
+ height: 700px;
+ border-radius: 50%;
+ background: radial-gradient(circle at 40% 40%, rgba(165, 180, 252, 0.45), transparent 70%);
+ top: -280px;
+ left: -250px;
+ filter: blur(80px);
+ }
+
+ .orb-2 {
+ position: absolute;
+ width: 550px;
+ height: 550px;
+ border-radius: 50%;
+ background: radial-gradient(circle at 60% 60%, rgba(244, 114, 182, 0.4), transparent 70%);
+ top: 40%;
+ right: -200px;
+ filter: blur(90px);
+ }
+
+ .orb-3 {
+ position: absolute;
+ width: 450px;
+ height: 450px;
+ border-radius: 50%;
+ background: radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.42), transparent 70%);
+ bottom: -100px;
+ left: 20%;
+ filter: blur(70px);
+ }
+
+ /* Flowing wave lines */
+ .wave-line-1 {
+ position: absolute;
+ width: 800px;
+ height: 3px;
+ top: 18%;
+ left: -100px;
+ background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.6), transparent);
+ border-radius: 10px;
+ transform: rotate(-8deg);
+ filter: blur(1px);
+ }
+
+ .wave-line-2 {
+ position: absolute;
+ width: 650px;
+ height: 2px;
+ top: 65%;
+ right: -80px;
+ background: linear-gradient(90deg, transparent, rgba(244, 114, 182, 0.55), transparent);
+ border-radius: 10px;
+ transform: rotate(12deg);
+ filter: blur(1px);
+ }
+
+ /* Minimal geometric shapes */
+ .geo-rect-1 {
+ position: absolute;
+ width: 180px;
+ height: 180px;
+ top: 25%;
+ right: 50px;
+ border: 2px solid rgba(165, 180, 252, 0.45);
+ border-radius: 50%;
+ transform: rotate(25deg);
+ }
+
+ .geo-rect-2 {
+ position: absolute;
+ width: 120px;
+ height: 120px;
+ bottom: 20%;
+ left: 80px;
+ border: 2px solid rgba(244, 114, 182, 0.4);
+ border-radius: 20px;
+ transform: rotate(-15deg);
+ }
+
+ /* Floating dots pattern */
+ .dot-cluster-1, .dot-cluster-2 {
+ position: absolute;
+ display: flex;
+ gap: 20px;
+ }
+
+ .dot-cluster-1 {
+ top: 12%;
+ left: 120px;
+ flex-direction: column;
+ }
+
+ .dot-cluster-2 {
+ bottom: 15%;
+ right: 100px;
+ flex-direction: row;
+ }
+
+ .floating-dot {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, rgba(165, 180, 252, 0.6), rgba(196, 181, 253, 0.5));
+ }
+
+ /* Header section with elegant typography */
+ .topic-wrapper {
+ position: relative;
+ text-align: center;
+ padding: 40px 0;
+ }
+
+ .topic-accent {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 150px;
+ height: 5px;
+ background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.8), transparent);
+ border-radius: 10px;
+ }
+
+ .topic {
+ font-size: 78px;
+ font-weight: 700;
+ background: linear-gradient(135deg, #7c87f5 0%, #b87ef9 50%, #f06ba8 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ line-height: 1.25;
+ letter-spacing: 2px;
+ padding: 25px 0;
+ position: relative;
+ display: inline-block;
+ filter: drop-shadow(0 4px 20px rgba(165, 180, 252, 0.25));
+ }
+
+ .topic::before,
+ .topic::after {
+ content: '';
+ position: absolute;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, rgba(165, 180, 252, 0.5), rgba(196, 181, 253, 0.45));
+ }
+
+ .topic::before {
+ top: -15px;
+ left: -25px;
+ width: 25px;
+ height: 25px;
+ }
+
+ .topic::after {
+ bottom: -10px;
+ right: -20px;
+ width: 30px;
+ height: 30px;
+ }
+
+ /* Elegant image frame */
+ .image-wrapper {
+ position: relative;
+ padding: 25px;
+ }
+
+ .image-frame-bg {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(135deg,
+ rgba(255, 255, 255, 0.65) 0%,
+ rgba(255, 255, 255, 0.45) 50%,
+ rgba(255, 255, 255, 0.55) 100%);
+ border-radius: 30px;
+ backdrop-filter: blur(20px);
+ z-index: 0;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 900px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ z-index: 1;
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ border-radius: 22px;
+ object-fit: cover;
+ box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12),
+ 0 10px 30px rgba(165, 180, 252, 0.2);
+ }
+
+ /* Elegant corner accents */
+ .corner-accent {
+ position: absolute;
+ z-index: 2;
+ }
+
+ .corner-accent.tl {
+ top: 10px;
+ left: 10px;
+ width: 70px;
+ height: 70px;
+ border-top: 4px solid rgba(165, 180, 252, 0.8);
+ border-left: 4px solid rgba(165, 180, 252, 0.8);
+ border-radius: 22px 0 0 0;
+ }
+
+ .corner-accent.br {
+ bottom: 10px;
+ right: 10px;
+ width: 70px;
+ height: 70px;
+ border-bottom: 4px solid rgba(244, 114, 182, 0.75);
+ border-right: 4px solid rgba(244, 114, 182, 0.75);
+ border-radius: 0 0 22px 0;
+ }
+
+ .corner-accent.tr {
+ top: 10px;
+ right: 10px;
+ width: 40px;
+ height: 40px;
+ border-top: 3px solid rgba(196, 181, 253, 0.75);
+ border-right: 3px solid rgba(196, 181, 253, 0.75);
+ border-radius: 0 22px 0 0;
+ }
+
+ .corner-accent.bl {
+ bottom: 10px;
+ left: 10px;
+ width: 40px;
+ height: 40px;
+ border-bottom: 3px solid rgba(165, 180, 252, 0.75);
+ border-left: 3px solid rgba(165, 180, 252, 0.75);
+ border-radius: 0 0 0 22px;
+ }
+
+ /* Side minimal indicators */
+ .side-indicator {
+ position: absolute;
+ display: flex;
+ gap: 18px;
+ z-index: 2;
+ }
+
+ .side-indicator.left {
+ left: -15px;
+ top: 50%;
+ transform: translateY(-50%);
+ flex-direction: column;
+ }
+
+ .side-indicator.right {
+ right: -15px;
+ top: 50%;
+ transform: translateY(-50%);
+ flex-direction: column;
+ }
+
+ .indicator-dot {
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, rgba(165, 180, 252, 0.7), rgba(196, 181, 253, 0.6));
+ box-shadow: 0 0 15px rgba(165, 180, 252, 0.5);
+ }
+
+ .indicator-dot.accent {
+ width: 18px;
+ height: 18px;
+ background: linear-gradient(135deg, rgba(244, 114, 182, 0.8), rgba(244, 114, 182, 0.7));
+ box-shadow: 0 0 20px rgba(244, 114, 182, 0.6);
+ }
+
+ /* Text section with elegant design */
+ .text-wrapper {
+ position: relative;
+ padding: 45px 0;
+ }
+
+ .text-bg {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 90%;
+ height: 100%;
+ background: linear-gradient(135deg,
+ rgba(255, 255, 255, 0.6) 0%,
+ rgba(255, 255, 255, 0.45) 50%,
+ rgba(255, 255, 255, 0.5) 100%);
+ border-radius: 30px;
+ backdrop-filter: blur(15px);
+ z-index: 0;
+ }
+
+ .text {
+ font-size: 48px;
+ color: #1e293b;
+ text-align: center;
+ line-height: 1.75;
+ padding: 40px 80px;
+ position: relative;
+ height: 237.6px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ z-index: 1;
+ letter-spacing: 0.5px;
+ font-weight: 500;
+ }
+
+ /* Quote marks - elegant style */
+ .quote-mark {
+ position: absolute;
+ font-size: 120px;
+ font-weight: 700;
+ font-family: Georgia, serif;
+ opacity: 0.12;
+ line-height: 1;
+ z-index: 0;
+ }
+
+ .quote-mark.open {
+ top: 15px;
+ left: 50px;
+ color: #a5b4fc;
+ }
+
+ .quote-mark.close {
+ bottom: 15px;
+ right: 50px;
+ color: #f4a3c7;
+ }
+
+ /* Minimal side bars */
+ .text-accent-bar {
+ position: absolute;
+ width: 5px;
+ height: 140px;
+ top: 50%;
+ transform: translateY(-50%);
+ border-radius: 10px;
+ z-index: 1;
+ }
+
+ .text-accent-bar.left {
+ left: 35px;
+ background: linear-gradient(180deg,
+ rgba(165, 180, 252, 0.8) 0%,
+ rgba(165, 180, 252, 0.35) 100%);
+ }
+
+ .text-accent-bar.right {
+ right: 35px;
+ background: linear-gradient(180deg,
+ rgba(244, 114, 182, 0.75) 0%,
+ rgba(244, 114, 182, 0.35) 100%);
+ }
+
+ /* Footer with minimal design */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 30px 15px;
+ position: relative;
+ }
+
+ .footer::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 2px;
+ background: linear-gradient(90deg,
+ rgba(165, 180, 252, 0.75) 0%,
+ rgba(196, 181, 253, 0.65) 50%,
+ rgba(244, 114, 182, 0.75) 100%);
+ border-radius: 10px;
+ }
+
+ .footer::after {
+ content: '';
+ position: absolute;
+ top: -3px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 200px;
+ height: 5px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(165, 180, 252, 0.8),
+ transparent);
+ border-radius: 10px;
+ filter: blur(2px);
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ }
+
+ .author-name {
+ font-size: 38px;
+ font-weight: 700;
+ background: linear-gradient(135deg, #8b96f7 0%, #c4a8fa 70%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ }
+
+ .author-icon {
+ display: flex;
+ gap: 6px;
+ align-items: center;
+ }
+
+ .author-dot {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, rgba(165, 180, 252, 0.9), rgba(196, 181, 253, 0.8));
+ }
+
+ .author-dot.large {
+ width: 14px;
+ height: 14px;
+ }
+
+ .author-desc {
+ font-size: 27px;
+ color: #475569;
+ line-height: 1.4;
+ font-weight: 500;
+ }
+
+ .logo-wrapper {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 10px;
+ }
+
+ .logo {
+ font-size: 30px;
+ font-weight: 700;
+ background: linear-gradient(135deg, #f191bc 0%, #f8a7cb 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ letter-spacing: 1.5px;
+ position: relative;
+ padding-right: 22px;
+ }
+
+ .logo::after {
+ content: '';
+ position: absolute;
+ right: 0;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(244, 114, 182, 0.8));
+ box-shadow: 0 0 15px rgba(244, 114, 182, 0.7);
+ }
+
+ .logo-indicator {
+ display: flex;
+ gap: 6px;
+ align-items: center;
+ }
+
+ .logo-bar {
+ width: 35px;
+ height: 4px;
+ border-radius: 10px;
+ background: linear-gradient(90deg,
+ rgba(165, 180, 252, 0.75),
+ rgba(244, 114, 182, 0.7));
+ }
+
+ .logo-bar:nth-child(2) {
+ width: 25px;
+ }
+
+ .logo-bar:nth-child(3) {
+ width: 18px;
+ }
+
+ </style>
+</head>
+<body>
+ <!-- Background decorative elements -->
+ <div class="bg-decoration">
+ <div class="orb-1"></div>
+ <div class="orb-2"></div>
+ <div class="orb-3"></div>
+ <div class="wave-line-1"></div>
+ <div class="wave-line-2"></div>
+ <div class="geo-rect-1"></div>
+ <div class="geo-rect-2"></div>
+
+ <div class="dot-cluster-1">
+ <div class="floating-dot"></div>
+ <div class="floating-dot"></div>
+ <div class="floating-dot"></div>
+ </div>
+ <div class="dot-cluster-2">
+ <div class="floating-dot"></div>
+ <div class="floating-dot"></div>
+ <div class="floating-dot"></div>
+ </div>
+ </div>
+
+ <div class="page-container">
+ <!-- Header Section -->
+ <div class="topic-wrapper">
+ <div class="topic-accent"></div>
+ <div class="topic">{{title}}</div>
+ </div>
+
+ <!-- Image Section -->
+ <div class="image-wrapper">
+ <div class="image-frame-bg"></div>
+
+ <div class="corner-accent tl"></div>
+ <div class="corner-accent br"></div>
+ <div class="corner-accent tr"></div>
+ <div class="corner-accent bl"></div>
+
+ <div class="side-indicator left">
+ <div class="indicator-dot"></div>
+ <div class="indicator-dot accent"></div>
+ <div class="indicator-dot"></div>
+ </div>
+ <div class="side-indicator right">
+ <div class="indicator-dot"></div>
+ <div class="indicator-dot accent"></div>
+ <div class="indicator-dot"></div>
+ </div>
+
+ <div class="image-container">
+ <img src="{{image}}" alt="Frame Image">
+ </div>
+ </div>
+
+ <!-- Text Section -->
+ <div class="text-wrapper">
+ <div class="text-bg"></div>
+ <div class="quote-mark open">"</div>
+ <div class="quote-mark close">"</div>
+ <div class="text-accent-bar left"></div>
+ <div class="text-accent-bar right"></div>
+ <div class="text">{{text}}</div>
+ </div>
+
+ <!-- Footer Section -->
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <div class="author-icon">
+ <div class="author-dot"></div>
+ <div class="author-dot large"></div>
+ <div class="author-dot"></div>
+ </div>
+ </div>
+ </div>
+ <div class="logo-wrapper">
+ <div class="logo-indicator">
+ <div class="logo-bar"></div>
+ <div class="logo-bar"></div>
+ <div class="logo-bar"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_excerpt.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_excerpt.html
new file mode 100644
index 0000000..786e803
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_excerpt.html
@@ -0,0 +1,141 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>图书摘抄 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link
+ href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap"
+ rel="stylesheet">
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html,
+ body {
+ width: 1080px;
+ height: 1920px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ position: relative;
+ background: transparent;
+ display: flex;
+ flex-direction: column;
+ padding: 80px 100px;
+ }
+
+ .image {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+ z-index: -1;
+ }
+
+ /* 背景遮罩层 */
+ body::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: rgba(232, 229, 224, 0.85);
+ backdrop-filter: blur(10px);
+ -webkit-backdrop-filter: blur(10px);
+ z-index: 0;
+ }
+
+ /* 顶部标题 */
+ .header {
+ position: relative;
+ z-index: 1;
+ margin-bottom: 80px;
+ }
+
+ .title {
+ font-size: 48px;
+ font-weight: 500;
+ font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', cursive;
+ color: #2a2a2a;
+ letter-spacing: 8px;
+ text-align: left;
+ padding-bottom: 15px;
+ border-bottom: 2px solid #2a2a2a;
+ }
+
+ /* 正文区域 */
+ .content {
+ position: relative;
+ z-index: 1;
+ /* flex: 1; */
+ margin-bottom: 60px;
+ }
+
+ .excerpt {
+ font-size: 36px;
+ font-weight: 400;
+ line-height: 2.0;
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ text-align: justify;
+ text-indent: 2em;
+ letter-spacing: 1px;
+ white-space: pre-line;
+ }
+
+
+ /* 署名 */
+ .author {
+ position: relative;
+ z-index: 1;
+ text-align: right;
+ font-size: 32px;
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ font-weight: 400;
+ }
+
+ .signature {
+ position: absolute;
+ font-size: 24px;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ color: #333;
+ bottom: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+ </style>
+</head>
+
+<body>
+ <img class="image" src="{{image}}" alt="{{title}}" />
+ <!-- 顶部标题 -->
+ <div class="header">
+ <div class="title">{{title}}</div>
+ </div>
+
+ <!-- 正文内容 -->
+ <div class="content">
+ <div class="excerpt">{{text}}</div>
+ </div>
+
+ <!-- 作者 -->
+ <div class="author">——{{author=Pixelle.AI}}</div>
+
+ <!-- 署名 -->
+ <div class="signature">{{signature=@Pixelle.AI}}</div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_fashion_vintage.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_fashion_vintage.html
new file mode 100644
index 0000000..c63f0f7
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_fashion_vintage.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>时尚复古风格 - 1080x1920</title>
+ <style>
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ display: flex;
+ flex-direction: column;
+ background: #e8d5cc; /* 淡棕粉色背景 */
+ }
+
+ /* 顶部标题区(约25%)*/
+ .top {
+ height: 20%;
+ background: #e8d5cc; /* 淡棕粉色 */
+ position: relative;
+ display: flex;
+ align-items: flex-end;
+ justify-content: center;
+ padding: 80px 60px;
+ }
+
+ /* 装饰元素 */
+ .decoration {
+ position: absolute;
+ opacity: 0.3;
+ }
+
+ .decoration.leaf-left {
+ left: 40px;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 120px;
+ height: 120px;
+ background: radial-gradient(circle, transparent 40%, #f5e8e0 40%, #f5e8e0 45%, transparent 45%);
+ border-radius: 50% 50% 50% 0;
+ clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
+ }
+
+ .decoration.wave-right {
+ right: 40px;
+ top: 40%;
+ width: 100px;
+ height: 80px;
+ background: linear-gradient(135deg, transparent, #f5e8e0 50%, transparent);
+ border-radius: 50px;
+ transform: rotate(-15deg);
+ }
+
+ .title-section {
+ text-align: center;
+ z-index: 2;
+ }
+
+ .main-title {
+ font-size: 88px;
+ font-weight: 900;
+ color: #ffffff;
+ line-height: 1.2;
+ text-shadow: 0 2px 12px rgba(0,0,0,0.15);
+ letter-spacing: 2px;
+ }
+
+ /* 中间图片区(约50%)*/
+ .middle {
+ height: 50%;
+ background: #f8f6f4; /* 浅灰白色 */
+ position: relative;
+ display: flex;
+ align-items: flex-start;
+ justify-content: center;
+ overflow: hidden;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+ }
+
+ /* 底部文字区(约25%)*/
+ .bottom {
+ height: 25%;
+ background: #e8d5cc; /* 与顶部相同颜色 */
+ position: relative;
+ display: flex;
+ align-items: flex-start;
+ justify-content: center;
+ padding: 0px;
+ }
+
+ .bottom-decoration {
+ position: absolute;
+ opacity: 0.3;
+ }
+
+ .bottom-decoration.leaf-right {
+ right: 40px;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 100px;
+ height: 100px;
+ background: radial-gradient(circle, transparent 40%, #f5e8e0 40%, #f5e8e0 45%, transparent 45%);
+ border-radius: 50% 50% 50% 0;
+ clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
+ }
+
+ .bottom-text {
+ text-align: center;
+ z-index: 2;
+ font-size: 52px;
+ font-weight: 400;
+ color: #ffffff;
+ font-family: 'Brush Script MT', 'KaiTi', cursive; /* 手写体风格 */
+ font-style: italic;
+ text-shadow: 0 2px 10px rgba(0,0,0,0.15);
+ letter-spacing: 2px;
+ }
+
+ @media (max-width: 1080px) {
+ .main-title { font-size: 76px; }
+ .subtitle { font-size: 36px; }
+ .bottom-text { font-size: 44px; }
+ }
+ </style>
+</head>
+<body>
+ <!-- 顶部标题区 -->
+ <div class="top">
+ <div class="decoration leaf-left"></div>
+ <div class="decoration wave-right"></div>
+ <div class="title-section">
+ <div class="main-title">{{title}}</div>
+ </div>
+ </div>
+
+ <!-- 中间图片区 -->
+ <div class="middle">
+ <div class="image-container">
+ <img src="{{image}}" alt="内容图片">
+ </div>
+ </div>
+
+ <!-- 底部文字区 -->
+ <div class="bottom">
+ <div class="bottom-decoration leaf-right"></div>
+ <div class="bottom-text">{{text}}</div>
+ </div>
+</body>
+</html>
+
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_full.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_full.html
new file mode 100644
index 0000000..2ff1472
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_full.html
@@ -0,0 +1,173 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>全屏图片 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ position: relative;
+ background: transparent; /* 移除黑色背景 */
+ }
+
+ /* 背景使用图片并做模糊处理,完全覆盖整个页面 */
+ .bg {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ background-image: url("{{image}}");
+ background-size: cover;
+ background-position: center;
+ z-index: 0;
+ }
+
+ .title {
+ position: absolute;
+ top: 300px;
+ width: 100%;
+ text-align: center;
+ font-size: 92px;
+ font-weight: 800;
+ line-height: 1.2;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.6),
+ -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ /* 使用 Ma Shan Zheng 毛笔字体 */
+ font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive;
+ letter-spacing: 4px;
+ }
+
+ /* 底部字幕覆盖在图片底部 */
+ .text {
+ position: absolute;
+ bottom: 300px;
+ width: 100%; /* 稍微调整以适应全宽图片 */
+ padding: 0 60px;
+ text-align: center;
+ font-size: 40px;
+ font-weight: 400;
+ line-height: 1.2;
+ color: #ffffff;
+ font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif;
+ letter-spacing: 2px;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.6),
+ -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+<body>
+ <div class="bg">
+ <div class="title">{{title}}</div>
+ <div class="text">{{text}}</div>
+ </div>
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_healing.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_healing.html
new file mode 100644
index 0000000..ba83453
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_healing.html
@@ -0,0 +1,150 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>疗愈 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link
+ href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap"
+ rel="stylesheet">
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html,
+ body {
+ width: 1080px;
+ height: 1920px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ position: relative;
+ background: #e8e5e0;
+ background-image: url("{{image}}");
+ background-size: cover;
+ background-position: center;
+ display: flex;
+ flex-direction: column;
+ }
+
+ /* 背景遮罩层 */
+ /* body::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: rgba(232, 229, 224, 0.85);
+ backdrop-filter: blur(5px);
+ -webkit-backdrop-filter: blur(5x);
+ z-index: 0;
+ } */
+
+ /* 顶部标题 */
+ .title {
+ position: absolute;
+ width: 500px;
+ top: 40%;
+ transform: translateY(-50%);
+ right: 60px;
+ z-index: 1;
+ }
+
+ .title-content {
+ font-size: 80px;
+ font-weight: 600;
+ font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', cursive;
+ color: #2a2a2a;
+ letter-spacing: 8px;
+ text-align: right;
+ padding-bottom: 15px;
+ border-bottom: 2px solid #2a2a2a;
+ text-shadow: -1px -1px 0 #ddd,
+ 1px -1px 0 #ddd,
+ -1px 1px 0 #ddd,
+ 1px 1px 0 #ddd;
+ }
+
+ /* 作者 */
+ .author {
+ z-index: 1;
+ text-align: right;
+ font-size: 32px;
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ font-weight: 400;
+ text-shadow: -1px -1px 0 #ddd,
+ 1px -1px 0 #ddd,
+ -1px 1px 0 #ddd,
+ 1px 1px 0 #ddd;
+ }
+
+ /* 正文区域 */
+ .text {
+ width: 100%;
+ position: absolute;
+ font-size: 46px;
+ font-weight: 400;
+ line-height: 2.0;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ color: #ffffff;
+ text-align: justify;
+ text-indent: 2em;
+ letter-spacing: 1px;
+ white-space: pre-line;
+ top: 70%;
+ text-align: center;
+ text-shadow: -1px -1px 0 #222,
+ 1px -1px 0 #222,
+ -1px 1px 0 #222,
+ 1px 1px 0 #222;
+ padding: 0 100px;
+ }
+
+
+ .signature {
+ position: absolute;
+ font-size: 24px;
+ color: #333;
+ bottom: 20px;
+ right: 20px;
+ text-align: right;
+ text-shadow: -1px -1px 0 #ddd,
+ 1px -1px 0 #ddd,
+ -1px 1px 0 #ddd,
+ 1px 1px 0 #ddd;
+ }
+ </style>
+</head>
+
+<body>
+ <div class="title">
+ <div class="title-content">{{title}}</div>
+ </div>
+
+ <!-- 正文内容 -->
+ <div class="text">{{text}}</div>
+
+ <!-- 署名 -->
+ <div class="signature">{{signature=@Pixelle.AI}}</div>
+ <script>
+ const index = Number("{{index}}");
+
+ document.addEventListener('DOMContentLoaded', () => {
+ const titleElement = document.querySelector('.title');
+ titleElement.style.display = index > 1 ? 'none' : 'block';
+ });
+ </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_health_preservation.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_health_preservation.html
new file mode 100644
index 0000000..999bb1e
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_health_preservation.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>10个不花钱的养生习惯</title>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html, body {
+ width: 1080px;
+ height: 1920px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif;
+ position: relative;
+ background: linear-gradient(to bottom, #ffd700 0%, #ffc800 100%);
+ }
+
+ .header {
+ width: 100%;
+ height: 400px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
+ .title {
+ width: 100%;
+ font-size: 96px;
+ font-weight: 900;
+ font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC",
+ "Source Han Sans SC", "Heiti SC", sans-serif;
+ color: #000;
+ line-height: 1.1;
+ letter-spacing: 4px;
+ text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
+ text-align: center;
+ text-shadow: -2px -2px 0 #fff,
+ 2px -2px 0 #fff,
+ -2px 2px 0 #fff,
+ 2px 2px 0 #fff;
+ }
+
+ /* 内容区域 */
+ .content {
+ position: relative;
+ width: 100%;
+ height: 1540px;
+ display: flex;
+ justify-content: center;
+ align-items: flex-end;
+ background-image: url("{{image}}");
+ background-size: cover;
+ background-position: center;
+ }
+
+ .content::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: rgba(232, 229, 224, 0.85);
+ backdrop-filter: blur(5px);
+ -webkit-backdrop-filter: blur(5px);
+ z-index: 0;
+ }
+
+ .text {
+ position: absolute;
+ width: 100%;
+ bottom: 300px;
+ font-size: 50px;
+ font-weight: 600;
+ color: #492615;
+ line-height: 1.5;
+ font-family: "SimSun", "FangSong", "Noto Serif SC",
+ "STSong", "Songti SC", serif;
+ text-shadow: -1px -1px 0 #fff,
+ 1px -1px 0 #fff,
+ -1px 1px 0 #fff,
+ 1px 1px 0 #fff;
+ text-align: center;
+ padding: 0 50px;
+ }
+
+ .signature {
+ position: absolute;
+ font-size: 24px;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ color: #333;
+ bottom: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+ </style>
+</head>
+<body>
+ <div class="header">
+ <div class="title">{{title}}</div>
+ </div>
+ <div class="content">
+ </div>
+ <div class="text">{{text}}</div>
+ <!-- 署名 -->
+ <div class="signature">{{signature=@Pixelle.AI}}</div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights.html
new file mode 100644
index 0000000..0604970
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights.html
@@ -0,0 +1,146 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap" rel="stylesheet">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ height: 1920px;
+ background: #000000;
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ position: relative;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ /* 顶部标题区域 */
+ .top-title {
+ width: 100%;
+ text-align: center;
+ padding: 240px 60px 40px 60px;
+ box-sizing: border-box;
+ z-index: 1;
+ }
+
+ .top-title-text {
+ font-size: 80px;
+ font-weight: 400;
+ color: #FFFFFF;
+ letter-spacing: 2px;
+ font-family: 'Ma Shan Zheng', cursive;
+ }
+
+ /* 中间图片区域 */
+ .image-section {
+ width: 100%;
+ height: auto;
+ display: flex;
+ justify-content: center;
+ padding: 0 40px;
+ box-sizing: border-box;
+ position: relative;
+ z-index: 1;
+ }
+
+ .image-frame {
+ width: 1000px;
+ height: 800px;
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: #FFFFFF;
+ padding: 8px;
+ box-sizing: border-box;
+ }
+
+ /* 图片边框 - 白色,带老旧胶片感 */
+ .image-frame::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ border: 3px solid #FFFFFF;
+ border-radius: 0;
+ box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
+ z-index: 2;
+ pointer-events: none;
+ }
+
+ /* 图片容器 - 固定尺寸,强制裁剪 */
+ .image-container {
+ width: 984px;
+ height: 784px;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .image-container img {
+ width: 984px;
+ height: 784px;
+ object-fit: cover;
+ object-position: center;
+ display: block;
+ }
+
+ /* 底部文字区域 */
+ .bottom-text-section {
+ width: 100%;
+ padding: 0 60px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: flex-start;
+ z-index: 1;
+ }
+
+ /* 人生感悟 - 大红色粗体 */
+ .highlight-text {
+ font-size: 40px;
+ color: #FFFFFF;
+ font-weight: 400;
+ letter-spacing: 3px;
+ text-align: center;
+ line-height: 1.2;
+ font-family: 'ZCOOL KuaiLe', cursive;
+ }
+ </style>
+</head>
+<body>
+ <!-- 顶部标题 -->
+ <div class="top-title">
+ <div class="top-title-text">{{title}}</div>
+ </div>
+
+ <!-- 中间图片区域 -->
+ <div class="image-section">
+ <div class="image-frame">
+ <div class="image-container">
+ <img src="{{image}}" alt="Frame Image">
+ </div>
+ </div>
+ </div>
+
+ <!-- 底部文字区域 -->
+ <div class="bottom-text-section">
+ <div class="highlight-text">{{text}}</div>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights_light.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights_light.html
new file mode 100644
index 0000000..8aad2bf
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_life_insights_light.html
@@ -0,0 +1,230 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>人生感悟 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap" rel="stylesheet">
+ <style>
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body {
+ width: 1080px;
+ height: 1920px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ background: #F5F1E8; /* 浅色温暖的米黄色背景 */
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ overflow: hidden;
+ }
+
+ /* 背景花纹装饰层 */
+ .bg-pattern {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ pointer-events: none;
+ overflow: hidden;
+ }
+
+ /* 点状纹理图案 */
+ .dot-pattern {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-image:
+ radial-gradient(circle, rgba(120, 90, 70, 0.15) 1.5px, transparent 1.5px),
+ radial-gradient(circle, rgba(100, 75, 60, 0.12) 1px, transparent 1px);
+ background-size: 40px 40px, 80px 80px;
+ background-position: 0 0, 20px 20px;
+ opacity: 0.8;
+ }
+
+ /* 网格纹理图案 */
+ .grid-pattern {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-image:
+ linear-gradient(rgba(110, 85, 65, 0.12) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(110, 85, 65, 0.12) 1px, transparent 1px);
+ background-size: 60px 60px;
+ opacity: 0.7;
+ }
+
+ /* 装饰性圆形元素 */
+ .decorative-circle {
+ position: absolute;
+ border-radius: 50%;
+ border: 1.5px solid rgba(110, 85, 65, 0.15);
+ background: rgba(140, 110, 90, 0.08);
+ }
+
+ .circle-1 {
+ width: 400px;
+ height: 400px;
+ top: -150px;
+ right: -100px;
+ }
+
+ .circle-2 {
+ width: 300px;
+ height: 300px;
+ bottom: -100px;
+ left: -80px;
+ }
+
+ .circle-3 {
+ width: 200px;
+ height: 200px;
+ top: 50%;
+ left: -50px;
+ transform: translateY(-50%);
+ }
+
+ /* 波浪纹理(可选,更柔和) */
+ .wave-pattern {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-image:
+ repeating-linear-gradient(
+ 45deg,
+ transparent,
+ transparent 10px,
+ rgba(110, 85, 65, 0.08) 10px,
+ rgba(110, 85, 65, 0.08) 20px
+ );
+ opacity: 0.6;
+ }
+
+ /* 顶部标题区域 */
+ .header {
+ margin-top: 200px;
+ text-align: center;
+ position: relative;
+ z-index: 2;
+ }
+
+ .title {
+ font-size: 80px;
+ font-weight: 900;
+ line-height: 1.4;
+ color: #1A1611; /* 深棕色/黑色 */
+ letter-spacing: 3px;
+ text-shadow:
+ 1px 1px 0 rgba(0, 0, 0, 0.2),
+ 2px 2px 2px rgba(0, 0, 0, 0.15);
+ /* 模拟略微纹理效果 */
+ background: linear-gradient(135deg, #1A1611 0%, #2C2416 50%, #1A1611 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ filter: contrast(1.1) brightness(0.9);
+ }
+
+ .content {
+ display: flex;
+ flex: 1;
+ justify-content: center;
+ align-items: center;
+ position: relative;
+ z-index: 2;
+ }
+
+ .content img {
+ width: 600px;
+ height: 600px;
+ object-fit: contain;
+ position: relative;
+ z-index: 1;
+ }
+
+ /* 底部文字区域 */
+ .bottom-section {
+ /* padding: 60px 80px 160px; */
+ padding: 0 40px;
+ text-align: center;
+ position: relative;
+ z-index: 2;
+ margin-bottom: 200px;
+ }
+
+ .content-text {
+ font-size: 50px;
+ font-weight: 400;
+ color: #000;
+ line-height: 1.8;
+ margin-bottom: 30px;
+ }
+
+ .author {
+ width: 100%;
+ font-size: 30px;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ margin : 0 20px 20px 0;
+ text-align: right;
+ position: relative;
+ z-index: 2;
+ }
+ </style>
+</head>
+<body>
+ <!-- 背景花纹层 -->
+ <div class="bg-pattern">
+ <!-- 点状纹理 -->
+ <div class="dot-pattern"></div>
+ <!-- 网格纹理 -->
+ <div class="grid-pattern"></div>
+ <!-- 波浪纹理(可选,如需更柔和效果可取消注释) -->
+ <!-- <div class="wave-pattern"></div> -->
+ <!-- 装饰性圆形 -->
+ <div class="decorative-circle circle-1"></div>
+ <div class="decorative-circle circle-2"></div>
+ <div class="decorative-circle circle-3"></div>
+ </div>
+
+ <!-- 顶部标题 -->
+ <div class="header">
+ <div class="title">{{title}}</div>
+ </div>
+
+ <!-- 中央插图 -->
+ <div class="content">
+ <img
+ src="{{image}}"
+ />
+ </div>
+
+ <!-- 底部文字 -->
+ <div class="bottom-section">
+ <div class="content-text">{{text}}</div>
+ </div>
+
+ <div class="author">{{author=@Pixelle.AI}}</div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_long_text.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_long_text.html
new file mode 100644
index 0000000..4844351
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_long_text.html
@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>长文本 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ 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;
+ }
+
+ /* 背景遮罩层 */
+ body::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: rgba(220, 220, 220, 0.75);
+ backdrop-filter: blur(8px);
+ -webkit-backdrop-filter: blur(8px);
+ z-index: 0;
+ }
+
+ /* 顶部标题 */
+ .title {
+ position: relative;
+ z-index: 1;
+ font-size: 110px;
+ font-weight: 900;
+ line-height: 1.2;
+ font-family: 'Noto Sans SC', sans-serif;
+ color: #000;
+ letter-spacing: 0;
+ text-align: center;
+ margin-top: 80px;
+ margin-bottom: 100px;
+ /* 白色描边 */
+ text-shadow: -2px -2px 0 #fff,
+ 2px -2px 0 #fff,
+ -2px 2px 0 #fff,
+ 2px 2px 0 #fff;
+ }
+
+ /* 正文区域 */
+ .content {
+ width: 100%;
+ position: relative;
+ z-index: 1;
+ font-size: 56px;
+ font-weight: 400;
+ line-height: 4;
+ font-family: 'Noto Sans SC', 'Noto Serif SC', serif;
+ color: #000;
+ text-align: center;
+ letter-spacing: 0.5px;
+ /* 白色描边 */
+ text-shadow: -1px -1px 0 #fff,
+ 1px -1px 0 #fff,
+ -1px 1px 0 #fff,
+ 1px 1px 0 #fff;
+ /* 保留换行符 */
+ white-space: pre-line;
+ }
+
+ .content p {
+ margin-bottom: 0;
+ }
+
+ .author {
+ position: absolute;
+ font-size: 24px;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ color: #333;
+ bottom: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+ </style>
+</head>
+<body>
+ <!-- 标题 -->
+ <div class="title">{{title}}</div>
+
+ <!-- 正文 -->
+ <div class="content">{{text}}</div>
+
+ <!-- 作者 -->
+ <div class="author">{{author=@Pixelle.AI}}</div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_modern.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_modern.html
new file mode 100644
index 0000000..de4217a
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_modern.html
@@ -0,0 +1,574 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ background: {{accent_color:color=#764ba2}};
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .page-container {
+ width: 1080px;
+ height: 1920px;
+ padding: 60px 60px 70px 60px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ position: relative;
+ z-index: 1;
+ }
+
+ /* Background decorative shapes */
+ .bg-decoration {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ overflow: hidden;
+ pointer-events: none;
+ }
+
+ /* Dot pattern background */
+ .dot-pattern {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-image:
+ radial-gradient(circle, rgba(255, 255, 255, 0.08) 2px, transparent 2px);
+ background-size: 60px 60px;
+ opacity: 0.4;
+ }
+
+ .circle-1 {
+ position: absolute;
+ width: 450px;
+ height: 450px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.06);
+ top: -180px;
+ right: -120px;
+ border: 3px solid rgba(255, 255, 255, 0.1);
+ }
+
+ .circle-2 {
+ position: absolute;
+ width: 350px;
+ height: 350px;
+ border-radius: 50%;
+ background: rgba(106, 17, 203, 0.2);
+ bottom: 80px;
+ left: -100px;
+ }
+
+ .circle-3 {
+ position: absolute;
+ width: 200px;
+ height: 200px;
+ border-radius: 50%;
+ border: 4px solid rgba(78, 205, 196, 0.25);
+ background: transparent;
+ top: 40%;
+ left: 50px;
+ }
+
+ .triangle {
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-left: 180px solid transparent;
+ border-right: 180px solid transparent;
+ border-bottom: 310px solid rgba(255, 255, 255, 0.04);
+ top: 45%;
+ right: -80px;
+ transform: rotate(30deg);
+ }
+
+ .square-1 {
+ position: absolute;
+ width: 120px;
+ height: 120px;
+ background: rgba(255, 107, 157, 0.08);
+ top: 20%;
+ left: -40px;
+ transform: rotate(45deg);
+ }
+
+ .square-2 {
+ position: absolute;
+ width: 80px;
+ height: 80px;
+ border: 3px solid rgba(255, 255, 255, 0.15);
+ background: transparent;
+ bottom: 30%;
+ right: 60px;
+ transform: rotate(15deg);
+ }
+
+ /* Diagonal lines */
+ .line-1, .line-2, .line-3 {
+ position: absolute;
+ height: 2px;
+ background: rgba(255, 255, 255, 0.1);
+ }
+
+ .line-1 {
+ width: 300px;
+ top: 15%;
+ left: 100px;
+ transform: rotate(-15deg);
+ }
+
+ .line-2 {
+ width: 200px;
+ top: 60%;
+ right: 150px;
+ transform: rotate(25deg);
+ }
+
+ .line-3 {
+ width: 250px;
+ bottom: 15%;
+ left: 150px;
+ transform: rotate(-10deg);
+ }
+
+ /* Header with icon decoration */
+ .video-title-wrapper {
+ position: relative;
+ text-align: center;
+ }
+
+ .video-title-decoration {
+ position: absolute;
+ top: -30px;
+ left: 50%;
+ transform: translateX(-50%);
+ display: flex;
+ gap: 8px;
+ }
+
+ .video-title-dot {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ }
+
+ .video-title-dot:nth-child(1) { background: #FF6B9D; }
+ .video-title-dot:nth-child(2) { background: #4ECDC4; }
+ .video-title-dot:nth-child(3) { background: #FFE66D; }
+
+ .video-title {
+ font-size: {{title_font_size:number=72}}px;
+ font-weight: bold;
+ color: white;
+ line-height: 1.3;
+ text-shadow: 0 2px 8px rgba(0,0,0,0.2);
+ padding: 20px 0;
+ position: relative;
+ display: inline-block;
+ }
+
+ .video-title::before,
+ .video-title::after {
+ content: '';
+ position: absolute;
+ width: 70px;
+ height: 5px;
+ background: rgba(255, 255, 255, 0.4);
+ top: 50%;
+ }
+
+ .video-title::before {
+ left: -90px;
+ }
+
+ .video-title::after {
+ right: -90px;
+ }
+
+ /* Bookmark decoration */
+ .bookmark-deco {
+ position: absolute;
+ top: 0;
+ right: 80px;
+ }
+
+ /* Image container with corner decorations */
+ .image-wrapper {
+ position: relative;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 900px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ border-radius: 15px;
+ object-fit: cover;
+ }
+
+ /* Corner decorations for image */
+ .corner-deco {
+ position: absolute;
+ width: 60px;
+ height: 60px;
+ border: 4px solid rgba(255, 255, 255, 0.6);
+ z-index: 2;
+ }
+
+ .corner-deco.top-left {
+ top: -15px;
+ left: -15px;
+ border-right: none;
+ border-bottom: none;
+ border-radius: 15px 0 0 0;
+ }
+
+ .corner-deco.bottom-right {
+ bottom: -15px;
+ right: -15px;
+ border-left: none;
+ border-top: none;
+ border-radius: 0 0 15px 0;
+ }
+
+ .corner-deco.top-right {
+ top: -15px;
+ right: -15px;
+ border-left: none;
+ border-bottom: none;
+ border-radius: 0 15px 0 0;
+ width: 30px;
+ height: 30px;
+ border-color: rgba(78, 205, 196, 0.6);
+ }
+
+ .corner-deco.bottom-left {
+ bottom: -15px;
+ left: -15px;
+ border-right: none;
+ border-top: none;
+ border-radius: 0 0 0 15px;
+ width: 30px;
+ height: 30px;
+ border-color: rgba(255, 107, 157, 0.6);
+ }
+
+ /* Side badges */
+ .side-badge-left, .side-badge-right {
+ position: absolute;
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+ }
+
+ .side-badge-left {
+ left: -25px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .side-badge-right {
+ right: -25px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .badge-circle {
+ width: 16px;
+ height: 16px;
+ border-radius: 50%;
+ border: 3px solid rgba(255, 255, 255, 0.4);
+ background: transparent;
+ }
+
+ .badge-circle.filled {
+ background: rgba(255, 255, 255, 0.5);
+ }
+
+ /* Quote icon using SVG */
+ .text-wrapper {
+ position: relative;
+ }
+
+ .text {
+ font-size: 44px;
+ color: white;
+ text-align: center;
+ line-height: 1.8;
+ padding: 30px 60px;
+ position: relative;
+ height: 237.6px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .quote-icon-left {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ opacity: 0.25;
+ transform: rotate(180deg);
+ }
+
+ .quote-icon-right {
+ position: absolute;
+ bottom: 0px;
+ right: 0px;
+ opacity: 0.25;
+ }
+
+ /* Accent bars beside text */
+ .accent-bar-left, .accent-bar-right {
+ position: absolute;
+ width: 6px;
+ height: 150px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .accent-bar-left {
+ left: 20px;
+ background: rgba(78, 205, 196, 0.5);
+ }
+
+ .accent-bar-right {
+ right: 20px;
+ background: rgba(255, 107, 157, 0.5);
+ }
+
+ /* Footer with icon */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 20px 5px;
+ border-top: 2px solid rgba(255, 255, 255, 0.3);
+ position: relative;
+ }
+
+ .footer::before {
+ content: '';
+ position: absolute;
+ top: -4px;
+ left: 0;
+ width: 120px;
+ height: 4px;
+ background: rgba(255, 255, 255, 0.7);
+ }
+
+ .footer::after {
+ content: '';
+ position: absolute;
+ top: -4px;
+ right: 0;
+ width: 60px;
+ height: 4px;
+ background: rgba(78, 205, 196, 0.6);
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ }
+
+ .author-name {
+ font-size: 34px;
+ font-weight: bold;
+ color: white;
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ }
+
+ .author-badges {
+ display: flex;
+ gap: 6px;
+ align-items: center;
+ }
+
+ .author-badge {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ box-shadow: 0 0 10px currentColor;
+ }
+
+ .author-badge.cyan {
+ background: #4ECDC4;
+ color: #4ECDC4;
+ }
+
+ .author-badge.pink {
+ background: #FF6B9D;
+ color: #FF6B9D;
+ }
+
+ .author-desc {
+ font-size: 24px;
+ color: rgba(255, 255, 255, 0.85);
+ line-height: 1.3;
+ }
+
+ .logo-wrapper {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 5px;
+ }
+
+ .logo {
+ font-size: 26px;
+ font-weight: bold;
+ color: rgba(255, 255, 255, 0.7);
+ letter-spacing: 1px;
+ position: relative;
+ }
+
+ .logo::before {
+ content: '';
+ position: absolute;
+ left: -18px;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 10px;
+ height: 10px;
+ background: #FFE66D;
+ border-radius: 50%;
+ }
+
+ .logo-dots {
+ display: flex;
+ gap: 4px;
+ }
+
+ .logo-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.4);
+ }
+
+ </style>
+</head>
+<body>
+ <!-- Background decorations -->
+ <div class="bg-decoration">
+ <div class="dot-pattern"></div>
+ <div class="circle-1"></div>
+ <div class="circle-2"></div>
+ <div class="circle-3"></div>
+ <div class="triangle"></div>
+ <div class="square-1"></div>
+ <div class="square-2"></div>
+ <div class="line-1"></div>
+ <div class="line-2"></div>
+ <div class="line-3"></div>
+ </div>
+
+ <div class="page-container">
+ <div class="video-title-wrapper">
+ <div class="video-title-decoration">
+ <div class="video-title-dot"></div>
+ <div class="video-title-dot"></div>
+ <div class="video-title-dot"></div>
+ </div>
+
+ <!-- Bookmark decoration -->
+ <svg class="bookmark-deco" width="50" height="70" viewBox="0 0 24 32" fill="rgba(255, 230, 109, 0.6)">
+ <path d="M2 0h20v32l-10-6-10 6V0z"/>
+ </svg>
+
+ <div class="video-title">{{title}}</div>
+ </div>
+
+ <div class="image-wrapper">
+ <div class="corner-deco top-left"></div>
+ <div class="corner-deco bottom-right"></div>
+ <div class="corner-deco top-right"></div>
+ <div class="corner-deco bottom-left"></div>
+
+ <!-- Side badges -->
+ <div class="side-badge-left">
+ <div class="badge-circle filled"></div>
+ <div class="badge-circle"></div>
+ <div class="badge-circle"></div>
+ </div>
+ <div class="side-badge-right">
+ <div class="badge-circle"></div>
+ <div class="badge-circle filled"></div>
+ <div class="badge-circle"></div>
+ </div>
+
+ <div class="image-container">
+ <img src="{{image}}" alt="Frame Image">
+ </div>
+ </div>
+
+ <div class="text-wrapper">
+ <!-- Quote SVG icons -->
+ <svg class="quote-icon-left" width="90" height="90" viewBox="0 0 24 24" fill="white">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+ <svg class="quote-icon-right" width="90" height="90" viewBox="0 0 24 24" fill="white">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+
+ <!-- Accent bars -->
+ <div class="accent-bar-left"></div>
+ <div class="accent-bar-right"></div>
+
+ <div class="text">{{text}}</div>
+ </div>
+
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <div class="author-badges">
+ <div class="author-badge cyan"></div>
+ <div class="author-badge pink"></div>
+ </div>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-wrapper">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-dots">
+ <div class="logo-dot"></div>
+ <div class="logo-dot"></div>
+ <div class="logo-dot"></div>
+ <div class="logo-dot"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_neon.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_neon.html
new file mode 100644
index 0000000..b1154b5
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_neon.html
@@ -0,0 +1,938 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8" />
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>{{title}}</title>
+ <style>
+ :root {
+ --bg: #0b0f1a;
+ --fg: #eaf6ff;
+ --muted: #9fb6c6;
+ --accent: #3cf0ff;
+ --accent2: #ff3fe0;
+ --accent3: #f0e130;
+ --card-bg: rgba(12, 14, 20, 0.5);
+ --border: rgba(255, 255, 255, 0.12);
+ }
+
+ html, body {
+ height: 100%;
+ margin: 0;
+ background: var(--bg);
+ color: var(--fg);
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ overflow: hidden;
+ }
+
+ body {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ }
+
+ .frame {
+ position: relative;
+ width: 1080px;
+ height: 1920px;
+ margin: 0 auto;
+ display: grid;
+ grid-template-rows: 15% 53% 18% 14%;
+ gap: 22px;
+ padding: 80px 40px 50px 40px;
+ box-sizing: border-box;
+ box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
+ z-index: 1;
+ }
+
+ /* Background decorations */
+ .background-glow {
+ position: absolute;
+ inset: 0;
+ pointer-events: none;
+ z-index: 0;
+ overflow: hidden;
+ }
+
+ /* Grid pattern */
+ .grid-pattern {
+ position: absolute;
+ inset: 0;
+ background-image:
+ linear-gradient(rgba(60, 240, 255, 0.05) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(60, 240, 255, 0.05) 1px, transparent 1px);
+ background-size: 50px 50px;
+ opacity: 0.3;
+ }
+
+ /* Scan lines */
+ .scan-line {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ height: 2px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(60, 240, 255, 0.6) 50%,
+ transparent);
+ box-shadow: 0 0 10px rgba(60, 240, 255, 0.5);
+ }
+
+ .scan-line:nth-child(1) { top: 15%; }
+ .scan-line:nth-child(2) { top: 45%; }
+ .scan-line:nth-child(3) { top: 75%; }
+
+ /* Neon rings */
+ .neon-ring {
+ position: absolute;
+ border-radius: 50%;
+ border: 2px solid rgba(60, 240, 255, 0.3);
+ box-shadow:
+ 0 0 20px rgba(60, 240, 255, 0.4),
+ inset 0 0 20px rgba(60, 240, 255, 0.2);
+ }
+
+ .neon-ring.ring-1 {
+ width: 400px;
+ height: 400px;
+ top: 10%;
+ right: -150px;
+ border-color: rgba(60, 240, 255, 0.25);
+ }
+
+ .neon-ring.ring-2 {
+ width: 300px;
+ height: 300px;
+ bottom: 15%;
+ left: -100px;
+ border-color: rgba(255, 63, 224, 0.25);
+ box-shadow:
+ 0 0 20px rgba(255, 63, 224, 0.4),
+ inset 0 0 20px rgba(255, 63, 224, 0.2);
+ }
+
+ .neon-ring.ring-3 {
+ width: 200px;
+ height: 200px;
+ top: 50%;
+ left: 80px;
+ border-color: rgba(240, 225, 48, 0.2);
+ box-shadow:
+ 0 0 20px rgba(240, 225, 48, 0.3),
+ inset 0 0 20px rgba(240, 225, 48, 0.15);
+ }
+
+ /* Corner neon circles */
+ .corner-circle {
+ position: absolute;
+ width: 150px;
+ height: 150px;
+ border-radius: 50%;
+ }
+
+ .corner-circle.tl {
+ left: -50px;
+ top: -50px;
+ border: 3px solid rgba(60, 240, 255, 0.5);
+ box-shadow:
+ 0 0 30px rgba(60, 240, 255, 0.4),
+ inset 0 0 30px rgba(60, 240, 255, 0.15);
+ }
+
+ .corner-circle.tl::before {
+ content: '';
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 80%;
+ height: 80%;
+ border-radius: 50%;
+ border: 2px solid rgba(60, 240, 255, 0.3);
+ box-shadow: 0 0 20px rgba(60, 240, 255, 0.3);
+ }
+
+ .corner-circle.tl::after {
+ content: '';
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 50%;
+ height: 50%;
+ border-radius: 50%;
+ background: rgba(60, 240, 255, 0.15);
+ box-shadow:
+ 0 0 25px rgba(60, 240, 255, 0.5),
+ inset 0 0 15px rgba(60, 240, 255, 0.3);
+ animation: circlePulse 3s ease-in-out infinite;
+ }
+
+ .corner-circle.br {
+ right: -50px;
+ bottom: -50px;
+ border: 3px solid rgba(255, 63, 224, 0.5);
+ box-shadow:
+ 0 0 30px rgba(255, 63, 224, 0.4),
+ inset 0 0 30px rgba(255, 63, 224, 0.15);
+ }
+
+ .corner-circle.br::before {
+ content: '';
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 80%;
+ height: 80%;
+ border-radius: 50%;
+ border: 2px solid rgba(255, 63, 224, 0.3);
+ box-shadow: 0 0 20px rgba(255, 63, 224, 0.3);
+ }
+
+ .corner-circle.br::after {
+ content: '';
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 50%;
+ height: 50%;
+ border-radius: 50%;
+ background: rgba(255, 63, 224, 0.15);
+ box-shadow:
+ 0 0 25px rgba(255, 63, 224, 0.5),
+ inset 0 0 15px rgba(255, 63, 224, 0.3);
+ animation: circlePulse 3s ease-in-out infinite 1.5s;
+ }
+
+ @keyframes circlePulse {
+ 0%, 100% {
+ opacity: 0.6;
+ transform: translate(-50%, -50%) scale(1);
+ }
+ 50% {
+ opacity: 1;
+ transform: translate(-50%, -50%) scale(1.1);
+ }
+ }
+
+ /* Neon squares */
+ .neon-square {
+ position: absolute;
+ border: 2px solid;
+ transform: rotate(45deg);
+ }
+
+ .neon-square.sq-1 {
+ width: 100px;
+ height: 100px;
+ top: 20%;
+ left: -30px;
+ border-color: rgba(60, 240, 255, 0.3);
+ box-shadow: 0 0 20px rgba(60, 240, 255, 0.4);
+ }
+
+ .neon-square.sq-2 {
+ width: 70px;
+ height: 70px;
+ bottom: 25%;
+ right: 50px;
+ border-color: rgba(255, 63, 224, 0.3);
+ box-shadow: 0 0 20px rgba(255, 63, 224, 0.4);
+ }
+
+ /* Neon particles */
+ .particle {
+ position: absolute;
+ width: 4px;
+ height: 4px;
+ border-radius: 50%;
+ background: rgba(60, 240, 255, 0.8);
+ box-shadow: 0 0 10px rgba(60, 240, 255, 1);
+ }
+
+ .particle.p1 { top: 10%; left: 20%; }
+ .particle.p2 { top: 30%; right: 15%; background: rgba(255, 63, 224, 0.8); box-shadow: 0 0 10px rgba(255, 63, 224, 1); }
+ .particle.p3 { top: 60%; left: 10%; }
+ .particle.p4 { bottom: 20%; right: 25%; background: rgba(240, 225, 48, 0.8); box-shadow: 0 0 10px rgba(240, 225, 48, 1); }
+ .particle.p5 { bottom: 35%; left: 30%; }
+
+ /* Diagonal lines */
+ .neon-line {
+ position: absolute;
+ height: 2px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(60, 240, 255, 0.4) 50%,
+ transparent);
+ box-shadow: 0 0 8px rgba(60, 240, 255, 0.4);
+ }
+
+ .neon-line.line-1 {
+ width: 300px;
+ top: 25%;
+ left: 100px;
+ transform: rotate(-15deg);
+ }
+
+ .neon-line.line-2 {
+ width: 250px;
+ top: 65%;
+ right: 150px;
+ transform: rotate(20deg);
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(255, 63, 224, 0.4) 50%,
+ transparent);
+ box-shadow: 0 0 8px rgba(255, 63, 224, 0.4);
+ }
+
+ /* Header section */
+ .header {
+ position: relative;
+ z-index: 1;
+ display: grid;
+ grid-template-rows: auto 1fr;
+ gap: 12px;
+ padding: 10px 0;
+ }
+
+ .header::before {
+ content: '';
+ position: absolute;
+ top: -15px;
+ left: 20%;
+ right: 20%;
+ height: 3px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(60, 240, 255, 0.8) 50%,
+ transparent);
+ box-shadow: 0 0 12px rgba(60, 240, 255, 0.8);
+ }
+
+ .header::after {
+ content: '';
+ position: absolute;
+ bottom: -15px;
+ left: 30%;
+ right: 30%;
+ height: 2px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(255, 63, 224, 0.7) 50%,
+ transparent);
+ box-shadow: 0 0 10px rgba(255, 63, 224, 0.7);
+ }
+
+ .title {
+ margin: 0;
+ font-size: 68px;
+ font-weight: 800;
+ line-height: 1.15;
+ letter-spacing: 0.5px;
+ color: var(--fg);
+ overflow-wrap: anywhere;
+ word-break: break-word;
+ text-shadow:
+ 0 0 6px rgba(60, 240, 255, 0.6),
+ 0 0 18px rgba(60, 240, 255, 0.35),
+ 0 0 32px rgba(255, 63, 224, 0.25);
+ animation: glowPulse 3.6s ease-in-out infinite;
+ text-align: center;
+ position: relative;
+ }
+
+ .title::before,
+ .title::after {
+ content: '';
+ position: absolute;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ top: 0;
+ background: var(--accent);
+ box-shadow: 0 0 12px var(--accent);
+ }
+
+ .title::before { left: -20px; }
+ .title::after { right: -20px; background: var(--accent2); box-shadow: 0 0 12px var(--accent2); }
+
+ .title-meta {
+ display: flex;
+ gap: 12px;
+ align-items: center;
+ justify-content: center;
+ flex-wrap: wrap;
+ }
+
+ .chip {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 8px 14px;
+ font-size: 22px;
+ line-height: 1.2;
+ color: #dff7ff;
+ border: 2px solid rgba(60, 240, 255, 0.4);
+ border-radius: 999px;
+ background: transparent;
+ box-shadow: 0 0 15px rgba(60, 240, 255, 0.3);
+ }
+ .chip .dot {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: rgba(60, 240, 255, 1);
+ box-shadow: 0 0 16px rgba(60, 240, 255, 0.9);
+ }
+ .chip .dot.pink {
+ background: rgba(255, 63, 224, 1);
+ box-shadow: 0 0 16px rgba(255, 63, 224, 0.9);
+ }
+ .chip .dot.yellow {
+ background: rgba(240, 225, 48, 1);
+ box-shadow: 0 0 16px rgba(240, 225, 48, 0.9);
+ }
+
+ @keyframes glowPulse {
+ 0%, 100% {
+ text-shadow:
+ 0 0 6px rgba(60, 240, 255, 0.6),
+ 0 0 18px rgba(60, 240, 255, 0.35),
+ 0 0 32px rgba(255, 63, 224, 0.25);
+ }
+ 50% {
+ text-shadow:
+ 0 0 8px rgba(60, 240, 255, 0.85),
+ 0 0 26px rgba(60, 240, 255, 0.55),
+ 0 0 48px rgba(255, 63, 224, 0.35);
+ }
+ }
+ @media (prefers-reduced-motion: reduce) {
+ .title { animation: none; }
+ }
+
+ /* Media section */
+ .media {
+ position: relative;
+ z-index: 1;
+ border-radius: 28px;
+ overflow: hidden;
+ border: 2px solid;
+ border-image: linear-gradient(135deg,
+ rgba(60, 240, 255, 0.5),
+ rgba(255, 63, 224, 0.5)) 1;
+ background: rgba(15, 18, 28, 0.4);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ box-shadow:
+ 0 24px 48px rgba(0, 0, 0, 0.55),
+ 0 0 60px rgba(60, 240, 255, 0.15);
+ }
+
+ .media::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ border-radius: 26px;
+ border: 2px solid rgba(60, 240, 255, 0.3);
+ pointer-events: none;
+ z-index: 1;
+ }
+
+ /* Corner indicators */
+ .corner-indicator {
+ position: absolute;
+ width: 30px;
+ height: 30px;
+ z-index: 2;
+ }
+
+ .corner-indicator.tl {
+ top: 15px;
+ left: 15px;
+ border-top: 3px solid var(--accent);
+ border-left: 3px solid var(--accent);
+ box-shadow: 0 0 10px var(--accent);
+ }
+
+ .corner-indicator.tr {
+ top: 15px;
+ right: 15px;
+ border-top: 3px solid var(--accent2);
+ border-right: 3px solid var(--accent2);
+ box-shadow: 0 0 10px var(--accent2);
+ }
+
+ .corner-indicator.bl {
+ bottom: 15px;
+ left: 15px;
+ border-bottom: 3px solid var(--accent2);
+ border-left: 3px solid var(--accent2);
+ box-shadow: 0 0 10px var(--accent2);
+ }
+
+ .corner-indicator.br {
+ bottom: 15px;
+ right: 15px;
+ border-bottom: 3px solid var(--accent);
+ border-right: 3px solid var(--accent);
+ box-shadow: 0 0 10px var(--accent);
+ }
+
+ /* Side badges */
+ .media-badge {
+ position: absolute;
+ display: flex;
+ flex-direction: column;
+ gap: 15px;
+ z-index: 2;
+ }
+
+ .media-badge.left {
+ left: -25px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .media-badge.right {
+ right: -25px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .badge-dot {
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ background: rgba(60, 240, 255, 0.3);
+ border: 2px solid rgba(60, 240, 255, 0.6);
+ box-shadow: 0 0 12px rgba(60, 240, 255, 0.6);
+ }
+
+ .badge-dot.active {
+ background: rgba(60, 240, 255, 0.8);
+ border-color: rgba(60, 240, 255, 1);
+ }
+
+ .badge-dot.pink {
+ background: rgba(255, 63, 224, 0.3);
+ border-color: rgba(255, 63, 224, 0.6);
+ box-shadow: 0 0 12px rgba(255, 63, 224, 0.6);
+ }
+
+ .badge-dot.pink.active {
+ background: rgba(255, 63, 224, 0.8);
+ border-color: rgba(255, 63, 224, 1);
+ }
+
+ .media img {
+ width: 100%;
+ height: 100%;
+ max-width: 100%;
+ max-height: 100%;
+ object-fit: cover;
+ display: block;
+ }
+
+ /* Caption section */
+ .caption {
+ position: relative;
+ z-index: 1;
+ display: grid;
+ grid-template-columns: 12px 1fr 12px;
+ align-items: center;
+ gap: 18px;
+ padding: 35px 10px 20px 10px;
+ }
+
+ .caption::before {
+ content: '';
+ position: absolute;
+ top: -20px;
+ left: 25%;
+ right: 25%;
+ height: 3px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(60, 240, 255, 0.7) 50%,
+ transparent);
+ box-shadow: 0 0 10px rgba(60, 240, 255, 0.7);
+ }
+
+ .caption::after {
+ content: '';
+ position: absolute;
+ bottom: -15px;
+ left: 20%;
+ right: 20%;
+ height: 2px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(255, 63, 224, 0.7) 50%,
+ transparent);
+ box-shadow: 0 0 10px rgba(255, 63, 224, 0.7);
+ }
+
+ .caption .accent-bar {
+ width: 8px;
+ height: 120px;
+ border-radius: 8px;
+ background: linear-gradient(180deg,
+ rgba(60, 240, 255, 0.95),
+ rgba(255, 63, 224, 0.95));
+ box-shadow:
+ 0 0 18px rgba(60, 240, 255, 0.8),
+ 0 0 36px rgba(255, 63, 224, 0.45);
+ animation: barPulse 2s ease-in-out infinite;
+ }
+
+ .caption .accent-bar-right {
+ width: 8px;
+ height: 120px;
+ border-radius: 8px;
+ background: linear-gradient(180deg,
+ rgba(255, 63, 224, 0.95),
+ rgba(240, 225, 48, 0.95));
+ box-shadow:
+ 0 0 18px rgba(255, 63, 224, 0.8),
+ 0 0 36px rgba(240, 225, 48, 0.45);
+ animation: barPulse 2s ease-in-out infinite 1s;
+ }
+
+ @keyframes barPulse {
+ 0%, 100% {
+ opacity: 1;
+ }
+ 50% {
+ opacity: 0.7;
+ }
+ }
+
+ /* Quote icons */
+ .quote-icon {
+ position: absolute;
+ opacity: 0.15;
+ z-index: 0;
+ }
+
+ .quote-icon.left {
+ top: -15px;
+ left: 40px;
+ transform: rotate(180deg);
+ }
+
+ .quote-icon.right {
+ bottom: -15px;
+ right: 40px;
+ }
+
+ .caption p {
+ margin: 0;
+ font-size: 42px;
+ line-height: 1.5;
+ color: #dff7ff;
+ overflow-wrap: anywhere;
+ word-break: break-word;
+ text-shadow: 0 0 8px rgba(60, 240, 255, 0.3);
+ position: relative;
+ z-index: 1;
+ height: 189px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ /* Footer section */
+ .footer {
+ position: relative;
+ z-index: 1;
+ display: grid;
+ grid-template-columns: 1fr 1.5fr 1fr;
+ align-items: start;
+ gap: 18px;
+ padding: 20px 10px 28px 10px;
+ overflow: visible;
+ }
+
+ .footer::before {
+ content: '';
+ position: absolute;
+ top: -15px;
+ left: 15%;
+ right: 15%;
+ height: 3px;
+ background: linear-gradient(90deg,
+ transparent,
+ rgba(240, 225, 48, 0.8) 50%,
+ transparent);
+ box-shadow: 0 0 12px rgba(240, 225, 48, 0.8);
+ }
+
+ .author {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-size: 28px;
+ color: var(--fg);
+ white-space: nowrap;
+ padding-top: 4px;
+ }
+
+ .author-badges {
+ display: flex;
+ gap: 6px;
+ }
+
+ .author-badge-dot {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ background: var(--accent);
+ box-shadow: 0 0 10px var(--accent);
+ }
+
+ .author-badge-dot.pink {
+ background: var(--accent2);
+ box-shadow: 0 0 10px var(--accent2);
+ }
+
+ .author .tag {
+ padding: 6px 10px;
+ border-radius: 10px;
+ border: 2px solid rgba(60, 240, 255, 0.5);
+ color: #bfefff;
+ background: transparent;
+ box-shadow: 0 0 15px rgba(60, 240, 255, 0.4);
+ font-size: 20px;
+ }
+
+ .slogan {
+ font-size: 26px;
+ text-align: center;
+ color: #dff7ff;
+ text-shadow: 0 0 10px rgba(60, 240, 255, 0.25);
+ overflow-wrap: anywhere;
+ word-break: break-word;
+ line-height: 1.4;
+ padding-top: 4px;
+ }
+
+ .cta {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 10px;
+ color: var(--muted);
+ font-size: 20px;
+ padding-top: 4px;
+ }
+ .cta .follow {
+ display: inline-flex;
+ align-items: center;
+ gap: 10px;
+ padding: 10px 14px;
+ border-radius: 999px;
+ background: transparent;
+ border: 2px solid rgba(255, 63, 224, 0.5);
+ color: #bfefff;
+ box-shadow: 0 0 15px rgba(255, 63, 224, 0.4);
+ font-size: 20px;
+ white-space: nowrap;
+ }
+ .cta .hashtags {
+ display: flex;
+ gap: 10px;
+ flex-wrap: wrap;
+ justify-content: flex-end;
+ }
+ .cta .hashtags span {
+ color: #9ad8ff;
+ text-shadow: 0 0 10px rgba(60, 240, 255, 0.18);
+ font-size: 20px;
+ line-height: 1.5;
+ }
+
+ /* Detail overlays */
+ .media::after {
+ content: "";
+ position: absolute;
+ inset: 0;
+ border-radius: inherit;
+ pointer-events: none;
+ box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.05);
+ z-index: 10;
+ }
+
+ /* Spine decoration */
+ .spine {
+ position: absolute;
+ left: 8px;
+ top: 50%;
+ transform: translateY(-50%) rotate(-90deg);
+ transform-origin: left top;
+ z-index: 1;
+ opacity: 0.9;
+ background: transparent;
+ border: 2px solid rgba(60, 240, 255, 0.5);
+ border-radius: 999px;
+ padding: 8px 14px;
+ color: #bfefff;
+ font-size: 20px;
+ letter-spacing: 2px;
+ text-shadow: 0 0 10px rgba(60, 240, 255, 0.6);
+ box-shadow: 0 0 20px rgba(60, 240, 255, 0.4);
+ white-space: nowrap;
+ }
+
+ .spine::before {
+ content: '';
+ position: absolute;
+ left: -8px;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: var(--accent);
+ box-shadow: 0 0 10px var(--accent);
+ }
+
+ .spine::after {
+ content: '';
+ position: absolute;
+ right: -8px;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: var(--accent2);
+ box-shadow: 0 0 10px var(--accent2);
+ }
+
+ /* Readability */
+ * {
+ text-rendering: optimizeLegibility;
+ }
+ </style>
+</head>
+<body>
+ <div class="frame">
+ <!-- Background decorations -->
+ <div class="background-glow" aria-hidden="true">
+ <!-- Grid pattern -->
+ <div class="grid-pattern"></div>
+
+ <!-- Scan lines -->
+ <div class="scan-line"></div>
+ <div class="scan-line"></div>
+ <div class="scan-line"></div>
+
+ <!-- Neon rings -->
+ <div class="neon-ring ring-1"></div>
+ <div class="neon-ring ring-2"></div>
+ <div class="neon-ring ring-3"></div>
+
+ <!-- Corner neon circles -->
+ <div class="corner-circle tl"></div>
+ <div class="corner-circle br"></div>
+
+ <!-- Neon squares -->
+ <div class="neon-square sq-1"></div>
+ <div class="neon-square sq-2"></div>
+
+ <!-- Particles -->
+ <div class="particle p1"></div>
+ <div class="particle p2"></div>
+ <div class="particle p3"></div>
+ <div class="particle p4"></div>
+ <div class="particle p5"></div>
+
+ <!-- Neon lines -->
+ <div class="neon-line line-1"></div>
+ <div class="neon-line line-2"></div>
+ </div>
+
+ <!-- Spine decoration -->
+ <div class="spine" aria-hidden="true">CREATE · SHARE · INSPIRE</div>
+
+ <!-- Header -->
+ <header class="header" role="banner">
+ <h1 class="title">{{title}}</h1>
+ <div class="title-meta" role="list">
+ <div class="chip" role="listitem"><span class="dot"></span>AI 短视频</div>
+ <div class="chip" role="listitem"><span class="dot pink"></span>创意内容</div>
+ <div class="chip" role="listitem"><span class="dot yellow"></span>轻松制作</div>
+ </div>
+ </header>
+
+ <!-- Media -->
+ <section class="media" role="img" aria-label="Illustration for the video">
+ <!-- Corner indicators -->
+ <div class="corner-indicator tl"></div>
+ <div class="corner-indicator tr"></div>
+ <div class="corner-indicator bl"></div>
+ <div class="corner-indicator br"></div>
+
+ <!-- Side badges -->
+ <div class="media-badge left">
+ <div class="badge-dot"></div>
+ <div class="badge-dot active"></div>
+ <div class="badge-dot"></div>
+ </div>
+ <div class="media-badge right">
+ <div class="badge-dot pink"></div>
+ <div class="badge-dot pink active"></div>
+ <div class="badge-dot pink"></div>
+ </div>
+
+ <img src="{{image}}" alt="图像:{{title}}">
+ </section>
+
+ <!-- Caption -->
+ <section class="caption" role="region" aria-label="旁白内容">
+ <!-- Quote icons -->
+ <svg class="quote-icon left" width="80" height="80" viewBox="0 0 24 24" fill="var(--accent)">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+ <svg class="quote-icon right" width="80" height="80" viewBox="0 0 24 24" fill="var(--accent2)">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+
+ <div class="accent-bar" aria-hidden="true"></div>
+ <p>{{text}}</p>
+ <div class="accent-bar-right" aria-hidden="true"></div>
+ </section>
+
+ <!-- Footer -->
+ <footer class="footer" role="contentinfo">
+ <div class="author">
+ <span class="tag">作者</span>
+ <div class="author-badges">
+ <div class="author-badge-dot"></div>
+ <div class="author-badge-dot pink"></div>
+ </div>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ <div class="cta">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="hashtags">
+ <span>#AI创作</span>
+ <span>#短视频</span>
+ <span>#内容生产</span>
+ </div>
+ </div>
+ </footer>
+ </div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_psychology_card.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_psychology_card.html
new file mode 100644
index 0000000..a85f4e6
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_psychology_card.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>心理卡片风 - 1080x1920</title>
+ <style>
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ background: #0a0a0a;
+ display: flex;
+ flex-direction: column;
+ color: #fff;
+ position: relative; /* 作为整页定位上下文 */
+ }
+
+ /* 顶部黑底标题区 */
+ .top {
+ height: 20%;
+ background: #0a0a0a;
+ padding: 100px 70px 40px;
+ display: flex;
+ align-items: flex-end;
+ justify-content: center;
+ text-align: center;
+ }
+
+ .title {
+ max-width: 920px;
+ font-size: 96px;
+ font-weight: 900;
+ line-height: 1.2;
+ letter-spacing: 2px;
+ color: #ffffff;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.5);
+ }
+
+ /* 中部容器可保持为空壳,仅用于分区 */
+ .middle { height: 70%; }
+
+ /* 将图片中心对齐到整页正中心(与标题无关) */
+ .media {
+ position: absolute;
+ top: 40%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ max-width: 86%;
+ max-height: 58%;
+ background: transparent;
+ border: none;
+ box-shadow: none;
+ }
+ .media img { width: 100%; height: 100%; object-fit: contain; display: block; }
+
+ /* 字幕移动到上方红框区域(大致页面下部的上方位置) */
+ .caption {
+ position: absolute;
+ left: 50%;
+ bottom: 320px; /* 向上移动至上方槽位 */
+ transform: translateX(-50%);
+ width: 86%; /* 与图片宽度对齐 */
+ max-width: 930px;
+ text-align: center;
+ font-size: 54px;
+ font-weight: 900;
+ line-height: 1.2;
+ color: #fefefe;
+ text-shadow: 0 0 0 #000,
+ -3px -3px 0 #000,
+ 3px -3px 0 #000,
+ -3px 3px 0 #000,
+ 3px 3px 0 #000;
+ }
+
+ @media (max-width: 1080px) { .title { font-size: 84px; } .caption { font-size: 48px; bottom: 600px; } }
+ </style>
+</head>
+<body>
+ <div class="top">
+ <div class="title">{{title}}</div>
+ </div>
+
+ <div class="middle"></div>
+
+ <div class="media"><img src="{{image}}" alt="内容图片"></div>
+ <div class="caption">{{text}}</div>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_purple.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_purple.html
new file mode 100644
index 0000000..6d73ebf
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_purple.html
@@ -0,0 +1,717 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ background: #302b63;
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .page-container {
+ width: 1080px;
+ height: 1920px;
+ padding: 60px 60px 70px 60px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ position: relative;
+ z-index: 1;
+ }
+
+ /* Background decorative elements */
+ .bg-decoration {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ overflow: hidden;
+ pointer-events: none;
+ }
+
+ /* Grid pattern background */
+ .dot-pattern {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-image:
+ linear-gradient(rgba(255, 165, 0, 0.1) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(255, 165, 0, 0.1) 1px, transparent 1px);
+ background-size: 40px 40px;
+ opacity: 0.4;
+ }
+
+ .circle-1 {
+ position: absolute;
+ width: 600px;
+ height: 600px;
+ border-radius: 50%;
+ background: radial-gradient(circle at 30% 30%, rgba(255, 165, 0, 0.15), transparent);
+ top: -250px;
+ right: -200px;
+ border: 3px solid rgba(255, 165, 0, 0.2);
+ box-shadow: inset 0 0 120px rgba(255, 165, 0, 0.1),
+ 0 0 60px rgba(255, 165, 0, 0.2);
+ }
+
+ .circle-2 {
+ position: absolute;
+ width: 450px;
+ height: 450px;
+ border-radius: 50%;
+ background: radial-gradient(circle at 60% 60%, rgba(255, 215, 0, 0.2), transparent);
+ bottom: 50px;
+ left: -150px;
+ filter: blur(50px);
+ }
+
+ .circle-3 {
+ position: absolute;
+ width: 300px;
+ height: 300px;
+ border-radius: 50%;
+ border: 4px solid rgba(255, 140, 0, 0.3);
+ background: transparent;
+ top: 35%;
+ right: 40px;
+ box-shadow: 0 0 40px rgba(255, 140, 0, 0.4);
+ }
+
+ .triangle {
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-left: 180px solid transparent;
+ border-right: 180px solid transparent;
+ border-bottom: 300px solid rgba(255, 165, 0, 0.08);
+ top: 45%;
+ left: -60px;
+ transform: rotate(-35deg);
+ filter: blur(3px);
+ }
+
+ .square-1 {
+ position: absolute;
+ width: 160px;
+ height: 160px;
+ background: linear-gradient(135deg, rgba(255, 165, 0, 0.12), transparent);
+ top: 15%;
+ right: -60px;
+ transform: rotate(35deg);
+ border: 3px solid rgba(255, 165, 0, 0.25);
+ box-shadow: 0 0 30px rgba(255, 165, 0, 0.2);
+ }
+
+ .square-2 {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ border: 4px solid rgba(255, 215, 0, 0.4);
+ background: transparent;
+ bottom: 25%;
+ left: 60px;
+ transform: rotate(-15deg);
+ box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
+ }
+
+ /* Glowing lines */
+ .line-1, .line-2, .line-3 {
+ position: absolute;
+ height: 3px;
+ background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.6), transparent);
+ box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
+ }
+
+ .line-1 {
+ width: 400px;
+ top: 20%;
+ right: 100px;
+ transform: rotate(15deg);
+ }
+
+ .line-2 {
+ width: 280px;
+ top: 55%;
+ left: 100px;
+ transform: rotate(-20deg);
+ }
+
+ .line-3 {
+ width: 320px;
+ bottom: 18%;
+ right: 120px;
+ transform: rotate(10deg);
+ }
+
+ /* Hexagon decorations */
+ .hexagon-1, .hexagon-2 {
+ position: absolute;
+ width: 80px;
+ height: 46px;
+ background: rgba(255, 165, 0, 0.1);
+ border-left: 3px solid rgba(255, 165, 0, 0.4);
+ border-right: 3px solid rgba(255, 165, 0, 0.4);
+ }
+
+ .hexagon-1::before, .hexagon-2::before,
+ .hexagon-1::after, .hexagon-2::after {
+ content: "";
+ position: absolute;
+ width: 0;
+ border-left: 40px solid transparent;
+ border-right: 40px solid transparent;
+ }
+
+ .hexagon-1::before, .hexagon-2::before {
+ bottom: 100%;
+ border-bottom: 23px solid rgba(255, 165, 0, 0.4);
+ }
+
+ .hexagon-1::after, .hexagon-2::after {
+ top: 100%;
+ border-top: 23px solid rgba(255, 165, 0, 0.4);
+ }
+
+ .hexagon-1 {
+ top: 25%;
+ left: 120px;
+ }
+
+ .hexagon-2 {
+ bottom: 30%;
+ right: 140px;
+ transform: rotate(30deg);
+ }
+
+ /* Header with tech decoration */
+ .topic-wrapper {
+ position: relative;
+ text-align: center;
+ padding: 40px 0;
+ }
+
+ .topic-decoration {
+ position: absolute;
+ top: -35px;
+ left: 50%;
+ transform: translateX(-50%);
+ display: flex;
+ gap: 10px;
+ align-items: center;
+ }
+
+ .topic-dot {
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ box-shadow: 0 0 20px currentColor;
+ }
+
+ .topic-dot:nth-child(1) {
+ background: #FF8C00;
+ color: #FF8C00;
+ }
+ .topic-dot:nth-child(2) {
+ background: #FFD700;
+ color: #FFD700;
+ width: 18px;
+ height: 18px;
+ }
+ .topic-dot:nth-child(3) {
+ background: #FFA500;
+ color: #FFA500;
+ }
+
+ /* Title accent decoration */
+ .topic-accent {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 150px;
+ height: 5px;
+ background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.8), transparent);
+ border-radius: 10px;
+ box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
+ }
+
+ .title {
+ font-size: 78px;
+ font-weight: 700;
+ background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ line-height: 1.25;
+ letter-spacing: 2px;
+ padding: 25px 0;
+ position: relative;
+ display: inline-block;
+ filter: drop-shadow(0 4px 20px rgba(255, 165, 0, 0.4));
+ }
+
+ .title::before,
+ .title::after {
+ content: '';
+ position: absolute;
+ border-radius: 50%;
+ background: linear-gradient(135deg, rgba(255, 165, 0, 0.6), rgba(255, 215, 0, 0.5));
+ box-shadow: 0 0 25px rgba(255, 165, 0, 0.6);
+ }
+
+ .title::before {
+ top: -15px;
+ left: -25px;
+ width: 25px;
+ height: 25px;
+ }
+
+ .title::after {
+ bottom: -10px;
+ right: -20px;
+ width: 30px;
+ height: 30px;
+ }
+
+ .topic {
+ font-size: 74px;
+ font-weight: bold;
+ color: #FFD700;
+ line-height: 1.3;
+ text-shadow: 0 0 30px rgba(255, 215, 0, 0.5),
+ 0 4px 20px rgba(0,0,0,0.4);
+ padding: 20px 0;
+ position: relative;
+ display: inline-block;
+ letter-spacing: 3px;
+ }
+
+ .topic::before,
+ .topic::after {
+ content: '';
+ position: absolute;
+ width: 90px;
+ height: 4px;
+ background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.8), rgba(255, 215, 0, 0.6));
+ top: 50%;
+ box-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
+ }
+
+ .topic::before {
+ left: -110px;
+ transform: scaleX(-1);
+ }
+
+ .topic::after {
+ right: -110px;
+ }
+
+ /* Tech badge decoration */
+ .bookmark-deco {
+ position: absolute;
+ top: -10px;
+ left: 70px;
+ }
+
+ /* Image container with tech frame */
+ .image-wrapper {
+ position: relative;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 900px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ border-radius: 16px;
+ object-fit: cover;
+ box-shadow: 0 0 60px rgba(255, 165, 0, 0.3),
+ 0 20px 60px rgba(0, 0, 0, 0.6);
+ border: 2px solid rgba(255, 165, 0, 0.3);
+ }
+
+ /* Corner tech decorations */
+ .corner-deco {
+ position: absolute;
+ width: 80px;
+ height: 80px;
+ border: 5px solid rgba(255, 165, 0, 0.8);
+ z-index: 2;
+ filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.5));
+ }
+
+ .corner-deco.top-left {
+ top: -20px;
+ left: -20px;
+ border-right: none;
+ border-bottom: none;
+ border-radius: 16px 0 0 0;
+ }
+
+ .corner-deco.bottom-right {
+ bottom: -20px;
+ right: -20px;
+ border-left: none;
+ border-top: none;
+ border-radius: 0 0 16px 0;
+ }
+
+ .corner-deco.top-right {
+ top: -20px;
+ right: -20px;
+ border-left: none;
+ border-bottom: none;
+ border-radius: 0 16px 0 0;
+ width: 40px;
+ height: 40px;
+ border-color: rgba(255, 215, 0, 0.9);
+ }
+
+ .corner-deco.bottom-left {
+ bottom: -20px;
+ left: -20px;
+ border-right: none;
+ border-top: none;
+ border-radius: 0 0 0 16px;
+ width: 40px;
+ height: 40px;
+ border-color: rgba(255, 140, 0, 0.9);
+ }
+
+ /* Side tech indicators */
+ .side-badge-left, .side-badge-right {
+ position: absolute;
+ display: flex;
+ flex-direction: column;
+ gap: 15px;
+ }
+
+ .side-badge-left {
+ left: -30px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .side-badge-right {
+ right: -30px;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .badge-circle {
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ border: 3px solid rgba(255, 165, 0, 0.6);
+ background: transparent;
+ box-shadow: 0 0 12px rgba(255, 165, 0, 0.4);
+ }
+
+ .badge-circle.filled {
+ background: rgba(255, 215, 0, 0.8);
+ box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
+ }
+
+ /* Quote section */
+ .text-wrapper {
+ position: relative;
+ }
+
+ .text {
+ font-size: 46px;
+ color: #FFF8DC;
+ text-align: center;
+ line-height: 1.8;
+ padding: 35px 70px;
+ position: relative;
+ height: 237.6px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4),
+ 0 0 20px rgba(255, 165, 0, 0.2);
+ letter-spacing: 1px;
+ }
+
+ .quote-icon-left {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ opacity: 0.25;
+ transform: rotate(180deg);
+ filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.4));
+ }
+
+ .quote-icon-right {
+ position: absolute;
+ bottom: 0px;
+ right: 0px;
+ opacity: 0.25;
+ filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.4));
+ }
+
+ /* Accent tech bars */
+ .accent-bar-left, .accent-bar-right {
+ position: absolute;
+ width: 6px;
+ height: 180px;
+ top: 50%;
+ transform: translateY(-50%);
+ border-radius: 10px;
+ }
+
+ .accent-bar-left {
+ left: 15px;
+ background: linear-gradient(180deg, rgba(255, 140, 0, 0.8), rgba(255, 140, 0, 0.2));
+ box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
+ }
+
+ .accent-bar-right {
+ right: 15px;
+ background: linear-gradient(180deg, rgba(255, 215, 0, 0.8), rgba(255, 215, 0, 0.2));
+ box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
+ }
+
+ /* Footer with tech design */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 25px 5px;
+ border-top: 3px solid rgba(255, 165, 0, 0.5);
+ position: relative;
+ }
+
+ .footer::before {
+ content: '';
+ position: absolute;
+ top: -5px;
+ left: 0;
+ width: 160px;
+ height: 5px;
+ background: linear-gradient(90deg, rgba(255, 165, 0, 0.9), transparent);
+ box-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
+ }
+
+ .footer::after {
+ content: '';
+ position: absolute;
+ top: -5px;
+ right: 0;
+ width: 100px;
+ height: 5px;
+ background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.9));
+ box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ }
+
+ .author-name {
+ font-size: 36px;
+ font-weight: bold;
+ color: #FFD700;
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
+ }
+
+ .author-badges {
+ display: flex;
+ gap: 8px;
+ align-items: center;
+ }
+
+ .author-badge {
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ box-shadow: 0 0 18px currentColor;
+ }
+
+ .author-badge.cyan {
+ background: #FF8C00;
+ color: #FF8C00;
+ }
+
+ .author-badge.pink {
+ background: #FFD700;
+ color: #FFD700;
+ }
+
+ .author-desc {
+ font-size: 26px;
+ color: rgba(255, 248, 220, 0.9);
+ line-height: 1.3;
+ text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
+ }
+
+ .logo-wrapper {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 28px;
+ font-weight: bold;
+ color: #FFD700;
+ letter-spacing: 2px;
+ position: relative;
+ text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
+ }
+
+ .logo::before {
+ content: '';
+ position: absolute;
+ left: -22px;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 12px;
+ height: 12px;
+ background: #FFA500;
+ border-radius: 50%;
+ box-shadow: 0 0 18px #FFA500;
+ }
+
+ .logo-dots {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-dot {
+ width: 7px;
+ height: 7px;
+ border-radius: 50%;
+ background: rgba(255, 165, 0, 0.6);
+ box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
+ }
+
+ </style>
+</head>
+<body>
+ <!-- Background decorations -->
+ <div class="bg-decoration">
+ <div class="dot-pattern"></div>
+ <div class="circle-1"></div>
+ <div class="circle-2"></div>
+ <div class="circle-3"></div>
+ <div class="triangle"></div>
+ <div class="square-1"></div>
+ <div class="square-2"></div>
+ <div class="line-1"></div>
+ <div class="line-2"></div>
+ <div class="line-3"></div>
+ <div class="hexagon-1"></div>
+ <div class="hexagon-2"></div>
+ </div>
+
+ <div class="page-container">
+ <div class="topic-wrapper">
+ <div class="topic-accent"></div>
+ <div class="topic-decoration">
+ <div class="topic-dot"></div>
+ <div class="topic-dot"></div>
+ <div class="topic-dot"></div>
+ </div>
+
+ <!-- Tech badge decoration -->
+ <svg class="bookmark-deco" width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="rgba(255, 165, 0, 0.6)" stroke-width="2">
+ <polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>
+ </svg>
+
+ <div class="title">{{title}}</div>
+ </div>
+
+ <div class="image-wrapper">
+ <div class="corner-deco top-left"></div>
+ <div class="corner-deco bottom-right"></div>
+ <div class="corner-deco top-right"></div>
+ <div class="corner-deco bottom-left"></div>
+
+ <!-- Side badges -->
+ <div class="side-badge-left">
+ <div class="badge-circle filled"></div>
+ <div class="badge-circle"></div>
+ <div class="badge-circle"></div>
+ </div>
+ <div class="side-badge-right">
+ <div class="badge-circle"></div>
+ <div class="badge-circle filled"></div>
+ <div class="badge-circle"></div>
+ </div>
+
+ <div class="image-container">
+ <img src="{{image}}" alt="Frame Image">
+ </div>
+ </div>
+
+ <div class="text-wrapper">
+ <!-- Quote SVG icons -->
+ <svg class="quote-icon-left" width="90" height="90" viewBox="0 0 24 24" fill="rgba(255, 165, 0, 0.6)">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+ <svg class="quote-icon-right" width="90" height="90" viewBox="0 0 24 24" fill="rgba(255, 165, 0, 0.6)">
+ <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/>
+ </svg>
+
+ <!-- Accent bars -->
+ <div class="accent-bar-left"></div>
+ <div class="accent-bar-right"></div>
+
+ <div class="text">{{text}}</div>
+ </div>
+
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <div class="author-badges">
+ <div class="author-badge cyan"></div>
+ <div class="author-badge pink"></div>
+ </div>
+ {{author=@Pixelle.AI}}
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-wrapper">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-dots">
+ <div class="logo-dot"></div>
+ <div class="logo-dot"></div>
+ <div class="logo-dot"></div>
+ <div class="logo-dot"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_satirical_cartoon.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_satirical_cartoon.html
new file mode 100644
index 0000000..4cd37e1
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_satirical_cartoon.html
@@ -0,0 +1,291 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>80年代讽刺漫画风格 全屏图片 只有标题 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ position: relative;
+ background: transparent; /* 移除黑色背景 */
+ }
+
+ /* 背景使用图片并做模糊处理,完全覆盖整个页面 */
+ .bg {
+ 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;
+ }
+
+ .title {
+ width: 900px;
+ text-align: center;
+ font-size: 92px;
+ font-weight: 800;
+ line-height: 1.2;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.6),
+ -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ letter-spacing: 4px;
+ /* 确保文本不会溢出 */
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ white-space: nowrap;
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+<body>
+ <div class="bg">
+ <div class="title">{{title}}</div>
+ </div>
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+ <script>
+ /**
+ * 根据文本宽度自动调整字体大小
+ * @param {HTMLElement} element - 要调整的元素
+ * @param {number} maxWidth - 最大宽度(px)
+ * @param {number} minFontSize - 最小字体大小(px)
+ * @param {number} maxFontSize - 最大字体大小(px)
+ */
+ function autoFitFontSize(element, maxWidth, minFontSize, maxFontSize) {
+ try {
+ if (!element || !element.textContent || !element.textContent.trim()) {
+ return;
+ }
+
+ if (!document.body) {
+ return;
+ }
+
+ // 创建一个临时的测量元素
+ const measure = document.createElement('span');
+ measure.style.visibility = 'hidden';
+ measure.style.position = 'absolute';
+ measure.style.top = '-9999px';
+ measure.style.left = '-9999px';
+ measure.style.whiteSpace = 'nowrap';
+
+ // 复制元素的样式
+ const computedStyle = window.getComputedStyle(element);
+ measure.style.fontFamily = computedStyle.fontFamily;
+ measure.style.fontSize = computedStyle.fontSize;
+ measure.style.fontWeight = computedStyle.fontWeight;
+ measure.style.letterSpacing = computedStyle.letterSpacing;
+ measure.textContent = element.textContent;
+
+ document.body.appendChild(measure);
+
+ // 二分查找合适的字体大小
+ let low = minFontSize;
+ let high = maxFontSize;
+ let bestSize = maxFontSize;
+
+ // 先检查最大字体是否合适
+ measure.style.fontSize = maxFontSize + 'px';
+ if (measure.offsetWidth <= maxWidth) {
+ bestSize = maxFontSize;
+ } else {
+ // 使用二分查找
+ while (high - low > 0.5) {
+ const mid = (low + high) / 2;
+ measure.style.fontSize = mid + 'px';
+
+ if (measure.offsetWidth <= maxWidth) {
+ bestSize = mid;
+ low = mid;
+ } else {
+ high = mid;
+ }
+ }
+ }
+
+ // 应用找到的字体大小
+ element.style.fontSize = bestSize + 'px';
+
+ // 清理临时元素
+ if (measure.parentNode) {
+ document.body.removeChild(measure);
+ }
+ } catch (error) {
+ console.error('自动调整字体大小出错:', error);
+ }
+ }
+
+ // 页面加载完成后自动调整字体大小
+ function initAutoFit() {
+ try {
+ const titleElement = document.querySelector('.title');
+ if (titleElement) {
+ // 获取容器的实际宽度
+ const maxWidth = 900;
+ // 自动调整字体大小:最小12px,最大72px
+ autoFitFontSize(titleElement, maxWidth, 12, 72);
+ }
+ } catch (error) {
+ console.error('初始化自动调整字体大小出错:', error);
+ }
+ }
+
+ // 等待 DOM 加载完成
+ if (document.readyState === 'loading') {
+ document.addEventListener('DOMContentLoaded', initAutoFit);
+ } else {
+ // DOM 已经加载完成
+ initAutoFit();
+ }
+
+ // 如果内容是通过模板引擎动态插入的,可以监听内容变化
+ // 使用 MutationObserver 监听文本变化
+ if (typeof MutationObserver !== 'undefined') {
+ try {
+ const observer = new MutationObserver(function(mutations) {
+ let shouldUpdate = false;
+ mutations.forEach(function(mutation) {
+ if (mutation.type === 'childList' || mutation.type === 'characterData') {
+ shouldUpdate = true;
+ }
+ });
+
+ if (shouldUpdate) {
+ // 延迟执行,避免频繁调用
+ setTimeout(initAutoFit, 100);
+ }
+ });
+
+ // 等待 body 元素存在后再观察
+ if (document.body) {
+ observer.observe(document.body, {
+ childList: true,
+ subtree: true,
+ characterData: true
+ });
+ } else {
+ document.addEventListener('DOMContentLoaded', function() {
+ if (document.body) {
+ observer.observe(document.body, {
+ childList: true,
+ subtree: true,
+ characterData: true
+ });
+ }
+ });
+ }
+ } catch (error) {
+ console.error('设置 MutationObserver 出错:', error);
+ }
+ }
+ </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_black.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_black.html
new file mode 100644
index 0000000..b08097a
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_black.html
@@ -0,0 +1,151 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>黑白简单风格 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ position: relative;
+ background: #000;
+ }
+
+ .title {
+ position: absolute;
+ top: 26%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ font-size: 90px;
+ font-weight: 900;
+ line-height: 1.2;
+ text-shadow: 0 6px 22px rgba(0,0,0,0.6),
+ -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ letter-spacing: 4px;
+ text-align: left;
+ }
+
+ /* 中部图片区(图片居中,填满宽度) */
+ .image-center {
+ position: absolute;
+ top: 60%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 100%;
+ height: 40%;
+ z-index: 2;
+ padding: 0 0; /* 无左右内边距 */
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+<body>
+ <div class="title">{{title}}</div>
+ <image src="{{image}}" class="image-center" />
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_line_drawing.html b/aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_line_drawing.html
new file mode 100644
index 0000000..5f54dbc
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/image_simple_line_drawing.html
@@ -0,0 +1,159 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>潦草简笔画小人 标题带白色背景 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
+ <style>
+
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ html, body { width: 1080px; height: 1920px; overflow: hidden; }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ position: relative;
+ background: #000;
+ }
+
+ .title-wrapper {
+ position: absolute;
+ width: 900px;
+ top: 25%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ font-size: 60px;
+ font-weight: 600;
+ text-align: center;
+ z-index: 10;
+ }
+
+ .title {
+ display: inline;
+ color: #333;
+ background-color: #fff;
+ padding: 4px 6px;
+ /* line-height: 1; */
+ /* 让每一行都独立应用背景和padding */
+ box-decoration-break: clone;
+ -webkit-box-decoration-break: clone;
+ }
+
+ /* 中部图片区(图片居中,填满宽度) */
+ .image-center {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 100%;
+ height: 40%;
+ z-index: 2;
+ padding: 0 0; /* 无左右内边距 */
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+<body>
+ <div class="title-wrapper">
+ <span class="title">{{text}}</span>
+ </div>
+ <image src="{{image}}" class="image-center" />
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/static_default.html b/aigc-director/aigc-claw/backend/templates/1080x1920/static_default.html
new file mode 100644
index 0000000..3f61011
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/static_default.html
@@ -0,0 +1,281 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 1080px;
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ position: relative;
+ overflow: hidden;
+ }
+
+ /* Background image layer (customizable using <img> tag) */
+ .background-image {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ }
+
+ .background-image img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ object-position: center;
+ }
+
+ /* Gradient overlay on top of background */
+ .gradient-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.6) 100%);
+ z-index: 1;
+ }
+
+ .page-container {
+ width: 1080px;
+ height: 1920px;
+ padding: 120px 80px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 80px;
+ position: relative;
+ z-index: 3;
+ }
+
+ /* Decorative background elements */
+ .bg-decoration {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 2;
+ overflow: hidden;
+ pointer-events: none;
+ }
+
+ .circle {
+ position: absolute;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.1);
+ }
+
+ .circle-1 {
+ width: 400px;
+ height: 400px;
+ top: -150px;
+ right: -100px;
+ }
+
+ .circle-2 {
+ width: 300px;
+ height: 300px;
+ bottom: -100px;
+ left: -80px;
+ }
+
+ .circle-3 {
+ width: 200px;
+ height: 200px;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ opacity: 0.5;
+ }
+
+ /* Title section */
+ .video-title-wrapper {
+ position: relative;
+ max-width: 900px;
+ text-align: center;
+ }
+
+ .video-title {
+ font-size: 72px;
+ font-weight: 700;
+ color: #ffffff;
+ line-height: 1.3;
+ letter-spacing: 3px;
+ text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
+ margin-bottom: 40px;
+ }
+
+ .title-underline {
+ width: 150px;
+ height: 4px;
+ background: rgba(255, 255, 255, 0.8);
+ margin: 0 auto;
+ border-radius: 2px;
+ }
+
+ /* Content section */
+ .content {
+ display: flex;
+ flex-direction: column;
+ gap: 60px;
+ max-width: 900px;
+ width: 100%;
+ position: relative;
+ background: rgba(255, 255, 255, 0.15);
+ backdrop-filter: blur(10px);
+ padding: 80px 60px;
+ border-radius: 20px;
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
+ }
+
+ .text-wrapper {
+ position: relative;
+ }
+
+ .text {
+ font-size: 48px;
+ color: #ffffff;
+ text-align: center;
+ line-height: 2.0;
+ font-weight: 500;
+ text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
+ position: relative;
+ min-height: 288px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ white-space: pre-line; /* Preserve line breaks from \n */
+ }
+
+ /* Quote marks */
+ .quote-mark {
+ position: absolute;
+ font-size: 120px;
+ font-family: Georgia, serif;
+ color: rgba(255, 255, 255, 0.3);
+ font-weight: bold;
+ line-height: 1;
+ }
+
+ .quote-mark.left {
+ top: -30px;
+ left: -20px;
+ }
+
+ .quote-mark.right {
+ bottom: -50px;
+ right: -20px;
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding-top: 40px;
+ border-top: 2px solid rgba(255, 255, 255, 0.3);
+ }
+
+ .author-section {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ }
+
+ .author {
+ font-size: 32px;
+ font-weight: 600;
+ color: #ffffff;
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ }
+
+ .author-desc {
+ font-size: 24px;
+ color: rgba(255, 255, 255, 0.9);
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 10px;
+ }
+
+ .logo {
+ font-size: 28px;
+ font-weight: 600;
+ color: #ffffff;
+ letter-spacing: 2px;
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ }
+
+ .logo-subtitle {
+ font-size: 20px;
+ color: rgba(255, 255, 255, 0.8);
+ font-weight: 400;
+ }
+ </style>
+</head>
+<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">
+ </div>
+
+ <!-- Gradient overlay -->
+ <div class="gradient-overlay"></div>
+
+ <!-- Background decorations -->
+ <div class="bg-decoration">
+ <div class="circle circle-1"></div>
+ <div class="circle circle-2"></div>
+ <div class="circle circle-3"></div>
+ </div>
+
+ <div class="page-container">
+ <!-- Video title -->
+ <div class="video-title-wrapper">
+ <div class="video-title">{{title}}</div>
+ <div class="title-underline"></div>
+ </div>
+
+ <!-- Content card -->
+ <div class="content">
+ <div class="text-wrapper">
+ <div class="quote-mark left">"</div>
+ <div class="text">{{text}}</div>
+ <div class="quote-mark right">"</div>
+ </div>
+ </div>
+
+ <!-- Footer -->
+ <div class="footer">
+ <div class="author-section">
+ <div class="author">{{author=@Pixelle.AI}}</div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-subtitle">Text-Only Template</div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
+
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html b/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html
new file mode 100644
index 0000000..db7b517
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html
@@ -0,0 +1,131 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>图书摘抄 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link
+ href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap"
+ rel="stylesheet">
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html,
+ body {
+ width: 1080px;
+ height: 1920px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ position: relative;
+ background: transparent;
+ display: flex;
+ flex-direction: column;
+ padding: 80px 100px;
+ }
+
+ /* 背景遮罩层 */
+ body::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: rgba(232, 229, 224, 0.85);
+ backdrop-filter: blur(10px);
+ -webkit-backdrop-filter: blur(10px);
+ z-index: 0;
+ }
+
+ /* 顶部标题 */
+ .header {
+ position: relative;
+ z-index: 1;
+ margin-bottom: 80px;
+ }
+
+ .title {
+ font-size: 48px;
+ font-weight: 500;
+ font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', cursive;
+ color: #2a2a2a;
+ letter-spacing: 8px;
+ text-align: left;
+ padding-bottom: 15px;
+ border-bottom: 2px solid #2a2a2a;
+ }
+
+ /* 正文区域 */
+ .content {
+ position: relative;
+ z-index: 1;
+ /* flex: 1; */
+ margin-bottom: 60px;
+ }
+
+ .excerpt {
+ font-size: 36px;
+ font-weight: 400;
+ line-height: 2.0;
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ text-align: justify;
+ text-indent: 2em;
+ letter-spacing: 1px;
+ white-space: pre-line;
+ }
+
+
+ /* 署名 */
+ .author {
+ position: relative;
+ z-index: 1;
+ text-align: right;
+ font-size: 32px;
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ font-weight: 400;
+ }
+
+ .signature {
+ position: absolute;
+ font-size: 24px;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ color: #333;
+ bottom: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+ </style>
+</head>
+
+<body>
+ <!-- 顶部标题 -->
+ <div class="header">
+ <div class="title">{{title}}</div>
+ </div>
+
+ <!-- 正文内容 -->
+ <div class="content">
+ <div class="excerpt">{{text}}</div>
+ </div>
+
+ <!-- 作者 -->
+ <div class="author">——{{author=Pixelle.AI}}</div>
+
+ <!-- 署名 -->
+ <div class="signature">{{signature=@Pixelle.AI}}</div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/video_default.html b/aigc-director/aigc-claw/backend/templates/1080x1920/video_default.html
new file mode 100644
index 0000000..8c0ed33
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/video_default.html
@@ -0,0 +1,328 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="512">
+ <meta name="template:media-height" content="288">
+ <style>
+ html {
+ margin: 0;
+ padding: 0;
+ height: 100%;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ height: 100vh;
+ font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
+ overflow: hidden;
+ /* background-color: #000; */
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
+ /* 主容器 - 居中并包含所有内容 */
+ .main-container {
+ position: relative;
+ width: 1080px;
+ height: 1920px;
+ }
+
+ /* Background image layer (customizable using <img> tag) */
+ .background-image {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ }
+
+ /* Video overlay - 相对于main-container居中 */
+ .video-overlay {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 1080px;
+ height: 607px;
+ /* background: #f00; */
+ z-index: 1;
+ }
+
+ /* Title section - positioned above video */
+ .video-title-wrapper {
+ position: absolute;
+ top: calc(50% - 607px / 2 - 130px);
+ left: 50%;
+ transform: translateX(-50%);
+ z-index: 2;
+ }
+
+ .video-title {
+ width: 900px;
+ text-align: center;
+ /* 初始字体大小,JavaScript 会根据文本长度自动调整 */
+ font-size: 72px;
+ font-weight: 700;
+ color: #ffffff;
+ line-height: 1.3;
+ letter-spacing: 3px;
+ text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
+ margin-bottom: 20px;
+ /* 确保文本不会溢出 */
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ white-space: nowrap;
+ }
+
+ /* 字幕区域 - 对齐视频底部 */
+ .content {
+ position: absolute;
+ bottom: calc(50% - 607px / 2 + 0px);
+ left: 50%;
+ transform: translateX(-50%);
+ width: 900px;
+ z-index: 4;
+ }
+
+ .text {
+ font-size: 40px;
+ color: #ffffff;
+ text-align: center;
+ line-height: 1.6;
+ font-weight: 500;
+ text-shadow:
+ 2px 2px 4px rgba(0, 0, 0, 0.9),
+ 0 0 8px rgba(0, 0, 0, 0.8),
+ 0 0 16px rgba(0, 0, 0, 0.6);
+ padding: 10px 0px;
+ /* background-color: aqua; */
+ }
+
+ /* Footer - positioned below video */
+ .footer {
+ position: absolute;
+ top: calc(50% + 607px / 2 + 50px);
+ left: 50%;
+ transform: translateX(-50%);
+ width: 900px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding-top: 40px;
+ border-top: 2px solid rgba(255, 255, 255, 0.3);
+ z-index: 2;
+ }
+
+ .author-section {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ }
+
+ .author {
+ font-size: 32px;
+ font-weight: 600;
+ color: #ffffff;
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ }
+
+ .author-desc {
+ font-size: 24px;
+ color: rgba(255, 255, 255, 0.9);
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 10px;
+ }
+
+ .logo {
+ font-size: 28px;
+ font-weight: 600;
+ color: #ffffff;
+ letter-spacing: 2px;
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ }
+ </style>
+</head>
+<body>
+ <!-- 主容器 - 所有元素都在这里面,相对于video-overlay定位 -->
+ <div class="main-container">
+ <!-- Background image layer (customizable via background parameter) -->
+ <div class="background-image">
+
+ </div>
+
+ <!-- Video overlay - 居中参考点 -->
+ <div class="video-overlay"></div>
+
+ <!-- Video title - positioned above video -->
+ <div class="video-title-wrapper">
+ <div class="video-title">{{title}}</div>
+ </div>
+
+ <!-- 字幕区域 - 独立定位在视频底部 -->
+ <div class="content">
+ <div class="text">{{text}}</div>
+ </div>
+
+ <!-- Footer - positioned below video -->
+ <div class="footer">
+ <div class="author-section">
+ <div class="author">{{author=@Pixelle.AI}}</div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ </div>
+ </div>
+ </div>
+
+ <script>
+ /**
+ * 根据文本宽度自动调整字体大小
+ * @param {HTMLElement} element - 要调整的元素
+ * @param {number} maxWidth - 最大宽度(px)
+ * @param {number} minFontSize - 最小字体大小(px)
+ * @param {number} maxFontSize - 最大字体大小(px)
+ */
+ function autoFitFontSize(element, maxWidth, minFontSize, maxFontSize) {
+ try {
+ if (!element || !element.textContent || !element.textContent.trim()) {
+ return;
+ }
+
+ if (!document.body) {
+ return;
+ }
+
+ // 创建一个临时的测量元素
+ const measure = document.createElement('span');
+ measure.style.visibility = 'hidden';
+ measure.style.position = 'absolute';
+ measure.style.top = '-9999px';
+ measure.style.left = '-9999px';
+ measure.style.whiteSpace = 'nowrap';
+
+ // 复制元素的样式
+ const computedStyle = window.getComputedStyle(element);
+ measure.style.fontFamily = computedStyle.fontFamily;
+ measure.style.fontSize = computedStyle.fontSize;
+ measure.style.fontWeight = computedStyle.fontWeight;
+ measure.style.letterSpacing = computedStyle.letterSpacing;
+ measure.textContent = element.textContent;
+
+ document.body.appendChild(measure);
+
+ // 二分查找合适的字体大小
+ let low = minFontSize;
+ let high = maxFontSize;
+ let bestSize = maxFontSize;
+
+ // 先检查最大字体是否合适
+ measure.style.fontSize = maxFontSize + 'px';
+ if (measure.offsetWidth <= maxWidth) {
+ bestSize = maxFontSize;
+ } else {
+ // 使用二分查找
+ while (high - low > 0.5) {
+ const mid = (low + high) / 2;
+ measure.style.fontSize = mid + 'px';
+
+ if (measure.offsetWidth <= maxWidth) {
+ bestSize = mid;
+ low = mid;
+ } else {
+ high = mid;
+ }
+ }
+ }
+
+ // 应用找到的字体大小
+ element.style.fontSize = bestSize + 'px';
+
+ // 清理临时元素
+ if (measure.parentNode) {
+ document.body.removeChild(measure);
+ }
+ } catch (error) {
+ console.error('自动调整字体大小出错:', error);
+ }
+ }
+
+ // 页面加载完成后自动调整字体大小
+ function initAutoFit() {
+ try {
+ const titleElement = document.querySelector('.video-title');
+ if (titleElement) {
+ // 获取容器的实际宽度
+ const wrapper = document.querySelector('.video-title-wrapper');
+ const maxWidth = wrapper ? wrapper.offsetWidth : 900;
+
+ // 自动调整字体大小:最小12px,最大72px
+ autoFitFontSize(titleElement, maxWidth, 12, 72);
+ }
+ } catch (error) {
+ console.error('初始化自动调整字体大小出错:', error);
+ }
+ }
+
+ // 等待 DOM 加载完成
+ if (document.readyState === 'loading') {
+ document.addEventListener('DOMContentLoaded', initAutoFit);
+ } else {
+ // DOM 已经加载完成
+ initAutoFit();
+ }
+
+ // 如果内容是通过模板引擎动态插入的,可以监听内容变化
+ // 使用 MutationObserver 监听文本变化
+ if (typeof MutationObserver !== 'undefined') {
+ try {
+ const observer = new MutationObserver(function(mutations) {
+ let shouldUpdate = false;
+ mutations.forEach(function(mutation) {
+ if (mutation.type === 'childList' || mutation.type === 'characterData') {
+ shouldUpdate = true;
+ }
+ });
+
+ if (shouldUpdate) {
+ // 延迟执行,避免频繁调用
+ setTimeout(initAutoFit, 100);
+ }
+ });
+
+ // 等待 body 元素存在后再观察
+ if (document.body) {
+ observer.observe(document.body, {
+ childList: true,
+ subtree: true,
+ characterData: true
+ });
+ } else {
+ document.addEventListener('DOMContentLoaded', function() {
+ if (document.body) {
+ observer.observe(document.body, {
+ childList: true,
+ subtree: true,
+ characterData: true
+ });
+ }
+ });
+ }
+ } catch (error) {
+ console.error('设置 MutationObserver 出错:', error);
+ }
+ }
+ </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/video_healing.html b/aigc-director/aigc-claw/backend/templates/1080x1920/video_healing.html
new file mode 100644
index 0000000..e737847
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/video_healing.html
@@ -0,0 +1,163 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1080, height=1920">
+ <title>疗愈 动态 - 1080x1920</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link
+ href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap"
+ rel="stylesheet">
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html,
+ body {
+ width: 1080px;
+ height: 1920px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ position: relative;
+ background: transparent;
+ display: flex;
+ flex-direction: column;
+ }
+
+ /* 背景遮罩层 */
+ /* body::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: rgba(232, 229, 224, 0.85);
+ backdrop-filter: blur(5px);
+ -webkit-backdrop-filter: blur(5x);
+ z-index: 0;
+ } */
+
+ /* Video overlay - 相对于main-container居中 */
+ .video-overlay {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 100%;
+ height: 100%;
+ /* background: #f00; */
+ z-index: -1;
+ }
+
+ /* 顶部标题 */
+ .title {
+ position: absolute;
+ width: 500px;
+ top: 40%;
+ transform: translateY(-50%);
+ right: 60px;
+ z-index: 1;
+ }
+
+ .title-content {
+ font-size: 80px;
+ font-weight: 600;
+ font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', cursive;
+ color: #2a2a2a;
+ letter-spacing: 8px;
+ text-align: right;
+ padding-bottom: 15px;
+ border-bottom: 2px solid #2a2a2a;
+ text-shadow: -1px -1px 0 #ddd,
+ 1px -1px 0 #ddd,
+ -1px 1px 0 #ddd,
+ 1px 1px 0 #ddd;
+ }
+
+ /* 作者 */
+ .author {
+ z-index: 1;
+ text-align: right;
+ font-size: 32px;
+ font-family: 'Noto Serif SC', serif;
+ color: #2a2a2a;
+ font-weight: 400;
+ text-shadow: -1px -1px 0 #ddd,
+ 1px -1px 0 #ddd,
+ -1px 1px 0 #ddd,
+ 1px 1px 0 #ddd;
+ }
+
+ /* 正文区域 */
+ .text {
+ width: 100%;
+ position: absolute;
+ font-size: 46px;
+ font-weight: 400;
+ line-height: 2.0;
+ font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
+ color: #ffffff;
+ text-align: justify;
+ text-indent: 2em;
+ letter-spacing: 1px;
+ white-space: pre-line;
+ top: 70%;
+ text-align: center;
+ text-shadow: -1px -1px 0 #222,
+ 1px -1px 0 #222,
+ -1px 1px 0 #222,
+ 1px 1px 0 #222;
+ padding: 0 100px;
+ }
+
+
+ .signature {
+ position: absolute;
+ font-size: 24px;
+ color: #333;
+ bottom: 20px;
+ right: 20px;
+ text-align: right;
+ text-shadow: -1px -1px 0 #ddd,
+ 1px -1px 0 #ddd,
+ -1px 1px 0 #ddd,
+ 1px 1px 0 #ddd;
+ }
+ </style>
+</head>
+
+<body>
+ <div class="video-overlay">
+
+ </div>
+
+ <div class="title">
+ <div class="title-content">{{title}}</div>
+ </div>
+
+ <!-- 正文内容 -->
+ <div class="text">{{text}}</div>
+
+ <!-- 署名 -->
+ <div class="signature">{{signature=@Pixelle.AI}}</div>
+ <script>
+ const index = Number("{{index}}");
+
+ document.addEventListener('DOMContentLoaded', () => {
+ const titleElement = document.querySelector('.title');
+ titleElement.style.display = index > 1 ? 'none' : 'block';
+ });
+ </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1920x1080/image_book.html b/aigc-director/aigc-claw/backend/templates/1920x1080/image_book.html
new file mode 100644
index 0000000..d0ddda2
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1920x1080/image_book.html
@@ -0,0 +1,206 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1920, height=1080">
+ <!-- Google Fonts - 手写艺术字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&family=ZCOOL+XiaoWei&display=swap" rel="stylesheet">
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html, body {
+ width: 1920px;
+ height: 1080px;
+ overflow: hidden;
+ }
+
+ body {
+ 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;
+ }
+
+ .container {
+ position: relative;
+ min-height: 100vh;
+ width: 100%;
+ }
+
+ /* Stars background */
+ .stars {
+ position: absolute;
+ inset: 0;
+ overflow: hidden;
+ }
+
+ .star {
+ position: absolute;
+ width: 4px;
+ height: 4px;
+ background-color: rgba(255, 255, 255, 0.3);
+ border-radius: 50%;
+ animation: pulse 2s ease-in-out infinite;
+ }
+
+ @keyframes pulse {
+ 0%, 100% { opacity: 0.3; }
+ 50% { opacity: 0.8; }
+ }
+
+ /* Title */
+ .title {
+ position: absolute;
+ top: 32px;
+ right: 32px;
+ z-index: 10;
+ font-size: 50px;
+ text-align: right;
+ /* 黑色描边 */
+ text-shadow: 0 0 0 #0e0a0a,
+ -2px -2px 0 #0e0a0a,
+ 2px -2px 0 #0e0a0a,
+ -2px 2px 0 #0e0a0a,
+ 2px 2px 0 #0e0a0a;
+ }
+
+ /* Main Content */
+ .main-content {
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+ padding: 32px;
+ }
+
+ /* Decorative blobs */
+ .blob {
+ position: absolute;
+ border-radius: 50%;
+ filter: blur(60px);
+ opacity: 0.5;
+ }
+
+ .blob-1 {
+ top: 25%;
+ left: 25%;
+ width: 128px;
+ height: 192px;
+ background-color: #4a7c8c;
+ }
+
+ .blob-2 {
+ top: 33%;
+ right: 25%;
+ width: 160px;
+ height: 224px;
+ background-color: #8b3a3a;
+ }
+
+ .blob-3 {
+ bottom: 25%;
+ left: 33%;
+ width: 144px;
+ height: 176px;
+ background-color: #6b4423;
+ opacity: 0.4;
+ }
+
+ /* Text Content */
+ .text-content {
+ position: relative;
+ z-index: 10;
+ text-align: center;
+ }
+
+ .content {
+ font-size: 70px;
+ font-weight: 900;
+ color: white;
+ letter-spacing: 0.05em;
+ font-style: italic;
+ /* 黑色描边 6px */
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
+ -4px -4px 4px #0e0a0a,
+ 4px -4px 4px #0e0a0a,
+ -4px 4px 4px #0e0a0a,
+ 4px 4px 4px #0e0a0a,
+ 0 8px 16px rgba(0,0,0,0.5);
+ /* 手写艺术字体 */
+ font-family: 'ZCOOL XiaoWei', cursive, serif;
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 32px;
+ color: #fff;
+ }
+
+ .author {
+ font-size: 50px;
+ font-weight: 500;
+ color: gray;
+ /* 手写艺术字体 */
+ font-family: 'Liu Jian Mao Cao', cursive, serif;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <!-- Stars background -->
+ <div class="stars" id="stars"></div>
+
+ <!-- Title -->
+ <div class="title">{{title}}</div>
+
+ <!-- Main Content -->
+ <div class="main-content">
+ <!-- Decorative blobs -->
+ <div class="blob blob-1"></div>
+ <div class="blob blob-2"></div>
+ <div class="blob blob-3"></div>
+
+ <!-- Text Content -->
+ <div class="text-content">
+ <p class="content">{{text}}</p>
+ </div>
+ </div>
+ </div>
+
+ <div class="footer">
+ <div class="author">{{author=@Pixelle.AI}}</div>
+ </div>
+
+ <script>
+ // Generate stars
+ const starsContainer = document.getElementById('stars');
+ for (let i = 0; i < 50; i++) {
+ const star = document.createElement('div');
+ star.className = 'star';
+ star.style.left = Math.random() * 100 + '%';
+ star.style.top = Math.random() * 100 + '%';
+ star.style.animationDelay = Math.random() * 3 + 's';
+ star.style.animationDuration = (2 + Math.random() * 3) + 's';
+ starsContainer.appendChild(star);
+ }
+ </script>
+</body>
+</html>
diff --git a/aigc-director/aigc-claw/backend/templates/1920x1080/image_film.html b/aigc-director/aigc-claw/backend/templates/1920x1080/image_film.html
new file mode 100644
index 0000000..2bae1b4
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1920x1080/image_film.html
@@ -0,0 +1,215 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1920, height=1080">
+ <title>视频模板 - 电影风格</title>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html,
+ body {
+ width: 1920px;
+ height: 1080px;
+ overflow: hidden;
+ }
+
+ body {
+ background: black;
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
+ position: relative;
+ color: #ffffff;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ }
+
+ .main {
+ width: 100%;
+ height: 1000px;
+ margin-bottom: 80px;
+ }
+
+ .top {
+ width: 100%;
+ height: 15%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 0 60px;
+ z-index: 1;
+ }
+
+ .title {
+ width: 100%;
+ /* 稍微调整以适应全宽图片 */
+ text-align: center;
+ font-size: 70px;
+ font-weight: 800;
+ line-height: 1.2;
+ text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
+ letter-spacing: 4px;
+ }
+
+ .middle {
+ width: 100%;
+ height: 70%;
+ /*display: block;*/
+ }
+
+ .middle img {
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+ /* 改为 cover 填满宽度 */
+ display: block;
+ }
+
+ .bottom {
+ width: 100%;
+ height: 15%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 0 60px;
+ z-index: 1;
+ }
+
+ .text {
+ width: 100%;
+ /* 稍微调整以适应全宽图片 */
+ padding: 0 60px;
+ text-align: center;
+ font-size: 40px;
+ font-weight: 400;
+ line-height: 1.2;
+ color: #ffffff;
+ letter-spacing: 1px;
+ text-shadow: 0 0 0 #000,
+ -3px -3px 0 #000,
+ 3px -3px 0 #000,
+ -3px 3px 0 #000,
+ 3px 3px 0 #000,
+ 0 10px 24px rgba(0, 0, 0, 0.6);
+ /* white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis; */
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+
+<body>
+ <div class="main">
+ <div class="top">
+ <div class="title">{{title}}</div>
+ </div>
+ <div class="middle">
+ <img src="{{image}}" alt="内容图片">
+
+ </div>
+ <div class="bottom">
+ <div class="text">{{text}}</div>
+ </div>
+ </div>
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1920x1080/image_full.html b/aigc-director/aigc-claw/backend/templates/1920x1080/image_full.html
new file mode 100644
index 0000000..5d7e862
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1920x1080/image_full.html
@@ -0,0 +1,197 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1920, height=1080">
+ <title>全屏图片 - 1920x1080</title>
+ <!-- Google Fonts - 中文字体 -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link
+ href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap"
+ rel="stylesheet">
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html,
+ body {
+ width: 1920px;
+ height: 1080px;
+ overflow: hidden;
+ }
+
+ body {
+ font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
+ color: #fff;
+ 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;
+ z-index: 0;
+ }
+
+ .main {
+ width: 100%;
+ height: 1080px;
+ }
+
+ .title {
+ position: absolute;
+ top: 160px;
+ width: 100%;
+ text-align: center;
+ font-size: 80px;
+ font-weight: 600;
+ line-height: 1.2;
+ text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6),
+ -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ /* 使用 Ma Shan Zheng 毛笔字体 */
+ font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive;
+ letter-spacing: 4px;
+ }
+
+ /* 底部字幕覆盖在图片底部 */
+ .text {
+ position: absolute;
+ bottom: 170px;
+ width: 100%;
+ /* 稍微调整以适应全宽图片 */
+ padding: 0 60px;
+ text-align: center;
+ font-size: 54px;
+ font-weight: 400;
+ /* line-height: 1.2; */
+ color: #ffffff;
+ font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif;
+ letter-spacing: 1px;
+ text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6),
+ -2px -2px 0 #000,
+ 2px -2px 0 #000,
+ -2px 2px 0 #000,
+ 2px 2px 0 #000;
+ }
+
+ /* Footer */
+ .footer {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ padding: 25px 20px 0 20px;
+ position: absolute;
+ bottom: 20px;
+ color: #fff;
+ text-shadow: -1px -1px 0 #000,
+ 1px -1px 0 #000,
+ -1px 1px 0 #000,
+ 1px 1px 0 #000;
+ }
+
+ .author {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ letter-spacing: 2px;
+ }
+
+ .author-name {
+ font-size: 30px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+
+ .author-mark {
+ width: 8px;
+ height: 8px;
+ /* border-radius: 50%; */
+ /* background: rgba(149, 165, 166, 0.7); */
+ }
+
+ .author-desc {
+ font-size: 22px;
+ /* color: #5d6d7e; */
+ line-height: 1.3;
+ font-weight: 400;
+ }
+
+ .logo-section {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: 8px;
+ }
+
+ .logo {
+ font-size: 24px;
+ font-weight: 500;
+ }
+
+ .logo-marks {
+ display: flex;
+ gap: 5px;
+ }
+
+ .logo-mark {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(149, 165, 166, 0.45);
+ }
+
+ .logo-mark.active {
+ background: rgba(149, 165, 166, 0.75);
+ }
+ </style>
+</head>
+
+<body>
+ <!-- <div class="bg"></div> -->
+ <div class="main">
+ <div class="title">{{title}}</div>
+ <div class="text">{{text}}</div>
+ </div>
+ <div class="footer">
+ <div class="author">
+ <div class="author-name">
+ <span class="author-mark"></span>
+ <div class="logo">{{author=@Pixelle.AI}}</div>
+ </div>
+ <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
+ </div>
+ <div class="logo-section">
+ <div class="logo">{{brand=Pixelle-Video}}</div>
+ <div class="logo-marks">
+ <div class="logo-mark"></div>
+ <div class="logo-mark active"></div>
+ <div class="logo-mark"></div>
+ <div class="logo-mark"></div>
+ </div>
+ </div>
+ </div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/aigc-director/aigc-claw/backend/templates/1920x1080/image_ultrawide_minimal.html b/aigc-director/aigc-claw/backend/templates/1920x1080/image_ultrawide_minimal.html
new file mode 100644
index 0000000..7dea2ae
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1920x1080/image_ultrawide_minimal.html
@@ -0,0 +1,197 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1920, height=1080">
+ <title>视频模板 - 极简风格</title>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html, body {
+ width: 1920px;
+ height: 1080px;
+ overflow: hidden;
+ }
+
+ body {
+ background: #ffffff;
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
+ display: grid;
+ grid-template-columns: 1fr 1.4fr 1fr;
+ gap: 60px;
+ padding: 70px 80px;
+ position: relative;
+ color: #000000;
+ }
+
+ /* 背景装饰 */
+ .bg-decoration {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ z-index: 1;
+ }
+
+ .minimal-line {
+ position: absolute;
+ background: linear-gradient(90deg, transparent, #000000, transparent);
+ opacity: 0.03;
+ }
+
+ .line-1 {
+ width: 600px;
+ height: 1px;
+ top: 25%;
+ left: 150px;
+ transform: rotate(-2deg);
+ }
+
+ .line-2 {
+ width: 550px;
+ height: 1px;
+ bottom: 30%;
+ right: 200px;
+ transform: rotate(3deg);
+ }
+
+ .circle {
+ position: absolute;
+ border-radius: 50%;
+ border: 1px solid #000000;
+ opacity: 0.03;
+ }
+
+ .circle-1 {
+ width: 400px;
+ height: 400px;
+ top: -200px;
+ right: 300px;
+ }
+
+ .circle-2 {
+ width: 350px;
+ height: 350px;
+ bottom: -150px;
+ left: 400px;
+ }
+
+ /* 左侧标题区 */
+ .left-section {
+ position: relative;
+ z-index: 2;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ }
+
+ .title-accent {
+ font-size: 14px;
+ color: #000000;
+ letter-spacing: 6px;
+ margin-bottom: 25px;
+ font-weight: 300;
+ opacity: 0.4;
+ text-transform: uppercase;
+ }
+
+ .main-title {
+ font-size: 96px;
+ font-weight: 300;
+ line-height: 1.1;
+ color: #000000;
+ letter-spacing: -4px;
+ margin-bottom: 40px;
+ }
+
+ .title-underline {
+ width: 180px;
+ height: 2px;
+ background: #000000;
+ }
+
+ /* 中间图片区 */
+ .center-section {
+ position: relative;
+ z-index: 2;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 100%;
+ border-radius: 8px;
+ overflow: hidden;
+ border: 1px solid rgba(0, 0, 0, 0.05);
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+
+ /* 右侧文字区 */
+ .right-section {
+ position: relative;
+ z-index: 2;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ }
+
+ .text-content {
+ font-size: 48px;
+ font-weight: 300;
+ line-height: 1.8;
+ color: #000000;
+ text-align: left;
+ letter-spacing: 1px;
+ }
+
+ .text-underline {
+ margin-top: 40px;
+ width: 140px;
+ height: 2px;
+ background: #000000;
+ }
+ </style>
+</head>
+<body>
+ <div class="bg-decoration">
+ <div class="minimal-line line-1"></div>
+ <div class="minimal-line line-2"></div>
+ <div class="circle circle-1"></div>
+ <div class="circle circle-2"></div>
+ </div>
+
+ <!-- 左侧标题 -->
+ <div class="left-section">
+ <div class="title-accent">SIMPLE</div>
+ <div class="main-title">{{title}}</div>
+ <div class="title-underline"></div>
+ </div>
+
+ <!-- 中间图片 -->
+ <div class="center-section">
+ <div class="image-container">
+ <img src="{{image}}" alt="内容图片">
+ </div>
+ </div>
+
+ <!-- 右侧文字 -->
+ <div class="right-section">
+ <div class="text-content">{{text}}</div>
+ <div class="text-underline"></div>
+ </div>
+</body>
+</html>
+
diff --git a/aigc-director/aigc-claw/backend/templates/1920x1080/image_wide_darktech.html b/aigc-director/aigc-claw/backend/templates/1920x1080/image_wide_darktech.html
new file mode 100644
index 0000000..4098a4e
--- /dev/null
+++ b/aigc-director/aigc-claw/backend/templates/1920x1080/image_wide_darktech.html
@@ -0,0 +1,308 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+ <meta charset="UTF-8">
+ <meta name="template:media-width" content="1024">
+ <meta name="template:media-height" content="1024">
+ <meta name="viewport" content="width=1920, height=1080">
+ <title>视频模板 - 横屏科技风格</title>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html, body {
+ width: 1920px;
+ height: 1080px;
+ overflow: hidden;
+ }
+
+ body {
+ background: #0a0f1f;
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
+ display: grid;
+ grid-template-columns: 1fr 1.2fr;
+ grid-template-rows: auto 1fr auto;
+ padding: 60px 80px;
+ position: relative;
+ color: #ffffff;
+ }
+
+ /* 背景装饰 */
+ .bg-decoration {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ z-index: 1;
+ }
+
+ .grid-overlay {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ background-image:
+ linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
+ background-size: 60px 60px;
+ }
+
+ .glow-orb {
+ position: absolute;
+ border-radius: 50%;
+ filter: blur(100px);
+ }
+
+ .orb-1 {
+ width: 800px;
+ height: 800px;
+ background: rgba(59, 130, 246, 0.2);
+ top: -400px;
+ right: 200px;
+ }
+
+ .orb-2 {
+ width: 600px;
+ height: 600px;
+ background: rgba(147, 51, 234, 0.15);
+ bottom: -200px;
+ left: -100px;
+ }
+
+ .hexagon {
+ position: absolute;
+ width: 120px;
+ height: 69px;
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.08));
+ border: 2px solid rgba(59, 130, 246, 0.3);
+ }
+
+ .hexagon::before,
+ .hexagon::after {
+ content: "";
+ position: absolute;
+ width: 0;
+ border-left: 60px solid transparent;
+ border-right: 60px solid transparent;
+ }
+
+ .hexagon::before {
+ bottom: 100%;
+ border-bottom: 34.64px solid rgba(59, 130, 246, 0.3);
+ }
+
+ .hexagon::after {
+ top: 100%;
+ border-top: 34.64px solid rgba(59, 130, 246, 0.3);
+ }
+
+ .hex-1 { top: 20%; right: 150px; transform: rotate(30deg); }
+ .hex-2 { bottom: 15%; right: 300px; transform: rotate(-20deg); }
+
+ /* 左侧内容区 */
+ .left-content {
+ grid-column: 1;
+ grid-row: 1 / 3;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ position: relative;
+ z-index: 2;
+ padding-right: 60px;
+ }
+
+ .badge {
+ display: inline-block;
+ padding: 12px 28px;
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.1));
+ border: 1px solid rgba(59, 130, 246, 0.4);
+ border-radius: 30px;
+ font-size: 18px;
+ color: #60a5fa;
+ margin-bottom: 30px;
+ font-weight: 600;
+ letter-spacing: 2px;
+ }
+
+ .main-title {
+ font-size: 96px;
+ font-weight: 900;
+ line-height: 1.1;
+ background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ margin-bottom: 30px;
+ letter-spacing: -3px;
+ filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
+ }
+
+ .main-title::after {
+ content: '';
+ display: block;
+ width: 150px;
+ height: 6px;
+ background: linear-gradient(90deg, transparent, #3b82f6, transparent);
+ margin-top: 30px;
+ box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
+ }
+
+ .description {
+ font-size: 48px;
+ line-height: 1.8;
+ color: #cbd5e1;
+ margin-top: 60px;
+ font-weight: 400;
+ }
+
+ /* 右侧图片区 */
+ .right-image {
+ grid-column: 2;
+ grid-row: 1 / 3;
+ position: relative;
+ z-index: 2;
+ }
+
+ .image-wrapper {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .image-container {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
+ border-radius: 24px;
+ overflow: hidden;
+ border: 3px solid rgba(59, 130, 246, 0.3);
+ box-shadow:
+ 0 30px 80px rgba(0, 0, 0, 0.6),
+ 0 0 120px rgba(59, 130, 246, 0.2),
+ inset 0 0 60px rgba(59, 130, 246, 0.05);
+ }
+
+ .image-container img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+
+ /* 科技角标 */
+ /* .image-container::before,
+ .image-container::after {
+ content: '';
+ position: absolute;
+ width: 80px;
+ height: 80px;
+ border: 4px solid #3b82f6;
+ z-index: 10;
+ box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
+ }
+
+ .image-container::before {
+ top: 40px;
+ left: 40px;
+ border-right: none;
+ border-bottom: none;
+ border-radius: 12px 0 0 0;
+ } */
+
+ .image-container::after {
+ bottom: 40px;
+ right: 40px;
+ border-left: none;
+ border-top: none;
+ border-radius: 0 0 12px 0;
+ }
+
+ /* 底部装饰 */
+ .footer {
+ grid-column: 1 / 3;
+ grid-row: 3;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding-top: 40px;
+ position: relative;
+ z-index: 2;
+ }
+
+ .footer-left {
+ display: flex;
+ gap: 20px;
+ }
+
+ .footer-dot {
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ background: #3b82f6;
+ box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
+ }
+
+ .footer-right {
+ display: flex;
+ gap: 20px;
+ }
+
+ .accent-bar {
+ height: 6px;
+ border-radius: 3px;
+ background: linear-gradient(90deg, #3b82f6, #9333ea);
+ box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
+ }
+
+ .bar-1 { width: 120px; }
+ .bar-2 { width: 80px; }
+ .bar-3 { width: 100px; }
+ </style>
+</head>
+<body>
+ <div class="bg-decoration">
+ <div class="grid-overlay"></div>
+ <div class="glow-orb orb-1"></div>
+ <div class="glow-orb orb-2"></div>
+ <div class="hexagon hex-1"></div>
+ <div class="hexagon hex-2"></div>
+ </div>
+
+ <!-- 左侧内容 -->
+ <div class="left-content">
+ <div class="badge">PROTOTYPE</div>
+ <div class="main-title">{{title}}</div>
+ <div class="description">{{text}}</div>
+ </div>
+
+ <!-- 右侧图片 -->
+ <div class="right-image">
+ <div class="image-wrapper">
+ <div class="image-container">
+ <img src="{{image}}" alt="内容图片">
+ </div>
+ </div>
+ </div>
+
+ <!-- 底部装饰 -->
+ <div class="footer">
+ <div class="footer-left">
+ <div class="footer-dot"></div>
+ <div class="footer-dot"></div>
+ <div class="footer-dot"></div>
+ </div>
+ <div class="footer-right">
+ <div class="accent-bar bar-1"></div>
+ <div class="accent-bar bar-2"></div>
+ <div class="accent-bar bar-3"></div>
+ </div>
+ </div>
+</body>
+</html>
+
--
Gitblit v1.8.0