ai-cut/app/utils/storyboard/styles.ts

68 lines
1.7 KiB
TypeScript
Raw Normal View History

2025-12-16 10:08:51 +00:00
/**
*
*/
import type { StylePreset } from '~/types/storyboard'
/**
*
*/
export const STYLE_PRESETS: StylePreset[] = [
{
id: 'simpsons',
name: '辛普森家庭',
description: '美式卡通風格,鮮豔色彩,簡化線條',
keywords: ['cartoon', 'yellow', 'simplified', 'vibrant']
},
{
id: 'anime',
name: '日式動漫',
description: '日式動畫風格,大眼睛,精緻細節',
keywords: ['anime', 'manga', 'detailed', 'expressive']
},
{
id: 'pixar',
name: '皮克斯',
description: '3D 動畫風格,寫實光影,豐富細節',
keywords: ['3d', 'realistic', 'lighting', 'detailed']
},
{
id: 'minimalist',
name: '極簡風格',
description: '簡約線條,少數色彩,乾淨設計',
keywords: ['minimal', 'clean', 'simple', 'geometric']
},
{
id: 'noir',
name: '黑色電影',
description: '高對比黑白,戲劇性光影,復古氛圍',
keywords: ['black', 'white', 'dramatic', 'vintage']
},
{
id: 'cyberpunk',
name: '賽博龐克',
description: '霓虹色彩,未來科技,都市夜景',
keywords: ['neon', 'futuristic', 'tech', 'urban']
},
{
id: 'watercolor',
name: '水彩風格',
description: '柔和色彩,流動筆觸,藝術感',
keywords: ['watercolor', 'soft', 'artistic', 'flowing']
},
{
id: 'realistic',
name: '寫實風格',
description: '真實光影,細節豐富,電影級質感',
keywords: ['realistic', 'photorealistic', 'cinematic', 'detailed']
}
]
/**
*
*/
export function getStylePreset(id: string): StylePreset | undefined {
return STYLE_PRESETS.find(s => s.id === id)
}