Merge branch 'master' of http://8.155.172.147:3001/sion/video-create
1
.claude/accounts
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/Users/lc/Desktop/CLAUDE/video-create/accounts
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"jianyingDraftPath": "C:/Users/45070/AppData/Local/JianyingPro/User Data/Projects/com.lveditor.draft",
|
"jianyingDraftPath": "/Users/lc/Movies/JianyingPro/User Data/Projects/com.lveditor.draft",
|
||||||
"capcutMateDir": "C:/Users/45070/capcut-mate",
|
"capcutMateDir": "/Users/lc/capcut-mate",
|
||||||
"capcutMateApiBase": "http://capcut.muyetools.cn/openapi/capcut-mate/v1",
|
"capcutMateApiBase": "http://capcut.muyetools.cn/openapi/capcut-mate/v1",
|
||||||
"imgbbApiKey": "deprecated",
|
"imgbbApiKey": "deprecated",
|
||||||
"geminiApiBaseUrl": "https://yunwu.ai",
|
"geminiApiBaseUrl": "https://yunwu.ai",
|
||||||
|
|||||||
7
.claude/skills/video-from-script/package.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"ali-oss": "^6.23.0",
|
||||||
|
"axios": "^1.15.2",
|
||||||
|
"sharp": "^0.34.5"
|
||||||
|
}
|
||||||
|
}
|
||||||
1100
.claude/skills/video-from-script/pnpm-lock.yaml
generated
Normal file
@@ -49,7 +49,7 @@ async function phaseImages(manifest, manifestPath, options) {
|
|||||||
if (model === 'gemini') {
|
if (model === 'gemini') {
|
||||||
result = await generateGemini(item, idx, dir, imagesDir, ratio, refs)
|
result = await generateGemini(item, idx, dir, imagesDir, ratio, refs)
|
||||||
} else if (model === 'mj') {
|
} 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') {
|
} else if (model === 'kling') {
|
||||||
result = await generateKling(item, idx, dir, imagesDir, ratio, refs)
|
result = await generateKling(item, idx, dir, imagesDir, ratio, refs)
|
||||||
} else {
|
} else {
|
||||||
@@ -116,7 +116,7 @@ async function generateGemini(item, idx, dir, imagesDir, ratio, refs) {
|
|||||||
return { file }
|
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 { MJApi, ImageUtils } = require('../mj-image-generator')
|
||||||
const referenceImages = refs.urls.length > 0 ? refs.urls : []
|
const referenceImages = refs.urls.length > 0 ? refs.urls : []
|
||||||
const styleWeight = 200
|
const styleWeight = 200
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ async function phaseVideos(manifest, manifestPath, options) {
|
|||||||
? [item.url, item.lastFrameUrl]
|
? [item.url, item.lastFrameUrl]
|
||||||
: [item.url]
|
: [item.url]
|
||||||
const extraOpts = item.lastFrameUrl
|
const extraOpts = item.lastFrameUrl
|
||||||
? { aspectRatio: ratio, lastFrameUrl: item.lastFrameUrl }
|
? { aspectRatio: ratio, lastFrameUrl: item.lastFrameUrl, mode: 'pro' }
|
||||||
: { aspectRatio: ratio }
|
: { aspectRatio: ratio }
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
"description": "军事主题短视频账号,暗黑漫画风格,深紫焦橙双色调",
|
"description": "军事主题短视频账号,暗黑漫画风格,深紫焦橙双色调",
|
||||||
"pipeline": "image-video",
|
"pipeline": "image-video",
|
||||||
"defaultFormat": "9:16",
|
"defaultFormat": "9:16",
|
||||||
"imageModel": "gemini",
|
"imageModel": "mj",
|
||||||
"videoModel": "veo3-fast",
|
"videoModel": "kling",
|
||||||
"batchSize": 30,
|
"batchSize": 30,
|
||||||
"styles": {
|
"styles": {
|
||||||
"暗黑军事": {
|
"暗黑军事": {
|
||||||
"references": [
|
"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" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 969 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
3
claude-skip-permissions.command
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
claude --dangerously-skip-permissions
|
||||||