Compare commits

..

3 Commits

Author SHA1 Message Date
lc
9c6cffe575 chore: 添加 accounts、skill 依赖及权限跳过脚本
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 22:56:32 +08:00
lc
c7a6d69331 fix(phase-images): 修正 generateMJ 参数顺序与函数体一致
上游新增 manifest 参数时签名与 saveManifest 调用顺序不一致,
导致运行时 manifestPath/manifest 位置颠倒。统一为 manifestPath, manifest。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 22:53:35 +08:00
lc
d800441e86 chore: 迁移配置到 macOS 并清理废弃参考素材
- 更新 config.json 路径从 Windows 切换到 macOS
- phase-videos.js 添加 mode: 'pro' 参数
- 删除禁忌帝王学账号下废弃的 grunge/manga/popart 参考图

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 22:49:49 +08:00
19 changed files with 1119 additions and 8 deletions

1
.claude/accounts Symbolic link
View File

@@ -0,0 +1 @@
/Users/lc/Desktop/CLAUDE/video-create/accounts

View File

@@ -1,6 +1,6 @@
{
"jianyingDraftPath": "C:/Users/45070/AppData/Local/JianyingPro/User Data/Projects/com.lveditor.draft",
"capcutMateDir": "C:/Users/45070/capcut-mate",
"jianyingDraftPath": "/Users/lc/Movies/JianyingPro/User Data/Projects/com.lveditor.draft",
"capcutMateDir": "/Users/lc/capcut-mate",
"capcutMateApiBase": "http://capcut.muyetools.cn/openapi/capcut-mate/v1",
"imgbbApiKey": "deprecated",
"geminiApiBaseUrl": "https://yunwu.ai",

View File

@@ -0,0 +1,7 @@
{
"dependencies": {
"ali-oss": "^6.23.0",
"axios": "^1.15.2",
"sharp": "^0.34.5"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -49,7 +49,7 @@ async function phaseImages(manifest, manifestPath, options) {
if (model === 'gemini') {
result = await generateGemini(item, idx, dir, imagesDir, ratio, refs)
} else if (model === 'mj') {
result = await generateMJ(item, idx, dir, imagesDir, ratio, refs, manifest, manifestPath)
result = await generateMJ(item, idx, dir, imagesDir, ratio, refs, manifestPath, manifest)
} else if (model === 'kling') {
result = await generateKling(item, idx, dir, imagesDir, ratio, refs)
} else {
@@ -116,7 +116,7 @@ async function generateGemini(item, idx, dir, imagesDir, ratio, refs) {
return { file }
}
async function generateMJ(item, idx, dir, imagesDir, ratio, refs, manifest, manifestPath) {
async function generateMJ(item, idx, dir, imagesDir, ratio, refs, manifestPath, manifest) {
const { MJApi, ImageUtils } = require('../mj-image-generator')
const referenceImages = refs.urls.length > 0 ? refs.urls : []
const styleWeight = 200

View File

@@ -95,7 +95,7 @@ async function phaseVideos(manifest, manifestPath, options) {
? [item.url, item.lastFrameUrl]
: [item.url]
const extraOpts = item.lastFrameUrl
? { aspectRatio: ratio, lastFrameUrl: item.lastFrameUrl }
? { aspectRatio: ratio, lastFrameUrl: item.lastFrameUrl, mode: 'pro' }
: { aspectRatio: ratio }
try {

View File

@@ -4,13 +4,13 @@
"description": "军事主题短视频账号,暗黑漫画风格,深紫焦橙双色调",
"pipeline": "image-video",
"defaultFormat": "9:16",
"imageModel": "gemini",
"videoModel": "veo3-fast",
"imageModel": "mj",
"videoModel": "kling",
"batchSize": 30,
"styles": {
"暗黑军事": {
"references": [
{ "file": "popart_bl.png", "url": "https://muye-ai-chat.oss-cn-hangzhou.aliyuncs.com/tmp/popart_bl.png?OSSAccessKeyId=LTAI5tPV9Ag3csf41GZjaLTA&Expires=1809013497&Signature=Gwr8RDdjmrQtHAAHTcqkRxAcPv4%3D" }
{ "file": "grunge_br.png", "url": "https://muye-ai-chat.oss-cn-hangzhou.aliyuncs.com/tmp/grunge_br.png?OSSAccessKeyId=LTAI5tPV9Ag3csf41GZjaLTA&Expires=1809176475&Signature=lFfcYyOD2M4T%2F4xYAigkYsTu9%2Fc%3D" }
]
}
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 969 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

View File

@@ -0,0 +1,3 @@
#!/bin/bash
cd "$(dirname "$0")"
claude --dangerously-skip-permissions