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
Method
constructor
(directoryName = "media")
src/lib/storage/opfs-adapter.ts:9
Method
constructor
()
src/lib/ai/worker-bridge.ts:38
Function
convertDesignToVariations
(design: CharacterDesign)
src/lib/character/character-prompt-service.ts:361
Function
convertShotsToSplitScenes
( shots: Shot[], sceneName?: string )
src/lib/script/trailer-service.ts:271
Function
convertStagesToVariations
( analysis: CharacterStageAnalysis )
src/lib/script/character-stage-analyzer.ts:169
Method
createFromAnalysis
* Create character from analysis result
src/packages/ai-core/services/character-bible.ts:160
Function
createIndex
()
src/lib/storyboard/image-splitter.ts:681
Function
createInitialBatchProgress
()
src/components/BatchProgressOverlay.tsx:89
Function
createRateLimitedFn
( fn: T, minDelayMs: number = 3000 )
src/lib/utils/rate-limiter.ts:74
Function
cropEdgeMargin
( canvas: HTMLCanvasElement, marginPercent: number = 0.03 )
src/lib/storyboard/image-splitter.ts:468
Function
defaultItemOutputEstimator
()
src/lib/ai/batch-processor.ts:147
Function
defaultItemTokenEstimator
(item: TItem)
src/lib/ai/batch-processor.ts:146
Method
deleteCharacter
* Delete character
src/packages/ai-core/services/character-bible.ts:118
Function
deleteLocalImage
(localPath: string)
src/lib/image-storage.ts:93
Method
deleteProject
({ id }: { id: string })
src/lib/storage/storage-service.ts:160
Function
detectEnvironmentType
(location: string)
src/lib/script/scene-viewpoint-generator.ts:163
Function
detectGrid
( img: HTMLImageElement, expectedCols?: number, expectedRows?: number )
src/lib/storyboard/image-splitter.ts:269
Method
enqueue
* Add a task to the queue * Returns a promise that resolves when the task completes
src/packages/ai-core/api/task-queue.ts:48
Method
executeScene
* Execute a single scene * @param characterReferenceImages - Array of character reference image URLs or base64 strings
src/lib/ai/worker-bridge.ts:157
Method
executeScreenplay
* Execute entire screenplay (images + videos)
src/lib/ai/worker-bridge.ts:179
Method
exportAll
* Export all characters for persistence
src/packages/ai-core/services/character-bible.ts:191
Function
extractJson
(text: string)
src/lib/utils/json-cleaner.ts:88
Function
findMatchingSceneAndViewpointWithAI
(sceneName: string, actionSummary: string)
src/components/panels/director/context-panel.tsx:365
Function
findViewpointInLibrary
(sceneName: string, viewpointName: string)
src/components/panels/director/context-panel.tsx:305
Function
formatTime
(seconds: number)
src/stores/simple-timeline-store.ts:173
Function
generateAllAnglePresets
()
src/lib/ai/runninghub-angles.ts:127
Function
generateCharacterDesign
( characterId: string, projectId: string, _options?: CharacterDesignOptions // 不再需要,保留以兼容 )
src/lib/character/character-prompt-service.ts:80
Function
generateCharacterImage
(params: ImageGenerationParams)
src/lib/ai/image-generator.ts:142
Function
generateConsistencyPrompt
(character: CharacterBible)
src/packages/ai-core/services/character-bible.ts:233
Method
generateImage
* Submit image generation task
src/packages/ai-core/providers/types.ts:49
Function
generateImageForSceneMerged
( sceneId: number, prompt: string, apiKey: string, aspect: '16:9'|'9:16', isEndFrame:
src/components/panels/sclass/sclass-scenes.tsx:2603
Function
generateImageForSceneMerged
( sceneId: number, prompt: string, apiKey: string, aspect: '16:9'|'9:16', isEndFrame:
src/components/panels/director/split-scenes.tsx:2938
Function
generateMultiPageContactSheetData
( config: ContactSheetConfig, shots: Shot[] // 用于获取分镜序号 )
src/lib/script/scene-viewpoint-generator.ts:979
Function
generateSceneImage
(params: ImageGenerationParams)
src/lib/ai/image-generator.ts:149
Function
generateVariationsFromDesign
(design: CharacterDesign)
src/lib/character/character-prompt-service.ts:383
Method
generateVideo
* Submit video generation task
src/packages/ai-core/providers/types.ts:64
Method
get
(key: string)
src/lib/storage/indexeddb-adapter.ts:33
Method
get
(key: string)
src/lib/storage/opfs-adapter.ts:20
Function
getAbsoluteImagePath
(localPath: string)
src/lib/image-storage.ts:161
Function
getAllFeatureStatuses
()
src/lib/ai/feature-router.ts:329
Function
getAllT2IModels
()
src/lib/freedom/model-registry.ts:1379
Function
getAllT2VModels
()
src/lib/freedom/model-registry.ts:1384
Function
getBoundPlatformAndModel
* Get the platform and model from featureBindings (first binding) * featureBindings now stores: string[] (array of platform:model) * 这个函数仅用于兼容旧代码,
src/lib/ai/feature-router.ts:78
Function
getCellRatio
* Get cell aspect ratio multiplier * For 16:9, cell width = height * 16/9 * For 9:16, cell height = width * 16/9
src/lib/storyboard/grid-calculator.ts:54
Method
getCharacter
* Get character by ID
src/packages/ai-core/services/character-bible.ts:103
Function
getCharacterPromptForEpisode
( design: CharacterDesign, episodeIndex: number )
src/lib/character/character-prompt-service.ts:321
Function
getCharacterReferenceImages
( characterIds: string[], variationMap?: Record<string, string>, )
src/components/panels/director/use-image-generation.ts:53
Function
getCharacterUpdatesFromDesign
(design: CharacterDesign)
src/lib/character/character-prompt-service.ts:399
Method
getCharactersForScreenplay
* Get all characters for a screenplay
src/packages/ai-core/services/character-bible.ts:110
Function
getCurrentProject
(state: DirectorState)
src/stores/director-store.ts:655
Function
getCurrentProject
(state: SClassState)
src/stores/sclass-store.ts:337
Function
getDefaultViewpointsForEnvironment
* 根据环境类型获取默认视角列表 * 用于在提取的视角不足时补充
src/lib/script/scene-viewpoint-generator.ts:734
Function
getEpisodeGenerationSummary
(projectId: string)
src/lib/script/full-script-service.ts:1008
Method
getFrameAt
( mediaId: string, file: File, time: number )
src/lib/video-cache.ts:85
Function
getMediaAspectRatio
(item: MediaFile)
src/stores/media-store.ts:225
Function
getPlatformAlternateKey
()
src/lib/utils.ts:81
Function
getPlatformSpecialKey
()
src/lib/utils.ts:77
Method
getProjectStorageInfo
({ projectId }: { projectId: string })
src/lib/storage/storage-service.ts:386
Function
getProviderModelId
(model: BaseModel)
src/lib/freedom/model-registry.ts:1418
Function
getRecommendedResolution
(sceneCount: number)
src/lib/storyboard/grid-calculator.ts:314
Method
getStats
* Get queue statistics
src/packages/ai-core/api/task-queue.ts:138
Method
getStats
()
src/lib/video-cache.ts:252
Method
getStorageInfo
()
src/lib/storage/storage-service.ts:372
Function
getStyleThumbnail
(styleId: string)
src/lib/constants/visual-styles.ts:613
Function
getStyleTokensFromPreset
(styleId: string)
src/lib/storyboard/prompt-builder.ts:112
Function
getStylesByCategory
(categoryId: string)
src/lib/constants/visual-styles.ts:637
Function
getT2VModelById
(id: string)
src/lib/freedom/model-registry.ts:1338
Method
getTemplates
* Get current templates (for debugging/export)
src/packages/ai-core/services/prompt-compiler.ts:157
Function
getVideoApiConfig
()
src/components/panels/director/use-video-generation.ts:56
Function
goToCharacterLibrary
()
src/components/panels/director/screenplay-input.tsx:345
Function
goToNextShot
()
src/components/panels/director/shot-grid-view.tsx:122
Function
goToNextStep
()
src/components/panels/director/index.tsx:122
Function
goToPrevShot
()
src/components/panels/director/shot-grid-view.tsx:116
Function
goToPrevStep
()
src/components/panels/director/index.tsx:112
Function
handleAddCharacter
()
src/components/panels/script/episode-tree.tsx:494
Function
handleAddEpisode
()
src/components/panels/script/episode-tree.tsx:385
Function
handleAddToTimeline
()
src/components/ui/draggable-item.tsx:61
Function
handleAddVariation
()
src/components/WardrobeModal.tsx:67
Function
handleAddVariation
()
src/components/panels/characters/wardrobe-modal.tsx:148
Function
handleAngleSwitchGenerate
(params: { direction: HorizontalDirection; elevation: ElevationAngle; shotSize: ShotSize;
src/components/panels/director/shot-properties-panel.tsx:135
Function
handleAngleSwitchGenerate
(params: { direction: HorizontalDirection; elevation: ElevationAngle; shotSize: ShotSize;
src/components/panels/director/shot-grid-view.tsx:249
Function
handleApplyAngleSwitch
()
src/components/panels/director/shot-properties-panel.tsx:201
Function
handleApplyAngleSwitch
()
src/components/panels/director/shot-grid-view.tsx:316
Function
handleAutoGenerateContactSheet
()
src/components/panels/scenes/generation-panel.tsx:1454
Function
handleBackToScript
()
src/components/panels/director/context-panel.tsx:123
Function
handleBatchGenerate
()
src/components/panels/director/shot-list-panel.tsx:84
Function
handleBatchGenerateImages
()
src/components/panels/director/shot-grid-view.tsx:345
Function
handleBatchGenerateOrthographic
()
src/components/panels/scenes/generation-panel.tsx:1909
Function
handleBlur
()
src/components/ui/editable-timecode.tsx:90
Function
handleCalibrate
()
src/components/panels/script/script-input.tsx:212
Function
handleCancelContactSheet
()
src/components/panels/scenes/generation-panel.tsx:1442
Function
handleCancelEdit
()
src/components/panels/sclass/sclass-scene-card.tsx:208
Function
handleCancelEdit
()
src/components/panels/director/split-scene-card.tsx:237
Function
handleCancelOrthographic
()
src/components/panels/scenes/generation-panel.tsx:2430
Function
handleCharacterSelect
(char: Character | null)
src/components/panels/characters/index.tsx:42
Function
handleCheckForUpdates
()
src/components/panels/SettingsPanel.tsx:600
Function
handleClear
()
src/components/panels/director/scene-library-selector.tsx:141
Function
handleClearBatchOrthographic
()
src/components/panels/scenes/generation-panel.tsx:1902
Function
handleClearCache
()
src/components/panels/SettingsPanel.tsx:584
Function
handleClearIgnoredVersion
()
src/components/panels/SettingsPanel.tsx:630
← previous
next →
1,101–1,200 of 1,435, ranked by callers