MCPcopy Create free account

hub / github.com/Forget-C/Jellyfish / functions

Functions2,103 in github.com/Forget-C/Jellyfish

↓ 2 callersMethod_get_structured_chain
(self)
backend/app/chains/agents/base.py:286
↓ 2 callersFunction_join_context_lines
(lines: list[str])
backend/app/services/film/shot_frame_prompt_tasks.py:65
↓ 2 callersMethod_last_message_content
从 create_agent 返回的 state 中提取最后一条消息的 content。 若不是标准 state,则尽量退化为 str(state)。
backend/app/chains/agents/base.py:212
↓ 2 callersFunction_load_frame_render_guidance
读取最终图片提示词需要保留的高优先级镜头约束。
backend/app/api/v1/routes/studio/image_tasks.py:139
↓ 2 callersFunction_make_link
()
backend/tests/test_shot_character_links_api_responses.py:27
↓ 2 callersFunction_new_id
()
backend/app/core/task_manager/stores.py:24
↓ 2 callersFunction_normalize_name
(name: str)
backend/app/services/studio/shot_assets_overview.py:20
↓ 2 callersFunction_override_db
(db: _FakeDB)
backend/tests/test_entity_existence_api_responses.py:19
↓ 2 callersFunction_payload_from_asset
(item: Any)
backend/app/services/studio/shot_extracted_candidates.py:51
↓ 2 callersMethod_render_user_prompt
仅渲染用户提示词(不包含 system_prompt)。
backend/app/chains/agents/base.py:188
↓ 2 callersFunction_resolve_front_ref
( db, *, image_model, parent_field_name: str, parent_id: str, preferred_quality_level:
backend/app/services/studio/generation/asset_image/build_base.py:90
↓ 2 callersFunction_resolve_model
(db: AsyncSession, model_or_id: Model | str)
backend/app/services/llm/resolver.py:72
↓ 2 callersFunction_resolve_provider
(db: AsyncSession, provider_or_id: Provider | str)
backend/app/services/llm/resolver.py:81
↓ 2 callersFunction_same_scene
判断相邻镜头是否与当前镜头处于同一场景。
backend/app/services/film/shot_frame_prompt_tasks.py:357
↓ 2 callersFunction_seed_async_graph
构造最小项目/章节/镜头图,便于验证镜头语言默认值写回。
backend/tests/test_shot_semantic_defaults_service.py:26
↓ 2 callersFunction_seed_chapter
( db: _FakeStudioDB, *, chapter_id: str = "ch-1", project_id: str = "proj-1", )
backend/tests/test_studio_api_responses.py:107
↓ 2 callersFunction_seed_graph
(db: AsyncSession)
backend/tests/test_entity_create_character_linking.py:21
↓ 2 callersFunction_seed_scope_graph
(db: AsyncSession)
backend/tests/test_studio_files_service.py:29
↓ 2 callersFunction_seed_shot_graph
(db: AsyncSession)
backend/tests/test_shot_frame_prompt_tasks_service.py:47
↓ 2 callersMethod_sleep_poll
(self)
backend/app/core/tasks/video_generation_tasks.py:48
↓ 2 callersFunction_split_beats
按常见中文断句规则拆分为动作节拍候选。
backend/app/services/studio/shot_video_prompt_pack.py:154
↓ 2 callersMethod_strategy_for
(self, mode: DeliveryMode)
backend/app/core/task_manager/manager.py:27
↓ 2 callersFunction_summarize_neighbor_shot
生成相邻镜头的标题、摘录和状态摘要,供连续性提示词使用。
backend/app/services/film/shot_frame_prompt_tasks.py:137
↓ 2 callersFunction_truncate_for_prompt
(value: str | None, *, limit: int = 80)
backend/app/services/film/shot_frame_prompt_tasks.py:130
↓ 2 callersFunction_validate_generated_prompt
(prompt: str, input_dict: dict[str, object])
backend/app/services/film/shot_frame_prompt_tasks.py:589
↓ 2 callersFunction_validate_project_style_combo
(*, visual_style: ProjectVisualStyle, style: ProjectStyle)
backend/app/api/v1/routes/studio/projects.py:54
↓ 2 callersMethodaextract
(self, **kwargs: Any)
backend/app/chains/agents/shot_frame_prompt_agents.py:289
↓ 2 callersMethodainvoke
(self, payload: dict)
backend/app/dependencies.py:58
↓ 2 callersMethodanalyze_character_description
( self, *, character_description: str, character_context: str | None = None )
backend/app/chains/agents/character_portrait_analysis_agent.py:56
↓ 2 callersMethodanalyze_costume_description
( self, *, costume_description: str, costume_context: str | None = None )
backend/app/chains/agents/costume_info_analysis_agent.py:56
↓ 2 callersMethodanalyze_prop_description
( self, *, prop_description: str, prop_context: str | None = None )
backend/app/chains/agents/prop_info_analysis_agent.py:56
↓ 2 callersMethodanalyze_scene_description
( self, *, scene_description: str, scene_context: str | None = None )
backend/app/chains/agents/scene_info_analysis_agent.py:56
↓ 2 callersFunctionapplyUpdater
(prev: T, updater: Updater<T>)
front/src/pages/aiStudio/hooks/useGenerationDraft.ts:46
↓ 2 callersFunctionapply_extraction_result
将提取草稿同步为候选与镜头语言默认值。
backend/app/services/script_processing_worker.py:308
↓ 2 callersFunctionbuild_prompt_with_template
( db: AsyncSession, *, category: PromptCategory, variables: dict[str, object], fallback_pr
backend/app/services/studio/image_tasks.py:116
↓ 2 callersFunctionbuild_script_extraction_draft_for_shot
(db: AsyncSession, shot_id: str)
backend/app/services/studio/shot_extraction_draft.py:52
↓ 2 callersFunctionbuild_video_submission_payload
( db, *, base: VideoBaseDraft, context: VideoGenerationContext, )
backend/app/services/studio/generation/video/build_submission.py:9
↓ 2 callersMethodcancelTaskApiV1FilmTasksTaskIdCancelPost
* 请求取消任务 * @returns ApiResponse_TaskCancelRead_ Successful Response * @throws ApiError
front/src/services/generated/services/FilmService.ts:195
↓ 2 callersFunctionclampButtonPosition
(position: { x: number; y: number })
front/src/pages/aiStudio/components/TaskCenter.tsx:66
↓ 2 callersFunctionclear_openai_image_capability_overrides
()
backend/app/core/integrations/openai/image_capabilities.py:28
↓ 2 callersFunctionclear_openai_video_capability_overrides
()
backend/app/core/integrations/openai/video_capabilities.py:30
↓ 2 callersFunctionclear_script_extract_cache
()
backend/app/services/script_extraction_cache.py:46
↓ 2 callersFunctionclear_volcengine_image_capability_overrides
()
backend/app/core/integrations/volcengine/image_capabilities.py:47
↓ 2 callersFunctionclear_volcengine_video_capability_overrides
()
backend/app/core/integrations/volcengine/video_capabilities.py:30
↓ 2 callersFunctionclose_db
关闭数据库连接。
backend/app/core/db.py:74
↓ 2 callersFunctioncreate
(entityType: EntityType, payload: Record<string, unknown>)
front/src/services/studioEntities.ts:22
↓ 2 callersMethodcreateProjectCostumeLinkApiV1StudioShotLinksCostumePost
* 创建项目-章节-镜头-服装关联 * @returns ApiResponse_ProjectCostumeLinkRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotLinksService.ts:191
↓ 2 callersMethodcreateProjectPropLinkApiV1StudioShotLinksPropPost
* 创建项目-章节-镜头-道具关联 * @returns ApiResponse_ProjectPropLinkRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotLinksService.ts:150
↓ 2 callersMethodcreateProjectSceneLinkApiV1StudioShotLinksScenePost
* 创建项目-章节-镜头-场景关联 * @returns ApiResponse_ProjectSceneLinkRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotLinksService.ts:109
↓ 2 callersFunctioncreateTaskSettledReloader
(...handlers: Array<() => Promise<void> | void>)
front/src/pages/aiStudio/components/taskResultHelpers.ts:58
↓ 2 callersFunctioncreate_character_portrait_task
( db: AsyncSession, *, relation_entity_id: str, character_context: str | None, character_d
backend/app/services/script_processing_tasks.py:526
↓ 2 callersMethodcreate_contents_task
( self, *, cfg: ProviderConfig, input_: VideoGenerationInput, timeout_
backend/app/core/integrations/volcengine/video.py:15
↓ 2 callersFunctioncreate_costume_info_task
( db: AsyncSession, *, relation_entity_id: str, costume_context: str | None, costume_descr
backend/app/services/script_processing_tasks.py:583
↓ 2 callersFunctioncreate_entity
( db: AsyncSession, *, entity_type: str, body: dict[str, Any], )
backend/app/services/studio/entity_crud.py:84
↓ 2 callersFunctioncreate_file_from_url_or_b64
从远端 URL 或 base64 内容创建 FileItem。 - 若提供 url:会先下载内容,推断 content_type 和后缀; - 若提供 b64_data:优先解析 data URL 前缀中的 MIME 类型,否则默认 image/png; - 始终通过 st
backend/app/utils/files.py:50
↓ 2 callersFunctioncreate_prop_info_task
( db: AsyncSession, *, relation_entity_id: str, prop_context: str | None, prop_description
backend/app/services/script_processing_tasks.py:545
↓ 2 callersFunctioncreate_scene_info_task
( db: AsyncSession, *, relation_entity_id: str, scene_context: str | None, scene_descripti
backend/app/services/script_processing_tasks.py:564
↓ 2 callersFunctioncreate_script_optimization_task
( db: AsyncSession, *, relation_entity_id: str, script_text: str, consistency: dict, )
backend/app/services/script_processing_tasks.py:602
↓ 2 callersFunctioncreate_script_simplification_task
( db: AsyncSession, *, relation_entity_id: str, script_text: str, )
backend/app/services/script_processing_tasks.py:621
↓ 2 callersMethodcreate_video
( self, *, cfg: ProviderConfig, input_: VideoGenerationInput, timeout_
backend/app/core/integrations/openai/video.py:15
↓ 2 callersFunctiondel
(url: string, config?: AxiosRequestConfig)
front/src/services/http.ts:37
↓ 2 callersMethoddelete
(self, obj: object)
backend/tests/test_studio_api_responses.py:61
↓ 2 callersMethoddeleteProjectApiV1StudioProjectsProjectIdDelete
* 删除项目 * @returns ApiResponse_NoneType_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioProjectsService.ts:139
↓ 2 callersMethoddeleteProjectCostumeLinkApiV1StudioShotLinksCostumeLinkIdDelete
* 删除项目-章节-镜头-服装关联 * @returns ApiResponse_NoneType_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotLinksService.ts:211
↓ 2 callersMethoddeleteProjectPropLinkApiV1StudioShotLinksPropLinkIdDelete
* 删除项目-章节-镜头-道具关联 * @returns ApiResponse_NoneType_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotLinksService.ts:170
↓ 2 callersMethoddeleteProjectSceneLinkApiV1StudioShotLinksSceneLinkIdDelete
* 删除项目-章节-镜头-场景关联 * @returns ApiResponse_NoneType_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotLinksService.ts:129
↓ 2 callersMethoddeleteShotDialogLineApiV1StudioShotDialogLinesLineIdDelete
* 删除镜头对话行 * @returns ApiResponse_NoneType_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotDialogLinesService.ts:106
↓ 2 callersFunctiondialogTitle
(speaker?: string | null, target?: string | null)
front/src/pages/aiStudio/shots/components/ChapterShotDialogueConfirmation.tsx:9
↓ 2 callersMethoddivideScriptAsyncApiV1ScriptProcessingDivideAsyncPost
* 异步将剧本分割为多个镜头 * 创建章节分镜提取任务并立即返回 task_id;前端可通过任务状态接口轮询。 * @returns ApiResponse_AsyncTaskCreateRead_ Successful Response * @throws ApiEr
front/src/services/generated/services/ScriptProcessingService.ts:38
↓ 2 callersFunctiondownload_url
(file_id: str)
backend/app/services/studio/entity_thumbnails.py:15
↓ 2 callersFunctionenrich_rendered_video_prompt
为模板渲染结果补强关键执行约束。 若模板未显式消费新的连续性/构图变量,则自动在末尾追加一段稳定约束, 避免这类信息只停留在 preview pack 中却没有真正进入最终 prompt。
backend/app/services/studio/shot_video_prompt_pack.py:121
↓ 2 callersFunctionentitiesStorageKey
(projectId: string)
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:109
↓ 2 callersFunctionextractFileId
(thumbnail?: string | null)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:1145
↓ 2 callersFunctionextractMock
(text: string)
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:113
↓ 2 callersMethodextractScriptAsyncApiV1ScriptProcessingExtractAsyncPost
* 异步项目级信息提取(最终输出) * 创建项目级信息提取任务并立即返回 task_id;前端可通过任务状态接口轮询。 * @returns ApiResponse_AsyncTaskCreateRead_ Successful Response * @throws A
front/src/services/generated/services/ScriptProcessingService.ts:458
↓ 2 callersFunctionfactory
(**kwargs: object)
backend/tests/core/integrations/test_image_adapters.py:26
↓ 2 callersFunctionfileResourceUrl
(file: FileRead)
front/src/pages/aiStudio/project/ProjectWorkbench/tabs/FilesTab.tsx:115
↓ 2 callersFunctionfindLatestActiveTaskForChapter
(chapterId: string)
front/src/pages/aiStudio/project/ProjectWorkbench/chapterDivisionTasks.ts:154
↓ 2 callersFunctionflattenPageContexts
(contextScopes: Record<string, TaskPageContext[]>)
front/src/pages/aiStudio/components/taskUiStore.ts:78
↓ 2 callersFunctionformatElapsedMs
(elapsedMs?: number | null)
front/src/pages/aiStudio/components/taskNotificationHelpers.tsx:23
↓ 2 callersFunctionformatStartedAt
(startedAtTs?: number | null)
front/src/pages/aiStudio/components/taskNotificationHelpers.tsx:35
↓ 2 callersMethodformat_output
(self, raw: str)
backend/app/chains/agents/shot_frame_prompt_agents.py:210
↓ 2 callersMethodformat_output
(self, raw: str)
backend/app/chains/agents/shot_frame_prompt_agents.py:242
↓ 2 callersMethodformat_output
(self, raw: str)
backend/app/chains/agents/shot_frame_prompt_agents.py:274
↓ 2 callersMethodget
(self, *_args, **_kwargs)
backend/tests/test_files_api_responses.py:19
↓ 2 callersFunctiongetButtonBounds
()
front/src/pages/aiStudio/components/TaskCenter.tsx:43
↓ 2 callersFunctiongetChapterShotEditPath
(projectId: string, chapterId: string, shotId: string)
front/src/pages/aiStudio/project/ProjectWorkbench/routes.ts:13
↓ 2 callersFunctiongetLatestFrameSlotId
(frameType: PromptFrameType)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:4369
↓ 2 callersFunctiongetProjectStatus
(p: ProjectView)
front/src/pages/aiStudio/project/ProjectLobby.tsx:152
↓ 2 callersMethodgetShotExtractedCandidatesApiV1StudioShotsShotIdExtractedCandidatesGet
* 获取镜头提取候选项 * @returns ApiResponse_list_ShotExtractedCandidateRead__ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:140
↓ 2 callersMethodgetShotExtractedDialogueCandidatesApiV1StudioShotsShotIdExtractedDialogueCandidatesGet
* 获取镜头提取对白候选项 * @returns ApiResponse_list_ShotExtractedDialogueCandidateRead__ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:161
↓ 2 callersMethodgetShotPreparationStateApiApiV1StudioShotsShotIdPreparationStateGet
* 获取镜头准备页聚合状态 * @returns ApiResponse_ShotPreparationStateRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:203
↓ 2 callersMethodgetShotVideoReadinessApiApiV1StudioShotsShotIdVideoReadinessGet
* 获取镜头视频生成准备度 * @returns ApiResponse_ShotVideoReadinessRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:278
↓ 2 callersMethodgetTaskResultApiV1FilmTasksTaskIdResultGet
* 获取任务结果 * @returns ApiResponse_TaskResultRead_ Successful Response * @throws ApiError
front/src/services/generated/services/FilmService.ts:174
↓ 2 callersFunctionget_cached_script_extract
(cache_key: str)
backend/app/services/script_extraction_cache.py:33
↓ 2 callersMethodget_contents_task
( self, *, cfg: ProviderConfig, task_id: str, timeout_s: float, )
backend/app/core/integrations/volcengine/video.py:43
↓ 2 callersFunctionget_file_detail
获取文件详情。
backend/app/services/studio/files.py:91
↓ 2 callersFunctionget_llm
提供默认文本 LLM(ChatOpenAI)。
backend/app/dependencies.py:26
↓ 2 callersMethodget_status_view
(self, task_id: str)
backend/app/core/task_manager/stores.py:409
↓ 2 callersMethodget_video
( self, *, cfg: ProviderConfig, video_id: str, timeout_s: float, )
backend/app/core/integrations/openai/video.py:43
← previousnext →401–500 of 2,103, ranked by callers