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
↓ 5 callers
Method
getAvailableKeyCount
* Get the number of available (non-blacklisted) keys
src/lib/api-key-manager.ts:397
↓ 5 callers
Function
getCinematographyProfile
(profileId: string)
src/lib/constants/cinematography-profiles.ts:425
↓ 5 callers
Method
getDB
()
src/lib/storage/indexeddb-adapter.ts:17
↓ 5 callers
Method
getDirectory
()
src/lib/storage/opfs-adapter.ts:13
↓ 5 callers
Function
getViewpointVariants
* 获取父场景的所有视角变体
src/lib/scene/viewpoint-matcher.ts:209
↓ 5 callers
Function
isElectron
()
src/lib/indexed-db-storage.ts:27
↓ 5 callers
Function
isHttpImageUrl
(value?: string | null)
src/components/panels/director/split-scenes.tsx:108
↓ 5 callers
Method
list
()
src/lib/storage/types.ts:11
↓ 5 callers
Method
markCurrentKeyFailed
* Mark the current key as failed and blacklist it temporarily
src/lib/api-key-manager.ts:355
↓ 5 callers
Function
pushRef
(value?: string | null)
src/components/panels/director/split-scenes.tsx:804
↓ 5 callers
Function
runStage
( stageName: string, buildPrompts: (batch: ShotInputData[]) => { system: string; user: string },
src/lib/script/shot-calibration-stages.ts:138
↓ 5 callers
Function
saveStorageConfig
()
electron/main.ts:254
↓ 5 callers
Function
sleep
(ms: number)
src/workers/ai-worker.ts:1206
↓ 5 callers
Function
splitStoryboardImage
( imageSrc: string, config: SplitConfig )
src/lib/storyboard/image-splitter.ts:514
↓ 5 callers
Function
stripBase64
(val: string | null | undefined)
src/stores/director-store.ts:2127
↓ 5 callers
Function
updateExtraParam
(key: string, value: any)
src/components/panels/freedom/ImageStudio.tsx:97
↓ 4 callers
Function
buildApiUrl
(path: string)
src/workers/ai-worker.ts:28
↓ 4 callers
Function
buildEndpoint
(baseUrl: string, path: string)
src/lib/freedom/freedom-api.ts:150
↓ 4 callers
Function
buildEndpoint
(baseUrl: string, path: string)
src/lib/storyboard/storyboard-service.ts:43
↓ 4 callers
Function
callChatAPI
( systemPrompt: string, userPrompt: string, options: ParseOptions )
src/lib/script/script-parser.ts:210
↓ 4 callers
Function
callVideoGenerationApi
( apiKey: string, prompt: string, duration: number, aspectRatio: string, imageWithRoles: Array<
src/components/panels/director/use-video-generation.ts:419
↓ 4 callers
Function
cloneScriptCharacters
(characters: ScriptCharacter[] | undefined)
src/stores/script-store.ts:186
↓ 4 callers
Function
containsFiles
(dataTransfer: DataTransfer)
src/hooks/use-drag-drop.ts:11
↓ 4 callers
Function
createDefaultImageHostProviders
()
src/stores/api-config-store.ts:214
↓ 4 callers
Function
createProjectScopedStorage
(storeName: string)
src/lib/project-storage.ts:61
↓ 4 callers
Function
dedup
(arr: string[])
src/components/panels/director/split-scenes.tsx:2318
↓ 4 callers
Function
defaultCalibrationState
()
src/stores/script-store.ts:46
↓ 4 callers
Function
exportProjectFiles
( config: ExportConfig, onProgress?: (progress: ExportProgress) => void )
src/lib/script/export-service.ts:208
↓ 4 callers
Function
extractBrandFromModel
(modelName: string)
src/lib/brand-mapping.ts:147
↓ 4 callers
Function
extractLastFrameFromVideo
( videoUrl: string, seekOffset: number = 0.1 )
src/components/panels/director/use-video-generation.ts:1319
↓ 4 callers
Function
generateViaImagesEndpoint
* Generate image via standard /v1/images/generations endpoint
src/lib/freedom/freedom-api.ts:473
↓ 4 callers
Function
getBibleCharacters
(characterBible?: CharacterBibleLike | string, fallback: AICharacter[] = [])
src/workers/ai-worker.ts:78
↓ 4 callers
Function
getByPath
(obj: unknown, objectPath?: string)
electron/main.ts:525
↓ 4 callers
Function
getByPath
(obj: unknown, path?: string)
src/lib/image-host.ts:74
↓ 4 callers
Function
getDiff
(i: number, r: number, g: number, b: number)
src/lib/storyboard/image-splitter.ts:322
↓ 4 callers
Function
getLayoutDimensions
(layout: ContactSheetLayout, aspectRatio: '16:9' | '9:16')
src/components/panels/scenes/generation-panel.tsx:963
↓ 4 callers
Function
getMissingTitleEpisodes
(projectId: string)
src/lib/script/full-script-service.ts:1060
↓ 4 callers
Function
getModelDisplayName
(modelId: string)
src/lib/freedom/model-display-names.ts:375
↓ 4 callers
Method
getProjectTimelineAdapter
({ projectId, sceneId, }: { projectId: string; sceneId?: string; })
src/lib/storage/storage-service.ts:59
↓ 4 callers
Function
getStorageBasePath
()
electron/main.ts:297
↓ 4 callers
Function
getStyleTokens
(styleId: string)
src/lib/constants/visual-styles.ts:622
↓ 4 callers
Function
groupVideoUploadFiles
(uploadFiles?: FreedomVideoUploadFile[])
src/lib/freedom/freedom-api.ts:932
↓ 4 callers
Function
handleDelete
(type: "episode" | "scene" | "character" | "shot", id: string, name: string)
src/components/panels/script/episode-tree.tsx:577
↓ 4 callers
Function
hsvToHex
(h: number, s: number, v: number)
src/components/ui/color-picker.tsx:49
↓ 4 callers
Function
isDiscouragedExternalImageUrl
(value?: string | null)
src/components/panels/director/split-scenes.tsx:116
↓ 4 callers
Function
normalizeImageHostProviders
(providers: ImageHostProvider[] | undefined | null)
src/stores/api-config-store.ts:350
↓ 4 callers
Function
omitRecordKeys
(record: Record<string, T>, keys: Iterable<string>)
src/stores/api-config-store.ts:512
↓ 4 callers
Function
optimizeReferenceImagesForModel
( model: string | undefined, buckets: ReferenceBucket[], )
src/components/panels/director/split-scenes.tsx:177
↓ 4 callers
Function
parseActions
* 解析动作描写(△开头的行)
src/lib/script/episode-parser.ts:645
↓ 4 callers
Function
parseCharacters
* 解析场景中的人物
src/lib/script/episode-parser.ts:585
↓ 4 callers
Function
parseDialogues
* 解析对白
src/lib/script/episode-parser.ts:615
↓ 4 callers
Function
parseOptionKey
(key: string)
src/components/api-manager/FeatureBindingPanel.tsx:112
↓ 4 callers
Function
parseSubtitles
* 解析字幕(【字幕:...】或【VO:...】等)
src/lib/script/episode-parser.ts:663
↓ 4 callers
Function
pushRef
(value?: string)
src/components/panels/sclass/sclass-scenes.tsx:685
↓ 4 callers
Function
resolveFreedomFeatureConfig
( feature: 'freedom_image' | 'freedom_video', fallback: 'character_generation' | 'video_generation',
src/lib/freedom/freedom-api.ts:173
↓ 4 callers
Function
resolveVeoUploadCapability
( model: string, endpointTypes?: string[], )
src/lib/freedom/veo-capability.ts:47
↓ 4 callers
Method
rotateKey
* Rotate to the next available key
src/lib/api-key-manager.ts:330
↓ 4 callers
Function
safeTruncate
( text: string, maxLength: number, hint: string = '...[后续内容已截断]', )
src/lib/ai/model-registry.ts:272
↓ 4 callers
Function
triggerDownload
* Download file and trigger browser download
src/lib/script/export-service.ts:130
↓ 4 callers
Function
useCarousel
()
src/components/ui/carousel.tsx:38
↓ 4 callers
Function
useFormField
()
src/components/ui/form.tsx:47
↓ 4 callers
Function
useSidebar
()
src/components/ui/sidebar.tsx:44
↓ 3 callers
Function
attemptProviderUpload
( provider: ImageHostProvider, apiKey: string, imageData: string, options?: UploadOptions )
src/lib/image-host.ts:282
↓ 3 callers
Function
autoGroupScenes
( scenes: SplitScene[], config: Partial<GroupingConfig> = {}, )
src/components/panels/sclass/auto-grouping.ts:73
↓ 3 callers
Function
buildEmotionDescription
(emotionTags: EmotionTag[])
src/lib/generation/prompt-builder.ts:48
↓ 3 callers
Function
buildEndpoint
(baseUrl: string, path: string)
src/lib/script/shot-generator.ts:13
↓ 3 callers
Function
buildVideoPrompt
( scene: SplitScene, cinProfile: CinematographyProfile | undefined, config: VideoPromptConfig = {},
src/lib/generation/prompt-builder.ts:112
↓ 3 callers
Function
calculateGrid
(input: GridCalculatorInput)
src/lib/storyboard/grid-calculator.ts:219
↓ 3 callers
Function
cleanCharacterName
* 清理角色名(去除markdown标记和多余符号)
src/lib/script/episode-parser.ts:860
↓ 3 callers
Function
cleanJsonString
(str: string)
src/lib/utils/json-cleaner.ts:13
↓ 3 callers
Method
cleanupBlacklist
* Clean up expired blacklist entries
src/lib/api-key-manager.ts:419
↓ 3 callers
Function
clearCache
(olderThanDays?: number)
electron/main.ts:400
↓ 3 callers
Function
collectCharacterRefs
( characterIds: string[], characters: Character[], )
src/components/panels/sclass/sclass-prompt-builder.ts:190
↓ 3 callers
Method
compile
* Compile a template with variables
src/packages/ai-core/services/prompt-compiler.ts:63
↓ 3 callers
Method
compileSceneImagePrompt
* Compile image prompt for a scene
src/packages/ai-core/services/prompt-compiler.ts:87
↓ 3 callers
Method
compileSceneVideoPrompt
* Compile video prompt for a scene
src/packages/ai-core/services/prompt-compiler.ts:108
↓ 3 callers
Function
corsFetch
( url: string | URL, init?: RequestInit, )
src/lib/cors-fetch.ts:36
↓ 3 callers
Function
createSplitStorage
( storeName: string, splitFn: SplitFn<T>, mergeFn: MergeFn<T>, sharingKey?: 'shareCharacters' | 's
src/lib/project-storage.ts:169
↓ 3 callers
Function
defaultProjectData
()
src/stores/director-store.ts:558
↓ 3 callers
Function
defaultProjectData
()
src/stores/script-store.ts:154
↓ 3 callers
Function
defaultProjectData
()
src/stores/sclass-store.ts:315
↓ 3 callers
Function
exportDirectorFiles
( config: DirectorExportConfig, onProgress?: (progress: ExportProgress) => void )
src/lib/script/export-service.ts:601
↓ 3 callers
Function
extractDialogueSegments
( scenes: SplitScene[], characters: Character[], )
src/components/panels/sclass/sclass-prompt-builder.ts:381
↓ 3 callers
Function
fetchAsBlob
* Helper: Download URL content as Blob
src/workers/ai-worker.ts:411
↓ 3 callers
Function
findImageHostPreset
( platform: ImageHostPlatform, )
src/stores/api-config-store.ts:208
↓ 3 callers
Function
formatDuration
(duration: number)
src/components/panels/media/index.tsx:461
↓ 3 callers
Function
generateAnglePrompt
( direction: HorizontalDirection, elevation: ElevationAngle, shotSize: ShotSize )
src/lib/ai/runninghub-angles.ts:112
↓ 3 callers
Function
generateGroupName
( group: ShotGroup, scenes: SplitScene[], groupIndex: number, )
src/components/panels/sclass/auto-grouping.ts:173
↓ 3 callers
Function
generateImage
* Helper: Generate image via API * Returns image URL after polling for completion * @param referenceImages - Character reference images (base64 or
src/workers/ai-worker.ts:226
↓ 3 callers
Function
generateVideo
* Helper: Generate video via API * Returns video URL after polling for completion * @param referenceImages - Character reference images (URL) for
src/workers/ai-worker.ts:282
↓ 3 callers
Function
getApiKeyCount
(apiKey: string)
src/lib/api-key-manager.ts:235
↓ 3 callers
Function
getImageEndpointPaths
(endpointTypes: string[])
src/lib/ai/image-generator.ts:50
↓ 3 callers
Function
getMediaDuration
(file: File)
src/stores/media-store.ts:200
↓ 3 callers
Method
getNegativePrompt
* Get negative prompt
src/packages/ai-core/services/prompt-compiler.ts:136
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/components/ui/chart.tsx:364
↓ 3 callers
Function
getProviderKeyManager
(providerId: string, apiKey: string, scopeKey?: string)
src/lib/api-key-manager.ts:451
↓ 3 callers
Function
getRootBaseUrl
(baseUrl: string)
src/lib/ai/image-generator.ts:36
↓ 3 callers
Function
handleGenerateImage
(type: "start" | "end")
src/components/panels/director/shot-properties-panel.tsx:260
↓ 3 callers
Function
handlePreviewFrame
(type: "start" | "end" | "video")
src/components/panels/director/shot-properties-panel.tsx:346
↓ 3 callers
Function
handleSetMood
(moodLabel: string | undefined)
src/components/panels/director/scene-card.tsx:115
← previous
next →
101–200 of 1,435, ranked by callers