MCPcopy Create free account

hub / github.com/Xeron2000/openOii / functions

Functions2,741 in github.com/Xeron2000/openOii

↓ 1 callersMethod_response_text
( self, *, messages: list[dict[str, Any]] | None, prompt: str | None,
backend/app/services/fake_text.py:260
↓ 1 callersFunction_run_eval
()
backend/app/api/v1/routes/consistency.py:39
↓ 1 callersFunction_safe_slug
(text: str, *, fallback: str = "prompt")
backend/app/services/fake_image.py:30
↓ 1 callersFunction_sanitize_photorealism
(prompt: str)
backend/app/services/style_prompts.py:103
↓ 1 callersFunction_serialize_config_value
(value: Any)
backend/app/services/config_service.py:204
↓ 1 callersMethod_set_run
(self, run: Any, **fields: Any)
backend/tests/test_orchestration/test_phase2_graph.py:266
↓ 1 callersFunction_stage_artifact_counts
(session: AsyncSession, run_id: int | None)
backend/app/services/run_recovery.py:172
↓ 1 callersFunction_strip_inline_comment
(value: str)
backend/app/services/config_service.py:70
↓ 1 callersFunction_sync_missing_metadata_columns
Add columns that exist in SQLModel metadata but are missing in an existing DB. Alembic is still the source of truth for normal migrations. This i
backend/app/db/session.py:34
↓ 1 callersFunction_sync_shot_character_bindings
(session: AsyncSession, shot: Shot)
backend/app/api/v1/routes/shots.py:64
↓ 1 callersFunction_test_image_connection
测试图像生成服务连接(使用实际服务类)
backend/app/api/v1/routes/config.py:232
↓ 1 callersFunction_test_llm_connection
测试 LLM 服务连接(使用实际服务类)
backend/app/api/v1/routes/config.py:196
↓ 1 callersFunction_test_video_connection
测试视频生成服务连接(使用实际服务类)
backend/app/api/v1/routes/config.py:278
↓ 1 callersMethod_text_stream
(self)
backend/tests/test_services/test_llm_service.py:23
↓ 1 callersFunction_unquote
(value: str)
backend/app/services/config_service.py:84
↓ 1 callersMethod_uses_max_completion_tokens
(self)
backend/app/services/text.py:97
↓ 1 callersFunction_valid_resolution
()
backend/tests/test_api/test_generation_closure.py:32
↓ 1 callersFunction_validate_shot_approval_ready
(shot: Shot)
backend/app/api/v1/routes/shots.py:40
↓ 1 callersFunction_video_only_invalid_provider_resolution
()
backend/tests/test_api/test_generation.py:101
↓ 1 callersFunction_video_slug
(prompt: str, *, prefix: str = "fake_video_v2")
backend/app/services/fake_video.py:29
↓ 1 callersFunction_with_color_palette
(prompt: str, color_palette: list[str] | None)
backend/app/services/style_prompts.py:96
↓ 1 callersMethodaccept
(self)
backend/tests/test_api/test_websocket.py:34
↓ 1 callersFunctionaddTag
()
frontend/app/components/project/CreateStyleModal.tsx:57
↓ 1 callersMethodadd_done_callback
(self, callback)
backend/tests/test_api/test_generation.py:143
↓ 1 callersMethodadd_project_to_universe
将项目加入宇宙
backend/app/services/universe_service.py:93
↓ 1 callersMethodainvoke
(self, payload, graph_config, context=None)
backend/tests/test_agents/test_orchestrator.py:116
↓ 1 callersMethodaiter_bytes
(self, chunk_size=8192)
backend/tests/test_services/test_video_merger.py:184
↓ 1 callersFunctionalignLoopbackUrl
(envUrl: string, pageUrl: string)
frontend/app/utils/runtimeBase.ts:25
↓ 1 callersFunctionarrowStyle
(kind: string)
frontend/app/features/comic-workflow/canvas/syncTldrawProjection.ts:411
↓ 1 callersMethodas_error_details
(self)
backend/app/schemas/project.py:48
↓ 1 callersFunctionassetTypeLabel
(type: "all" | "character" | "scene")
frontend/app/features/comic-workflow/sidebar/WorkspaceSidebar.tsx:367
↓ 1 callersMethodauto_import_shared_characters
自动将宇宙的共享角色导入项目(基于 name 匹配或 character_hints)
backend/app/services/universe_service.py:319
↓ 1 callersFunctionauto_populate_visual_notes
用 LLM 从角色 description 自动提取关键视觉特征,填充 visual_notes。 Args: character: Character 对象 llm_service: LLM 服务实例 Returns: 生成的 v
backend/app/services/character_bible.py:141
↓ 1 callersFunctionboom
()
backend/tests/test_api/test_generation_closure.py:510
↓ 1 callersFunctionbriefStatus
(project: Project, isGenerating: boolean)
frontend/app/features/comic-workflow/graph/buildComicWorkflow.ts:70
↓ 1 callersFunctionbuildFinalOutputRetryFeedback
(input: { sectionState: WorkspaceSectionState; runId: number | null; threadId: string | null; currentS
frontend/app/utils/workspaceStatus.ts:371
↓ 1 callersFunctionbuildReport
(createdAt = "2026-06-13T00:00:03.000Z")
frontend/app/components/panels/ConsistencyPanel.test.tsx:55
↓ 1 callersFunctioncharacter
()
frontend/app/features/comic-workflow/inspector/WorkflowInspector.test.tsx:17
↓ 1 callersFunctioncharacter
(id: number)
frontend/app/features/comic-workflow/graph/layoutComicWorkflow.test.ts:41
↓ 1 callersFunctioncharacterNode
()
frontend/app/features/comic-workflow/inspector/WorkflowInspector.test.tsx:36
↓ 1 callersMethodclose
(self)
backend/app/services/export_service.py:54
↓ 1 callersMethodclose
(self, code: int = 1000, reason: str = "")
backend/tests/test_main.py:157
↓ 1 callersMethodclose
(self)
backend/aiosqlite/__init__.py:172
↓ 1 callersMethodcompile
(self, *_args, **_kwargs)
backend/tests/test_orchestration/test_phase2_recovery.py:62
↓ 1 callersFunctioncompose_approval_node
( state: Phase2State, runtime: Runtime[Phase2RuntimeContext] )
backend/app/orchestration/nodes.py:436
↓ 1 callersFunctioncompose_face_reference_strip
从多张图片中裁剪面部并拼成横向条带。 布局: ┌────────┬────────┬────────┐ │ 脸1 │ 脸2 │ 脸3 │ └────────┴────────┴────────┘ Args: image_b
backend/app/services/face_cropper.py:147
↓ 1 callersFunctioncompose_merge_node
( state: Phase2State, runtime: Runtime[Phase2RuntimeContext] )
backend/app/orchestration/nodes.py:310
↓ 1 callersMethodcompute_cosine_similarity
计算余弦相似度。 Args: emb1: 向量1 emb2: 向量2 Returns: 余弦相似度 [-1, 1],实际人脸 embedding 通常 [0, 1]
backend/app/services/consistency_eval.py:226
↓ 1 callersFunctioncreateWorkflowEdges
({ briefVisible, characters, orderedShots, outputVisible, blockingClips, }: { briefVisible: boolean; ch
frontend/app/features/comic-workflow/graph/buildComicWorkflow.ts:293
↓ 1 callersFunctioncreate_agent_message
( session: AsyncSession, run_id: int, content: str = "Test feedback", )
backend/tests/factories.py:72
↓ 1 callersMethodcreate_universe
创建新 IP 宇宙
backend/app/services/universe_service.py:23
↓ 1 callersFunctioncrop_face_from_image
从图片中检测并裁剪最大的面部区域。 Args: image_bytes: 图片字节流 expand_ratio: 裁剪区域扩展比例(1.0 = 仅面部,1.8 = 包含头发和下巴) target_size: 目标裁剪尺寸(正方形),None
backend/app/services/face_cropper.py:86
↓ 1 callersMethodcursor
(self, *args: Any, **kwargs: Any)
backend/aiosqlite/__init__.py:149
↓ 1 callersFunctiondeleteMessage
(node: ComicWorkflowNode)
frontend/app/features/comic-workflow/inspector/WorkflowInspector.tsx:641
↓ 1 callersFunctiondelete_project_data
删除项目关联的所有数据库记录
backend/app/services/project_deletion.py:40
↓ 1 callersFunctiondelete_project_files
删除项目关联的所有文件(视频、角色图片、分镜图片/视频)
backend/app/services/project_deletion.py:22
↓ 1 callersFunctiondelete_projects_by_ids
删除多个项目(非破坏性批量)。不存在的 ID 将被忽略。
backend/app/services/project_deletion.py:146
↓ 1 callersMethoddelete_universe
删除宇宙(级联删除关联的角色和项目链接,清除项目的外键引用)
backend/app/services/universe_service.py:44
↓ 1 callersFunctiondirectionalAnchors
( fromShape: TLShape | TLShapePartial, toShape: TLShape | TLShapePartial, )
frontend/app/features/comic-workflow/canvas/syncTldrawProjection.ts:248
↓ 1 callersFunctionenableMocking
()
frontend/app/main.tsx:7
↓ 1 callersFunctionensure_builtin_templates
Insert builtin style templates on first run (ON CONFLICT DO NOTHING via slug check).
backend/app/services/style_template_seeds.py:152
↓ 1 callersMethodevaluate_character_consistency
评估单个角色在所有相关分镜中的一致性。 Args: character: 角色(需要 face_embedding) shots: 包含该角色的分镜列表 session: 数据库会话 Retu
backend/app/services/consistency_eval.py:45
↓ 1 callersMethodexport_pdf
导出 PDF 漫画册 布局规则: - A4 纵向页面 - 每页 1-4 个分镜(根据分镜数量自动决定) - 分镜图片占主要区域 - 对白气泡叠加在图片上方 - 角色名标注在对白旁 - 页
backend/app/services/export_service.py:96
↓ 1 callersFunctionfeedbackTypeForStage
(stage: WorkflowStage)
frontend/app/pages/ProjectPage.tsx:54
↓ 1 callersFunctionfind_similar_characters
在项目内基于 embedding 余弦相似度查找相似角色。 Args: embedding: 查询 embedding 向量 project_id: 项目 ID session: 数据库 session threshold:
backend/app/services/character_bible.py:91
↓ 1 callersFunctionformatDate
(value: string | null | undefined)
frontend/app/pages/ProjectsPage.tsx:60
↓ 1 callersFunctiongenerate
()
backend/app/api/v1/routes/text.py:53
↓ 1 callersMethodgenerate_character_tts
根据角色选择合适的 TTS 语音并生成 Args: dialogue: 对白文本 character_name: 角色名称 characters: 项目角色列表 Returns:
backend/app/services/audio_service.py:155
↓ 1 callersMethodgenerate_tts
用 Edge TTS 生成语音,返回音频文件 URL Args: text: 要合成的文本 voice: Edge TTS 语音名称 rate: 语速调整(如 "+10%" 或 "-5%")
backend/app/services/audio_service.py:116
↓ 1 callersMethodgenerate_url
( self, *, prompt: str, size: str = "1024x1024", image_bytes: bytes |
backend/app/services/fake_image.py:77
↓ 1 callersMethodgenerate_url
Return configured fixture URL, local fixture path, or generated default MP4.
backend/app/services/fake_video.py:111
↓ 1 callersMethodgenerate_url
(self, **kwargs)
backend/tests/test_agents/test_compose.py:299
↓ 1 callersFunctiongetApiBase
()
frontend/app/utils/runtimeBase.ts:61
↓ 1 callersFunctiongetConfigDescription
(key: string)
frontend/app/components/settings/SettingsModal.tsx:1078
↓ 1 callersFunctiongetFinalOutputBlockingText
(input: { sectionState: WorkspaceSectionState; videoProviderValid?: boolean | null; })
frontend/app/utils/workspaceStatus.ts:350
↓ 1 callersFunctiongetFinalOutputProvenanceText
( state: WorkspaceSectionState, videoProviderValid?: boolean | null, )
frontend/app/utils/workspaceStatus.ts:323
↓ 1 callersFunctiongetImageProvider
()
frontend/app/components/settings/SettingsModal.tsx:303
↓ 1 callersFunctiongetModal
()
frontend/app/components/ui/EditModal.test.tsx:29
↓ 1 callersFunctiongetPipelineStageIndex
(stage: string)
frontend/app/utils/pipeline.ts:12
↓ 1 callersFunctiongetPreservedUnlockRank
(recoverySummary?: RecoverySummaryRead | null)
frontend/app/utils/workspaceStatus.ts:82
↓ 1 callersFunctiongetProjectFinalVideoDownloadUrl
(projectId: number)
frontend/app/utils/workspaceStatus.ts:287
↓ 1 callersFunctiongetProtocol
(transport: BackendTransport, pageProtocol: string)
frontend/app/utils/runtimeBase.ts:13
↓ 1 callersFunctiongetResponse
* @param {FetchEvent} event * @param {Client | undefined} client * @param {string} requestId * @param {number} requestInterceptedAt * @returns {Pr
frontend/public/mockServiceWorker.js:211
↓ 1 callersFunctiongetShapeSize
(shape: TLShape | TLShapePartial)
frontend/app/features/comic-workflow/canvas/syncTldrawProjection.ts:228
↓ 1 callersFunctiongetStageIcon
(stage: WorkflowStage)
frontend/app/components/chat/ChatPanel.tsx:30
↓ 1 callersFunctiongetTextProvider
()
frontend/app/components/settings/SettingsModal.tsx:289
↓ 1 callersFunctiongetTotalDuration
(shots: Shot[])
frontend/app/features/comic-workflow/graph/buildComicWorkflow.ts:43
↓ 1 callersFunctiongetVideoProvider
()
frontend/app/components/settings/SettingsModal.tsx:296
↓ 1 callersFunctiongetWorkflowStageInfo
(stage: WorkflowStage)
frontend/app/utils/workflowStage.ts:94
↓ 1 callersFunctiongetWsBase
()
frontend/app/utils/runtimeBase.ts:70
↓ 1 callersFunctionget_app_settings
()
backend/app/api/deps.py:18
↓ 1 callersFunctionget_cached_text_provider_probe
(settings: Settings)
backend/app/services/provider_resolution.py:159
↓ 1 callersMethodget_final_message
(self)
backend/tests/test_services/test_llm_service.py:27
↓ 1 callersMethodget_message
(self, ignore_subscribe_messages=True, timeout=1.0)
backend/tests/test_agents/test_orchestrator.py:184
↓ 1 callersMethodget_universe_chapters
获取宇宙下的所有章节(按 chapter_number 排序)
backend/app/services/universe_service.py:291
↓ 1 callersMethodget_version
Return a specific version snapshot.
backend/app/services/version_service.py:167
↓ 1 callersFunctionget_voice_for_character
获取角色的 Edge TTS 语音名称 Args: character: 角色模型实例 Returns: Edge TTS 语音名称(如 "zh-CN-YunxiNeural")
backend/app/services/tts_voices.py:109
↓ 1 callersFunctionget_ws_manager
()
backend/app/api/deps.py:27
↓ 1 callersFunctionhandleChange
( e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> )
frontend/app/components/ui/EditModal.tsx:38
↓ 1 callersFunctionhandleClick
(e: React.MouseEvent<HTMLButtonElement>)
frontend/app/components/ui/Button.tsx:38
← previousnext →601–700 of 2,741, ranked by callers