Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MemeCalculate/moyin-creator
/ functions
Functions
1,435 in github.com/MemeCalculate/moyin-creator
⨍
Functions
1,435
◇
Types & classes
419
↓ 2 callers
Function
getMoodColor
(moodLabel: string)
src/components/panels/director/scene-card.tsx:127
↓ 2 callers
Function
getSceneDuration
获取单个分镜的有效时长
src/components/panels/sclass/auto-grouping.ts:41
↓ 2 callers
Function
getScopedProviderKey
(providerId: string, scopeKey?: string)
src/lib/api-key-manager.ts:444
↓ 2 callers
Function
getSelectedStyleTokens
()
src/components/panels/director/screenplay-input.tsx:270
↓ 2 callers
Function
getStyleDescription
(styleId: string)
src/lib/constants/visual-styles.ts:656
↓ 2 callers
Function
getStyleNegativePrompt
(styleId: string | null | undefined)
src/lib/constants/visual-styles.ts:600
↓ 2 callers
Function
getStyleTokensLocal
()
src/components/panels/script/shot-list.tsx:63
↓ 2 callers
Function
getTagInfo
(tagId: EmotionTag)
src/components/panels/director/emotion-tags.tsx:29
↓ 2 callers
Function
getWorkerBridge
()
src/lib/ai/worker-bridge.ts:410
↓ 2 callers
Function
handleAddShotToSplitScenes
(shot: Shot, scene: ScriptScene)
src/components/panels/director/context-panel.tsx:370
↓ 2 callers
Function
handleAngleSwitchClick
(type: "start" | "end")
src/components/panels/director/shot-properties-panel.tsx:120
↓ 2 callers
Function
handleAngleSwitchClick
(type: "start" | "end")
src/components/panels/director/shot-grid-view.tsx:233
↓ 2 callers
Function
handleDownloadImage
(imageUrl: string, filename: string)
src/components/panels/sclass/sclass-scene-card.tsx:256
↓ 2 callers
Function
handleDownloadImage
(imageUrl: string, filename: string)
src/components/panels/director/split-scene-card.tsx:289
↓ 2 callers
Function
handleDragOver
(e: React.DragEvent)
src/components/panels/media/index.tsx:294
↓ 2 callers
Function
handleDrop
(e: React.DragEvent)
src/components/panels/media/index.tsx:287
↓ 2 callers
Function
handleEdit
(provider: IProvider)
src/components/panels/SettingsPanel.tsx:237
↓ 2 callers
Function
handleGenerateKeyframe
(shot: Shot, type: "start" | "end")
src/components/panels/director/shot-grid-view.tsx:145
↓ 2 callers
Function
handleGenerateVariation
(variation: CharacterVariation)
src/components/panels/characters/wardrobe-modal.tsx:188
↓ 2 callers
Function
handleGenerateVideo
(shot: Shot)
src/components/panels/director/shot-grid-view.tsx:190
↓ 2 callers
Function
handleOpenLink
(url: string)
src/components/UpdateDialog.tsx:43
↓ 2 callers
Function
handlePreview
(item: MediaFile)
src/components/panels/media/index.tsx:308
↓ 2 callers
Function
handleRename
()
src/components/panels/media/index.tsx:573
↓ 2 callers
Function
handleRenameConfirm
()
src/components/panels/assets/PropsLibrary.tsx:62
↓ 2 callers
Function
handleSelect
(style: StylePreset)
src/components/ui/style-picker/index.tsx:96
↓ 2 callers
Function
handleSelectSubView
(subViewId: string)
src/components/panels/director/scene-library-selector.tsx:128
↓ 2 callers
Function
handleSelectViewpoint
(viewpointId: string)
src/components/panels/director/scene-library-selector.tsx:115
↓ 2 callers
Function
imageUrlToBase64
(url: string)
src/lib/ai/image-generator.ts:1008
↓ 2 callers
Function
isAppleDevice
()
src/lib/utils.ts:73
↓ 2 callers
Method
isFrameValid
(frame: CachedFrame, time: number)
src/lib/video-cache.ts:115
↓ 2 callers
Function
isGreenPixel
* Check if a pixel is bright green (grid separator color #00FF00)
src/lib/storyboard/image-splitter.ts:72
↓ 2 callers
Method
isIndexedDBSupported
()
src/lib/storage/storage-service.ts:498
↓ 2 callers
Function
isLocalImageSource
(value?: string | null)
src/components/panels/director/split-scenes.tsx:112
↓ 2 callers
Method
isOPFSSupported
()
src/lib/storage/storage-service.ts:494
↓ 2 callers
Function
isRecord
(value: unknown)
electron/main.ts:521
↓ 2 callers
Function
isRecord
(value: unknown)
src/lib/image-host.ts:70
↓ 2 callers
Function
isSubdirectory
(parentPath: string, childPath: string)
electron/main.ts:273
↓ 2 callers
Function
isTransientUrl
(u?: string)
src/stores/media-store.ts:664
↓ 2 callers
Function
lookupStatic
* 仅从静态注册表查找(不查缓存)
src/lib/ai/model-registry.ts:147
↓ 2 callers
Function
mapScriptCharacterIdsToLibraryIds
(scriptCharIds: string[], characterNames?: string[])
src/components/panels/director/context-panel.tsx:154
↓ 2 callers
Function
maskApiKey
(key: string)
src/lib/api-key-manager.ts:242
↓ 2 callers
Function
matchByKeyword
* 使用关键词快速匹配视角
src/lib/scene/viewpoint-matcher.ts:97
↓ 2 callers
Function
matchByViewpointNameKeywords
* 使用视角名称的关键词模糊匹配动作描述 * 用于自定义视角名称(如"大巴车窗视角")与动作描述的匹配
src/lib/scene/viewpoint-matcher.ts:220
↓ 2 callers
Function
migrateProjectData
(pd: any)
src/stores/sclass-store.ts:824
↓ 2 callers
Function
migrateRecordStore
( legacyKey: string, storeName: string, projectIds: string[], )
src/lib/storage-migration.ts:107
↓ 2 callers
Function
normalizeBaseUrl
(baseUrl: string)
src/lib/ai/runninghub-client.ts:13
↓ 2 callers
Function
normalizeDirectorProjectData
(project: any)
src/stores/director-store.ts:617
↓ 2 callers
Function
normalizeEpisodeMarkers
* 集标记归一化 * 第X章 → 第X集、EP.X → 第X集 等
src/lib/script/script-normalizer.ts:561
↓ 2 callers
Function
normalizeProjectData
(project: any)
src/stores/sclass-store.ts:342
↓ 2 callers
Function
normalizeResolutionForGemini
* 规范化分辨率值为 Gemini 官方要求的格式 * 官方要求大写 K(例如 1K、2K、4K),小写会被拒绝
src/lib/ai/image-generator.ts:120
↓ 2 callers
Function
normalizeScriptProjectData
(projectId: string, projectData: any)
src/stores/script-store.ts:203
↓ 2 callers
Function
normalizeUrl
(url: any)
src/stores/media-store.ts:654
↓ 2 callers
Function
normalizeVersionParts
(version: string)
electron/main.ts:63
↓ 2 callers
Method
off
* Remove event handler
src/lib/ai/worker-bridge.ts:91
↓ 2 callers
Function
parseDataUrl
(dataUrl: string)
electron/main.ts:573
↓ 2 callers
Function
parseSceneQuery
* 解析用户输入,提取场景名和集数信息
src/lib/script/ai-scene-finder.ts:49
↓ 2 callers
Function
parseUserQuery
* 解析用户输入,提取角色名和集数信息
src/lib/script/ai-character-finder.ts:49
↓ 2 callers
Function
pickFeatureConfig
(feature: AIFeature, requestedModel?: string)
src/lib/freedom/freedom-api.ts:160
↓ 2 callers
Function
pollForResult
( pollUrl: string, apiKey: string, interval: number, maxAttempts: number )
src/lib/freedom/freedom-api.ts:1603
↓ 2 callers
Function
pollTaskCompletion
* Poll task status until completion * API: GET /v1/tasks/{task_id} * Response: data.result.images[0].url[0] for images
src/lib/storyboard/storyboard-service.ts:243
↓ 2 callers
Function
pollTaskCompletion
* Helper: Poll task status until completion
src/workers/ai-worker.ts:335
↓ 2 callers
Function
pollTaskStatus
* Poll task status until completion
src/lib/script/shot-generator.ts:38
↓ 2 callers
Function
pollTaskStatus
* Poll task status until completion
src/lib/ai/image-generator.ts:698
↓ 2 callers
Function
preprocessLineBreaks
(text: string)
src/lib/script/script-normalizer.ts:38
↓ 2 callers
Function
processFiles
(files: FileList | File[])
src/components/panels/media/index.tsx:254
↓ 2 callers
Function
readImageSource
(imageData: string)
electron/main.ts:636
↓ 2 callers
Function
recoverRecordStore
* Compare legacy monolithic store with per-project files. * If legacy has richer data for a project, restore it.
src/lib/storage-migration.ts:301
↓ 2 callers
Function
removeFromIndexedDB
(name: string)
src/lib/indexed-db-storage.ts:183
↓ 2 callers
Function
removeTag
(tagId: EmotionTag)
src/components/panels/director/emotion-tags.tsx:49
↓ 2 callers
Function
renderPreview
(item: MediaFile)
src/components/panels/media/index.tsx:609
↓ 2 callers
Method
renderSampleToCanvas
(sample: VideoSample, sinkData: VideoSinkData)
src/lib/video-cache.ts:62
↓ 2 callers
Method
replaceCurrentFrame
( sinkData: VideoSinkData, frame: CachedFrame )
src/lib/video-cache.ts:47
↓ 2 callers
Function
resetPageTasksToError
(pageTasks: GridTask[], errorMsg: string)
src/components/panels/sclass/sclass-scenes.tsx:2507
↓ 2 callers
Function
resetPageTasksToError
(pageTasks: GridTask[], errorMsg: string)
src/components/panels/director/split-scenes.tsx:2828
↓ 2 callers
Function
resolveImageToBase64
* Resolve various image URL formats to base64 data URI for API submission.
src/components/panels/characters/wardrobe-modal.tsx:790
↓ 2 callers
Function
resolveKlingModelName
* Resolve kling model name for API requests. * Composite IDs like 'kling-image-v1-5' → 'kling-v1-5' (MemeFast version ID). * Video version IDs (kl
src/lib/freedom/freedom-api.ts:540
↓ 2 callers
Function
rotateVertex
(v: { x: number; y: number; z: number }, angle: number)
src/components/angle-switch/AngleController.tsx:264
↓ 2 callers
Function
runCalibration
( groupId: string, scenes: SplitScene[], characters: Character[], sceneLibrary: Scene[], )
src/components/panels/sclass/sclass-calibrator.ts:177
↓ 2 callers
Function
saveVideoLocally
(videoUrl: string, sceneId: number)
src/components/panels/director/use-video-generation.ts:1300
↓ 2 callers
Function
sceneHasTextDescription
* Check if a scene has enough text description to skip Vision API
src/lib/storyboard/scene-prompt-generator.ts:82
↓ 2 callers
Function
scheduleAutoClean
()
electron/main.ts:386
↓ 2 callers
Function
searchCharacterInScripts
* 从剧本中搜索角色
src/lib/script/ai-character-finder.ts:110
↓ 2 callers
Function
searchSceneInScripts
* 从剧本中搜索场景
src/lib/script/ai-scene-finder.ts:102
↓ 2 callers
Function
sleep
(ms: number)
src/lib/image-host.ts:102
↓ 2 callers
Function
sortByImportance
(scenes: CalibratedScene[])
src/lib/script/scene-calibrator.ts:701
↓ 2 callers
Function
startSeek
()
src/components/panels/director/use-video-generation.ts:1415
↓ 2 callers
Function
submitViaChatCompletions
* Generate image via /v1/chat/completions (multimodal) * Used for Gemini image models that don't support /v1/images/generations * * 分辨率处理策略: *
src/lib/ai/image-generator.ts:274
↓ 2 callers
Function
submitViaKlingImages
* Kling image 原生端点生成 * 提交到 /kling/v1/images/generations 或 /kling/v1/images/omni-image * 轮询到 /kling/v1/images/{path}/{task_id}
src/lib/ai/image-generator.ts:925
↓ 2 callers
Function
toSoraSize
* Convert aspect ratio + resolution to Sora pixel size (e.g. '1280x720')
src/components/panels/director/use-video-generation.ts:1124
↓ 2 callers
Function
toggleCharacterSelection
(character: Character)
src/components/panels/director/screenplay-input.tsx:327
↓ 2 callers
Function
toggleElement
(elementId: SheetElementId)
src/components/panels/characters/character-generator.tsx:74
↓ 2 callers
Function
toggleExpanded
(id: string)
src/components/panels/SettingsPanel.tsx:232
↓ 2 callers
Function
updateProviderKeys
(providerId: string, apiKey: string, scopeKey?: string)
src/lib/api-key-manager.ts:466
↓ 2 callers
Function
uploadBase64Image
(imageData: string)
src/lib/utils/image-upload.ts:18
↓ 2 callers
Function
useChart
()
src/components/ui/chart.tsx:81
↓ 2 callers
Function
useIsGenerating
()
src/stores/director-store.ts:2234
↓ 2 callers
Function
useOverallProgress
()
src/stores/director-store.ts:2215
↓ 2 callers
Function
validateVeoVideoUploads
( model: string, endpointTypes: string[] | undefined, uploadFiles?: FreedomVideoUploadFile[], )
src/lib/freedom/freedom-api.ts:959
↓ 1 callers
Function
_generateFreedomImageInner
( params: FreedomImageParams )
src/lib/freedom/freedom-api.ts:334
↓ 1 callers
Function
_generateFreedomVideoInner
( params: FreedomVideoParams )
src/lib/freedom/freedom-api.ts:849
← previous
next →
301–400 of 1,435, ranked by callers