MCPcopy Create free account

hub / github.com/MemeCalculate/moyin-creator / functions

Functions1,435 in github.com/MemeCalculate/moyin-creator

↓ 3 callersFunctionhasExactEndpoint
(name: string)
src/lib/freedom/freedom-api.ts:192
↓ 3 callersFunctionhasRichData
(jsonStr: string | null)
src/lib/indexed-db-storage.ts:32
↓ 3 callersFunctionisContentModerationError
(error: string | Error | unknown)
src/components/panels/director/use-video-generation.ts:45
↓ 3 callersFunctionisHttpUrl
(value: string)
electron/main.ts:504
↓ 3 callersFunctionisHttpUrl
(value: string)
src/lib/image-host.ts:49
↓ 3 callersFunctionisNanoBananaProModel
(model?: string | null)
src/components/panels/director/split-scenes.tsx:172
↓ 3 callersFunctionisValidCharacterName
* 检查是否为有效角色名(放宽过滤,让 AI 做智能校准)
src/lib/script/episode-parser.ts:891
↓ 3 callersFunctionisVeoModel
(model: string)
src/lib/freedom/veo-capability.ts:34
↓ 3 callersMethodloadSavedSounds
()
src/lib/storage/storage-service.ts:406
↓ 3 callersFunctionmigrateFlatStore
( legacyKey: string, storeName: string, projectIds: string[], config: FlatMigrationConfig, )
src/lib/storage-migration.ts:162
↓ 3 callersFunctionnormalizeImageHostProvider
(provider: ImageHostProvider)
src/stores/api-config-store.ts:285
↓ 3 callersFunctionparseScenes
(episodeText: string)
src/lib/script/episode-parser.ts:362
↓ 3 callersFunctionproject3D
(x: number, y: number, z: number, scale: number = 1)
src/components/angle-switch/AngleController.tsx:254
↓ 3 callersFunctionrenderTagGroup
( title: string, tags: readonly { id: string; label: string; emoji: string }[] )
src/components/panels/director/emotion-tags.tsx:57
↓ 3 callersFunctionrenderUploadSlot
( label: string, asset: LocalUploadAsset | null, onPick: () => void, onClear: () => void,
src/components/panels/freedom/VideoStudio.tsx:289
↓ 3 callersFunctionresolveImageApiFormat
(endpointTypes: string[] | undefined, modelName?: string)
src/lib/api-key-manager.ts:160
↓ 3 callersFunctionresolveSafeScriptCharacters
( preferredCharacters: ScriptCharacter[], options?: { existingCharacters?: ScriptCharacter[]; seri
src/lib/script/character-calibrator.ts:836
↓ 3 callersFunctionrun
(command, args)
scripts/build-desktop.mjs:54
↓ 3 callersFunctionrunStaggered
( tasks: (() => Promise<T>)[], maxConcurrent: number, staggerMs: number = 5000 )
src/lib/utils/concurrency.ts:27
↓ 3 callersFunctionsaveVideoToLocal
( url: string, filename: string = 'video.mp4' )
src/lib/image-storage.ts:186
↓ 3 callersFunctionshouldRefreshImageViaCurrentHost
(localUrl?: string | null)
src/components/panels/director/split-scenes.tsx:126
↓ 3 callersFunctionsplitMultipleCharacters
* 拆分多人组合名字,如 "张明、老周" -> ["张明", "老周"]
src/lib/script/episode-parser.ts:880
↓ 3 callersFunctionstartEditing
(type: 'image' | 'video' | 'endFrame')
src/components/panels/sclass/sclass-scene-card.tsx:182
↓ 3 callersFunctionstartEditing
(type: 'image' | 'video' | 'endFrame')
src/components/panels/director/split-scene-card.tsx:195
↓ 3 callersFunctionswitchProject
(newProjectId: string)
src/lib/project-switcher.ts:39
↓ 3 callersFunctionsyncToSeriesMeta
( meta: SeriesMeta, syncType: CalibrationSyncType, results: { characters?: ScriptCharacter[];
src/lib/script/series-meta-sync.ts:198
↓ 3 callersFunctiontranslateToken
( mediaType: MediaType, field: CinematographyField, presetId: string, originalToken: string, )
src/lib/generation/media-type-tokens.ts:185
↓ 3 callersFunctionwriteMigrationFlag
()
src/lib/storage-migration.ts:366
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:61
↓ 2 callersFunctionanalyzeSceneViewpoints
( scene: ScriptScene, shots: Shot[], options?: ViewpointAnalysisOptions )
src/lib/script/viewpoint-analyzer.ts:49
↓ 2 callersFunctionapplyEdit
()
src/components/ui/editable-timecode.tsx:53
↓ 2 callersFunctionapplyPromptLanguageToShotPrompts
* 根据用户选择的提示词语言,清理/保留分镜提示词字段,避免语言切换后残留旧字段
src/lib/script/full-script-service.ts:1280
↓ 2 callersFunctionbase64ToBlob
(base64Data: string, mimeType = 'image/png')
src/lib/image-host.ts:106
↓ 2 callersFunctionbuildAliasIndex
Build a reverse index: registryId/alias → registry model (O(1) lookup)
src/lib/freedom/model-registry.ts:1393
↓ 2 callersFunctionbuildCinemaPrompt
( basePrompt: string, camera: string, lens: string, focalLength: number, aperture: string, )
src/lib/freedom/camera-dictionary.ts:86
↓ 2 callersFunctionbuildCinematographyGuidance
(profileId: string)
src/lib/constants/cinematography-profiles.ts:436
↓ 2 callersFunctionbuildDirectorManifest
* Build manifest for Director export
src/lib/script/export-service.ts:440
↓ 2 callersFunctionbuildEndpoint
(baseUrl: string, path: string)
src/lib/ai/image-generator.ts:31
↓ 2 callersFunctionbuildGroupPrompt
(options: BuildGroupPromptOptions)
src/components/panels/sclass/sclass-prompt-builder.ts:579
↓ 2 callersFunctionbuildManifest
* Build export manifest JSON
src/lib/script/export-service.ts:144
↓ 2 callersFunctionbuildPromptWithCharacters
()
src/components/panels/director/screenplay-input.tsx:351
↓ 2 callersFunctionbuildReferencePriorityHint
(model: string | undefined, hasCharacterReferences: boolean)
src/components/panels/director/split-scenes.tsx:200
↓ 2 callersFunctionbuildScenePrompt
( scene: Partial<Scene> & { styleId?: string }, actionDescriptions?: string[] )
src/components/panels/scenes/generation-panel.tsx:3397
↓ 2 callersFunctionbuildStoryboardPrompt
(config: StoryboardPromptConfig)
src/lib/storyboard/prompt-builder.ts:32
↓ 2 callersFunctioncalibrateCharacters
( rawCharacters: ScriptCharacter[], background: ProjectBackground, episodeScripts: EpisodeRawScript[]
src/lib/script/character-calibrator.ts:270
↓ 2 callersFunctioncalibrateEpisodeShots
( episodeIndex: number, projectId: string, options: ShotCalibrationOptions, onProgress?: (current:
src/lib/script/full-script-service.ts:1331
↓ 2 callersFunctioncalibrateEpisodeTitles
( projectId: string, _options?: CalibrationOptions, // 不再需要,保留以兼容 onProgress?: (current: number, tota
src/lib/script/full-script-service.ts:1112
↓ 2 callersFunctioncalibrateScenes
( currentScenes: ScriptScene[], background: ProjectBackground, episodeScripts: EpisodeRawScript[],
src/lib/script/scene-calibrator.ts:257
↓ 2 callersFunctioncalibrateShotsMultiStage
( shots: ShotInputData[], options: CalibrationOptions, globalContext: GlobalContext, onStageProgre
src/lib/script/shot-calibration-stages.ts:71
↓ 2 callersFunctioncaptureFrame
()
src/components/panels/director/use-video-generation.ts:1363
↓ 2 callersFunctioncleanLocationString
* 清理场景地点字符串,移除人物信息等无关内容
src/lib/script/scene-calibrator.ts:234
↓ 2 callersMethodcloseFrame
(frame: CachedFrame | null)
src/lib/video-cache.ts:41
↓ 2 callersFunctioncollectFirstFrameRefs
(scenes: SplitScene[])
src/components/panels/sclass/sclass-prompt-builder.ts:281
↓ 2 callersFunctioncollectOptimizedRefsFromTasks
(pageTasks: GridTask[])
src/components/panels/director/split-scenes.tsx:2384
↓ 2 callersFunctioncollectRefsFromTasks
(pageTasks: GridTask[])
src/components/panels/sclass/sclass-scenes.tsx:2101
↓ 2 callersFunctioncollectSceneRefs
( scenes: SplitScene[], sceneLibrary: Scene[], )
src/components/panels/sclass/sclass-prompt-builder.ts:229
↓ 2 callersFunctionconvertBlobToBase64
(blob: Blob)
src/lib/ai/image-generator.ts:1029
↓ 2 callersFunctionconvertToHttpUrl
( rawUrl: any, options?: { localFallback?: string | null; frameLabel?: string } )
src/components/panels/director/split-scenes.tsx:1638
↓ 2 callersFunctionconvertToScriptCharacters
( calibrated: CalibratedCharacter[], originalCharacters?: ScriptCharacter[], promptLanguage: PromptLangu
src/lib/script/character-calibrator.ts:761
↓ 2 callersFunctioncopyDirSync
* Recursively copy a directory. * Uses fs.cpSync which is available in Node 16.7+.
electron/main.ts:1615
↓ 2 callersFunctioncreateWindow
()
electron/main.ts:160
↓ 2 callersMethoddeleteMediaFile
({ projectId, id, }: { projectId: string; id: string; })
src/lib/storage/storage-service.ts:277
↓ 2 callersMethoddeleteProjectMedia
({ projectId, }: { projectId: string; })
src/lib/storage/storage-service.ts:293
↓ 2 callersMethoddeleteProjectTimeline
({ projectId, }: { projectId: string; })
src/lib/storage/storage-service.ts:343
↓ 2 callersFunctiondetectAmbientSound
* 检测环境音
src/lib/script/full-script-service.ts:965
↓ 2 callersFunctiondetectGenre
* 从大纲和人物小传中检测剧本类型(genre) * 通用检测,不硬编码具体类型名,而是通过关键词模式匹配
src/lib/script/episode-parser.ts:209
↓ 2 callersFunctiondetectMultiStageHints
(outline: string, totalEpisodes: number)
src/lib/script/character-stage-analyzer.ts:221
↓ 2 callersFunctiondetectWeather
* 从场景内容和动作描写中检测天气
src/lib/script/episode-parser.ts:542
↓ 2 callersFunctionensureDir
(dirPath)
scripts/prepare-demo-data.cjs:28
↓ 2 callersFunctionexecuteBatchWithRetry
* 执行单个批次,带重试(指数退避,最多 MAX_BATCH_RETRIES 次)
src/lib/ai/batch-processor.ts:292
↓ 2 callersFunctionexportProjectToFolder
( config: ExportConfig, onProgress?: (progress: ExportProgress) => void )
src/lib/script/export-service.ts:276
↓ 2 callersFunctionextractEpisodeSummary
* 从集内容中提取摘要
src/lib/script/full-script-service.ts:1075
↓ 2 callersFunctionextractPersonality
* 从描述中提取性格特点
src/lib/script/episode-parser.ts:828
↓ 2 callersFunctionextractSpatialAssets
(scene: Scene)
src/components/panels/scenes/generation-panel.tsx:2082
↓ 2 callersFunctionextractTraits
* 从描述中提取核心特质
src/lib/script/episode-parser.ts:841
↓ 2 callersFunctionfindMatchingParentScenes
* 查找匹配的场景库场景(父场景)
src/lib/scene/viewpoint-matcher.ts:189
↓ 2 callersFunctionfindMatchingSceneAndViewpointQuick
(shot: Shot, scene: ScriptScene, shotIndexInScene?: number)
src/components/panels/director/context-panel.tsx:213
↓ 2 callersFunctionfindSegments
(profile: Float32Array, length: number, expectedCount?: number)
src/lib/storyboard/image-splitter.ts:171
↓ 2 callersFunctionflush
()
src/components/panels/sclass/auto-grouping.ts:85
↓ 2 callersFunctionfreedomRetry
* Retry an operation with exponential backoff for retryable errors. * 支持 keyManager:遇到可重试错误时先触发 key 轮换,下次重试自动使用新 key。
src/lib/freedom/freedom-api.ts:113
↓ 2 callersFunctiongenerateEpisodeShots
( episodeIndex: number, projectId: string, options: GenerateShotsOptions, onProgress?: (message: s
src/lib/script/full-script-service.ts:376
↓ 2 callersFunctiongenerateEpisodeSynopses
( projectId: string, _options?: CalibrationOptions, // 不再需要,保留以兼容 onProgress?: (current: number, tota
src/lib/script/full-script-service.ts:2261
↓ 2 callersFunctiongenerateFreedomImage
( params: FreedomImageParams )
src/lib/freedom/freedom-api.ts:327
↓ 2 callersFunctiongenerateGridAndSlice
( pageTasks: GridTask[], refs: string[] )
src/components/panels/sclass/sclass-scenes.tsx:2223
↓ 2 callersFunctiongenerateGridAndSlice
( pageTasks: GridTask[], refs: string[] )
src/components/panels/director/split-scenes.tsx:2531
↓ 2 callersFunctiongenerateImage
* Core image generation function * Uses the provider bound to the feature via service mapping
src/lib/ai/image-generator.ts:157
↓ 2 callersFunctiongeneratePromptFromText
* Generate prompt from text description (no API call)
src/lib/storyboard/scene-prompt-generator.ts:128
↓ 2 callersFunctiongenerateScenePrompts
( config: ScenePromptRequest )
src/lib/storyboard/scene-prompt-generator.ts:192
↓ 2 callersFunctiongenerateShotImage
( shot: Shot, config: ShotGenerationConfig, onProgress?: (progress: number) => void )
src/lib/script/shot-generator.ts:134
↓ 2 callersFunctiongenerateVideoThumbnail
( file: File )
src/stores/media-store.ts:151
↓ 2 callersFunctiongetAllFeatureConfigs
(feature: AIFeature)
src/lib/ai/feature-router.ts:107
↓ 2 callersFunctiongetBrandIcon
(brandId: string, size = 16)
src/components/api-manager/brand-icons/index.tsx:31
↓ 2 callersFunctiongetBrandInfo
(brandId: string)
src/lib/brand-mapping.ts:157
↓ 2 callersFunctiongetCacheDirs
()
electron/main.ts:323
↓ 2 callersFunctiongetDirectorySize
(dirPath: string)
electron/main.ts:332
↓ 2 callersFunctiongetEnergyProfile
( data: Uint8ClampedArray, width: number, height: number, axis: 'x' | 'y' )
src/lib/storyboard/image-splitter.ts:81
↓ 2 callersFunctiongetExportStats
(shots: Shot[])
src/lib/script/export-service.ts:383
↓ 2 callersFunctiongetFolderIcon
(folder: MediaFolder)
src/components/panels/media/index.tsx:80
↓ 2 callersFunctiongetMediaTypeGuidance
(mediaType: MediaType)
src/lib/generation/media-type-tokens.ts:222
↓ 2 callersFunctiongetModelLimits
(modelName: string)
src/lib/ai/model-registry.ts:125
← previousnext →201–300 of 1,435, ranked by callers