Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
This report summarizes scanner evidence for invoke-ai/InvokeAI, a TypeScript project with 28,538 GitHub stars. SynthScan examined 1,890,740 lines of code across 6889 source files, recording 12379 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 7.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 10260 finding(s).
Are imports declared and package/API names verified? 921 finding(s).
Are wrappers, guards, and repeated structures necessary? 10609 finding(s).
Which changes need focused human review? 12379 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 12379 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/app/api_app.py | 363 | def _identify_video_upload_user(scope: Scope) -> tuple[bool, str | None]: | CODE |
| LOW | invokeai/app/api_app.py | 388 | async def _identify_video_upload_user_async(scope: Scope) -> tuple[bool, str | None]: | CODE |
| LOW | invokeai/app/util/misc.py | 16 | def get_datetime_from_iso_timestamp(iso_timestamp: str) -> datetime.datetime: | CODE |
| LOW | invokeai/app/util/torch_cuda_allocator.py | 51 | def apply_rocm_windows_allocator_default(logger: logging.Logger) -> None: | CODE |
| LOW | invokeai/app/util/torch_cuda_allocator.py | 82 | def configure_torch_cuda_allocator(pytorch_cuda_alloc_conf: str, logger: logging.Logger): | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 147 | def _start_worker_memory_monitor( | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 223 | def _iter_video_frames_unbounded( | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 530 | def thumbnail_frame_candidates(duration: Optional[float], fps: Optional[float]) -> list[int]: | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 560 | def extract_representative_video_frame( | CODE |
| LOW | invokeai/app/util/ti_utils.py | 11 | def extract_ti_triggers_from_prompt(prompt: str) -> List[str]: | CODE |
| LOW | invokeai/app/util/rocm_aotriton.py | 49 | def resolve_aotriton_experimental( | CODE |
| LOW | invokeai/app/util/rocm_aotriton.py | 88 | def apply_rocm_aotriton_setting( | CODE |
| LOW | invokeai/app/util/rocm_integrated_gpu.py | 106 | def discrete_device_visibility(flags: list[bool]) -> Optional[str]: | CODE |
| LOW | invokeai/app/util/rocm_integrated_gpu.py | 122 | def hide_integrated_gpus_on_rocm_windows(logger: logging.Logger) -> None: | CODE |
| LOW | invokeai/app/util/custom_openapi.py | 61 | def remove_unreferenced_internal_execution_schemas(openapi_schema: dict[str, Any]) -> None: | CODE |
| LOW | invokeai/app/util/ssrf.py | 286 | def merge_environment_settings( | CODE |
| LOW | invokeai/app/util/startup_utils.py | 40 | def nvidia_driver_cuda_version() -> int | None: | CODE |
| LOW | invokeai/app/util/startup_utils.py | 55 | def check_cuda_build_compatibility(logger: logging.Logger) -> None: | CODE |
| LOW⚡ | invokeai/app/util/user_management.py | 66 | def _cleanup_deleted_user_fonts(fonts: Any | None, user_id: str, storage_paths: tuple[str, ...], logger: Any) -> None: | CODE |
| LOW | invokeai/app/util/user_management.py | 47 | def _prepare_deleted_user_fonts(config: Any, db: Any, user_id: str, logger: Any) -> tuple[Any | None, tuple[str, ...]]: | CODE |
| LOW | invokeai/app/invocations/latent_noise.py | 11 | def validate_noise_dimensions(noise_type: LatentNoiseType, width: int, height: int) -> None: | CODE |
| LOW | invokeai/app/invocations/latent_noise.py | 46 | def validate_noise_tensor_shape(noise: torch.Tensor, noise_type: LatentNoiseType, width: int, height: int) -> None: | CODE |
| LOW | invokeai/app/invocations/video_frame_extract_range.py | 51 | def _validate_even_dimensions(width: int, height: int, video_name: str) -> None: | CODE |
| LOW | invokeai/app/invocations/blend_latents.py | 85 | def replace_tensor_from_masked_tensor( | CODE |
| LOW | invokeai/app/invocations/call_saved_workflow.py | 14 | def is_call_saved_workflow_dynamic_input(field_name: str) -> bool: | CODE |
| LOW | invokeai/app/invocations/call_saved_workflow.py | 18 | def parse_call_saved_workflow_dynamic_input(field_name: str) -> tuple[str, str]: | CODE |
| LOW | invokeai/app/invocations/call_saved_workflow.py | 55 | def validate_selected_workflow(self, context: InvocationContext): | CODE |
| LOW | invokeai/app/invocations/external_image_generation.py | 179 | def _build_output_provider_metadata(self) -> dict[str, Any]: | CODE |
| LOW | invokeai/app/invocations/external_image_generation.py | 231 | def _build_output_provider_metadata(self) -> dict[str, Any]: | CODE |
| LOW | invokeai/app/invocations/external_image_generation.py | 282 | def _build_output_provider_metadata(self) -> dict[str, Any]: | CODE |
| LOW | invokeai/app/invocations/external_image_generation.py | 326 | def _build_output_provider_metadata(self) -> dict[str, Any]: | CODE |
| LOW | invokeai/app/invocations/composition-nodes.py | 430 | def scale_and_pad_or_crop_to_base(self, image_upper: Image.Image, image_base: Image.Image): | CODE |
| LOW | invokeai/app/invocations/composition-nodes.py | 515 | def prepare_tensors_from_images( | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 72 | def _services_with_invocation_cache_bypassed(services: "InvocationServices") -> "InvocationServices": | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 297 | def invoke_internal_with_effects( | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 407 | def get_invocation_typeadapter(cls) -> TypeAdapter[Any]: | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 421 | def invalidate_invocation_typeadapter(cls) -> None: | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 524 | def invalidate_output_typeadapter(cls) -> None: | CODE |
| LOW | invokeai/app/invocations/model.py | 30 | def is_self_contained_sdnq_pipeline(config: AnyModelConfig) -> bool: | CODE |
| LOW | invokeai/app/invocations/segment_anything.py | 84 | def validate_points_and_boxes_len(self): | CODE |
| LOW | invokeai/app/invocations/segment_anything.py | 170 | def _apply_polygon_refinement(self, masks: list[torch.Tensor]) -> list[torch.Tensor]: | CODE |
| LOW | invokeai/app/invocations/video_concat.py | 277 | def _estimate_transition_memory(self, width: int, height: int) -> int: | CODE |
| LOW | invokeai/app/invocations/video_concat.py | 299 | def _validate_transition_memory(self, width: int, height: int) -> None: | CODE |
| LOW | invokeai/app/invocations/facetools.py | 542 | def validate_comma_separated_ints(cls, v) -> str: | CODE |
| LOW | invokeai/app/invocations/math.py | 188 | def no_unrepresentable_results(cls, v: int, info: ValidationInfo): | CODE |
| LOW | invokeai/app/invocations/math.py | 262 | def no_unrepresentable_results(cls, v: float, info: ValidationInfo): | CODE |
| LOW | invokeai/app/invocations/sd/t2i_adapter.py | 33 | def validate_ip_adapter_weight(cls, v): | CODE |
| LOW | invokeai/app/invocations/sd/t2i_adapter.py | 38 | def validate_begin_end_step_percent(self): | CODE |
| LOW | invokeai/app/invocations/sd/t2i_adapter.py | 83 | def validate_ip_adapter_weight(cls, v): | CODE |
| LOW | invokeai/app/invocations/sd/t2i_adapter.py | 88 | def validate_begin_end_step_percent(self): | CODE |
| LOW | invokeai/app/invocations/sd/controlnet.py | 53 | def validate_begin_end_step_percent(self): | CODE |
| LOW | invokeai/app/invocations/sd/controlnet.py | 97 | def validate_begin_end_step_percent(self) -> "ControlNetInvocation": | CODE |
| LOW | invokeai/app/invocations/sd/denoise_latents.py | 253 | def _get_text_embeddings_and_masks( | CODE |
| LOW | invokeai/app/invocations/sd/denoise_latents.py | 274 | def _preprocess_regional_prompt_mask( | CODE |
| LOW | invokeai/app/invocations/sd/denoise_latents.py | 300 | def _concat_regional_text_embeddings( | CODE |
| LOW | invokeai/app/invocations/sd/denoise_latents.py | 523 | def _get_hidiffusion_name_or_path(unet_config: AnyModelConfig) -> Optional[str]: | CODE |
| LOW | invokeai/app/invocations/sd/denoise_latents.py | 624 | def prep_ip_adapter_image_prompts( | CODE |
| LOW | invokeai/app/invocations/sd/denoise_latents.py | 848 | def prepare_noise_and_latents( | CODE |
| LOW | invokeai/app/invocations/sd/ip_adapter.py | 49 | def validate_ip_adapter_weight(cls, v: float) -> float: | CODE |
| LOW | invokeai/app/invocations/sd/ip_adapter.py | 54 | def validate_begin_end_step_percent(self) -> Self: | CODE |
| 9236 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | invokeai/app/api/routers/model_manager.py | 389 | return ApiDependencies.invoker.services.configuration.models_path.resolve().as_posix() | CODE |
| CRITICAL⚡ | invokeai/app/api/routers/model_manager.py | 405 | configs = ApiDependencies.invoker.services.model_manager.store.search_by_attr( | CODE |
| CRITICAL⚡ | invokeai/app/api/routers/model_manager.py | 586 | installed_models = ApiDependencies.invoker.services.model_manager.store.search_by_attr() | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 425 | configs = ApiDependencies.invoker.services.model_manager.store.search_by_hash(hash) | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 450 | config = ApiDependencies.invoker.services.model_manager.store.get_model(key) | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 485 | config = ApiDependencies.invoker.services.model_manager.store.get_model(key) | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 515 | with ApiDependencies.invoker.services.model_manager.load.record_edit(config.key) as edit: | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 516 | updated = ApiDependencies.invoker.services.model_manager.store.replace_model(config.key, result.config) | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 653 | with _claim_model_key(key), ApiDependencies.invoker.services.model_manager.load.record_edit(key) as edit: | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 781 | ApiDependencies.invoker.services.model_manager.store.get_model(key) | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 1395 | ApiDependencies.invoker.services.model_manager.install.prune_jobs() | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 1592 | installed_models = ApiDependencies.invoker.services.model_manager.store.search_by_attr() | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 1631 | for cache in ApiDependencies.invoker.services.model_manager.load.ram_caches.values(): | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 1679 | for cache in ApiDependencies.invoker.services.model_manager.load.ram_caches.values(): | CODE |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 1227 | jobs: List[ModelInstallJob] = ApiDependencies.invoker.services.model_manager.install.list_jobs() | STRING |
| CRITICAL | invokeai/app/api/routers/model_manager.py | 1247 | result: ModelInstallJob = ApiDependencies.invoker.services.model_manager.install.get_job_by_id(id) | STRING |
| CRITICAL | invokeai/app/api/routers/recall_parameters.py | 147 | models = ApiDependencies.invoker.services.model_manager.store.search_by_attr( | CODE |
| CRITICAL | invokeai/app/services/shared/invocation_context.py | 306 | graph_ = self._data.queue_item.session.graph.model_dump_json() | CODE |
| CRITICAL | invokeai/app/services/shared/invocation_context.py | 470 | graph_ = self._data.queue_item.session.graph.model_dump_json() | CODE |
| CRITICAL | invokeai/app/services/shared/invocation_context.py | 652 | return self._services.model_manager.load.ram_cache.offload_model_from_vram(key) | CODE |
| CRITICAL | invokeai/app/services/shared/invocation_context.py | 672 | return self._services.model_manager.load.ram_cache.make_room_in_vram(vram_bytes_needed) | CODE |
| CRITICAL | …ces/gallery_maintenance/gallery_maintenance_default.py | 558 | output_root = self._services.image_files.image_root.parent.resolve() | CODE |
| CRITICAL | …ces/gallery_maintenance/gallery_maintenance_default.py | 569 | output_root = self._services.image_files.image_root.parent.resolve() | CODE |
| CRITICAL | invokeai/app/services/model_load/model_load_default.py | 209 | return self._invoker.services.model_manager.store.get_model(key) | CODE |
| CRITICAL | invokeai/app/services/model_load/model_load_default.py | 241 | current = self._invoker.services.model_manager.store.get_model(config.key) | CODE |
| CRITICAL⚡ | …ai/app/services/session_queue/session_queue_default.py | 411 | cache = self.__invoker.services.model_manager.load.ram_caches.get(device) | CODE |
| CRITICAL⚡ | …vokeai/app/services/image_index/image_index_default.py | 1803 | self._invoker.services.model_manager.store.search_by_attr(model_name=model_name) if model_name else [] | CODE |
| CRITICAL | …vokeai/app/services/image_index/image_index_default.py | 985 | for cache in set(invoker.services.model_manager.load.ram_caches.values()): | CODE |
| CRITICAL | …vokeai/app/services/image_index/image_index_default.py | 1945 | loaded = self._invoker.services.model_manager.load.load_model(self._model_config) | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 775 | expect(harness.progressImage.set.mock.calls.map(([image]) => (image as { dataUrl: string }).dataUrl)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 874 | expect(harness.progressImage.set.mock.calls.map(([image]) => (image as { dataUrl: string }).dataUrl)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 899 | expect(harness.progressImage.set.mock.calls.map(([image]) => (image as { dataUrl: string }).dataUrl)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1051 | expect(harness.nodeExecution.started.mock.calls.map(([event]) => event.invocation_source_id)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1172 | expect(harness.activeProgressTarget.set.mock.calls.map(([activeTarget]) => activeTarget)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1178 | harness.progressImage.set.mock.calls.map(([image, imageTarget]) => ({ image, target: imageTarget })) | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1220 | expect(harness.progressImage.set.mock.calls.map(([image, target]) => ({ image, target }))).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1280 | expect(harness.progressImage.set.mock.calls.map(([image]) => (image as { dataUrl: string }).dataUrl)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1598 | expect(harness.progressImage.set.mock.calls.map(([, target]) => target)).toEqual([ | CODE |
| CRITICAL | …d/webv2/src/features/queue/runtime/coordinator.test.ts | 1602 | expect(harness.progressImage.set.mock.calls.map(([image]) => (image as { dataUrl: string }).dataUrl)).toEqual([ | CODE |
| CRITICAL | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 1580 | instanceIds: preset.snapshot.widgetRegions.bottom.instanceIds.filter( | CODE |
| CRITICAL | …ontend/webv2/src/workbench/layoutPresetRouting.test.ts | 17 | instanceIds: compose.snapshot.widgetRegions.bottom.instanceIds.filter( | CODE |
| CRITICAL | …nch/canvas-engine/document-model/documentModel.test.ts | 1396 | expect(after.canvas.document.stacks.control.map((node) => node.id)).toEqual(['E', 'c1']); | CODE |
| CRITICAL | …nch/widgets/preview/PreviewNavigation.browser.test.tsx | 1910 | const selected = mocks.commands.gallery.selectItem.mock.calls.map(([item, , page]) => [ | CODE |
| CRITICAL | …onents/RasterLayer/RasterLayerMenuItemsAdjustments.tsx | 16 | s.canvas.present.rasterLayers.entities.find((e: CanvasRasterLayerState) => e.id === entityIdentifier.id) | CODE |
| CRITICAL | …ures/controlLayers/konva/CanvasEntityRendererModule.ts | 126 | this.manager.background.konva.layer.zIndex(zIndex++); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 976 | this.manager.stage.konva.stage.on('pointerdown', this.onStagePointerDown); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 977 | this.manager.stage.konva.stage.on('pointermove', this.onStagePointerMove); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 978 | this.manager.stage.konva.stage.on('pointerup', this.onStagePointerUp); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 981 | this.manager.stage.konva.stage.on('pointermove', this.onBboxDragMove); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 982 | this.manager.stage.konva.stage.on('pointerup', this.onBboxDragEnd); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 985 | this.manager.stage.konva.stage.off('pointerdown', this.onStagePointerDown); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 986 | this.manager.stage.konva.stage.off('pointermove', this.onStagePointerMove); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 987 | this.manager.stage.konva.stage.off('pointerup', this.onStagePointerUp); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 988 | this.manager.stage.konva.stage.off('pointermove', this.onBboxDragMove); | CODE |
| CRITICAL⚡ | …res/controlLayers/konva/CanvasSegmentAnythingModule.ts | 989 | this.manager.stage.konva.stage.off('pointerup', this.onBboxDragEnd); | CODE |
| CRITICAL | …Layers/konva/CanvasTool/CanvasColorPickerToolModule.ts | 448 | this.manager.background.konva.layer.visible(false); | CODE |
| CRITICAL | …Layers/konva/CanvasTool/CanvasColorPickerToolModule.ts | 450 | this.manager.background.konva.layer.visible(true); | CODE |
| CRITICAL | …olLayers/konva/CanvasEntity/CanvasEntityAdapterBase.ts | 404 | this.renderer.konva.compositing.group.zIndex(zIndex++); | CODE |
| CRITICAL | …olLayers/konva/CanvasEntity/CanvasEntityTransformer.ts | 583 | this.parent.renderer.konva.objectGroup.setAttrs({ | CODE |
| CRITICAL | …olLayers/konva/CanvasEntity/CanvasEntityTransformer.ts | 627 | this.parent.renderer.konva.objectGroup.setAttrs({ | CODE |
| 41 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | invokeai/app/util/user_management.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | invokeai/app/util/user_management.py | 78 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/util/user_management.py | 212 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/util/user_management.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/util/user_management.py | 342 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/util/user_management.py | 344 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/util/user_management.py | 444 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | invokeai/app/util/user_management.py | 446 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | invokeai/app/api/routers/auth.py | 404 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/api/routers/auth.py | 406 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/api/routers/auth.py | 449 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/app/api/routers/auth.py | 451 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ai/app/services/model_install/model_install_default.py | 1843 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ai/app/services/model_install/model_install_default.py | 1845 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ai/app/services/model_install/model_install_default.py | 2330 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ai/app/services/model_install/model_install_default.py | 2332 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ai/app/services/model_install/model_install_default.py | 2454 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ai/app/services/model_install/model_install_default.py | 2456 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ai/app/services/model_install/model_install_default.py | 1546 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ai/app/services/model_install/model_install_default.py | 1548 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …d/webv2/src/workbench/widgets/canvas/canvasSettings.ts | 59 | // ── Behavior ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …d/webv2/src/workbench/widgets/canvas/canvasSettings.ts | 78 | // ── Display ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …d/webv2/src/workbench/widgets/canvas/canvasSettings.ts | 109 | // ── Grid ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | invokeai/backend/ideogram4/quantized_loading.py | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/ideogram4/quantized_loading.py | 146 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/flux/controlnet/state_dict_utils.py | 188 | # ---------------- | COMMENT |
| MEDIUM | …ai/backend/flux/controlnet/instantx_controlnet_flux.py | 51 | # ------------------------------------------------------------- | COMMENT |
| MEDIUM | …ai/backend/flux/controlnet/instantx_controlnet_flux.py | 91 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | …ckend/patches/lora_conversions/anima_lora_constants.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckend/patches/lora_conversions/anima_lora_constants.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | invokeai/backend/anima/anima_transformer.py | 33 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | invokeai/backend/anima/anima_transformer.py | 37 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | invokeai/backend/anima/anima_transformer.py | 200 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | invokeai/backend/anima/anima_transformer.py | 204 | # ============================================================================ | COMMENT |
| MEDIUM | invokeai/backend/anima/anima_transformer.py | 772 | # ============================================================================ | COMMENT |
| MEDIUM | invokeai/backend/anima/anima_transformer.py | 776 | # ============================================================================ | COMMENT |
| MEDIUM | invokeai/backend/anima/anima_transformer.py | 998 | # ============================================================================ | COMMENT |
| MEDIUM | invokeai/backend/anima/anima_transformer.py | 1002 | # ============================================================================ | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 60 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 62 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 124 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 126 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 222 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 224 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 350 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/anima/control_net_lllite.py | 352 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/decode.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/decode.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/decode.py | 402 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/decode.py | 404 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/decode.py | 534 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/decode.py | 536 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/models/pixeldit_model.py | 169 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/models/pixeldit_model.py | 171 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | invokeai/backend/pid/_src/models/pixeldit_model.py | 207 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | invokeai/backend/pid/_src/models/pixeldit_model.py | 209 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/models/pixeldit_model.py | 241 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/models/pixeldit_model.py | 244 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/models/pid_distill_model.py | 46 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/models/pid_distill_model.py | 48 | # --------------------------------------------------------------------- | COMMENT |
| 196 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | invokeai/app/api_app.py | 235 | except Exception: | CODE |
| HIGH | invokeai/app/util/video_thumbnails.py | 112 | except (OSError, subprocess.TimeoutExpired): | CODE |
| HIGH | invokeai/app/util/video_thumbnails.py | 142 | except psutil.Error: | CODE |
| HIGH | invokeai/app/util/video_thumbnails.py | 121 | except psutil.Error: | CODE |
| HIGH | invokeai/app/util/video_thumbnails.py | 127 | except OSError: | CODE |
| HIGH | invokeai/app/util/ti_utils.py | 39 | except UnknownModelException: | CODE |
| HIGH | invokeai/app/util/mp4_metadata.py | 136 | except UnicodeDecodeError: | CODE |
| HIGH | invokeai/app/util/rocm_integrated_gpu.py | 102 | except subprocess.TimeoutExpired: | CODE |
| HIGH | invokeai/app/util/video_decode_worker.py | 65 | except (OSError, ValueError): | CODE |
| HIGH | invokeai/app/util/video_decode_worker.py | 104 | except Exception: | CODE |
| HIGH | invokeai/app/util/video_decode_worker.py | 148 | except Exception: | CODE |
| HIGH | invokeai/app/util/video_decode_worker.py | 190 | except (TypeError, ValueError, OverflowError): | CODE |
| HIGH | invokeai/app/util/ssrf.py | 141 | except ValueError: | CODE |
| HIGH | invokeai/app/invocations/video_frame_extract_range.py | 286 | except Exception: | CODE |
| HIGH | invokeai/app/invocations/video_concat.py | 274 | except Exception: | CODE |
| HIGH | invokeai/app/invocations/krea2/krea2_denoise.py | 350 | except (OSError, ValueError): | CODE |
| HIGH | invokeai/app/invocations/wan/wan_denoise.py | 245 | except Exception: | CODE |
| HIGH | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 213 | except Exception: | CODE |
| HIGH | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 218 | except Exception: | CODE |
| HIGH | invokeai/app/invocations/vae/wan_latents_to_video.py | 259 | except Exception: | CODE |
| HIGH | invokeai/app/api/routers/style_presets.py | 183 | except StylePresetImageFileNotFoundException: | CODE |
| HIGH | invokeai/app/api/routers/style_presets.py | 152 | except StylePresetImageFileNotFoundException: | CODE |
| HIGH | invokeai/app/api/routers/model_manager.py | 1520 | except ModelImageFileNotFoundException: | CODE |
| HIGH | invokeai/app/api/routers/images.py | 673 | except HTTPException: | CODE |
| HIGH | invokeai/app/api/routers/video_recall.py | 270 | except UnknownModelException: | CODE |
| HIGH | invokeai/app/api/routers/workflows.py | 167 | except WorkflowThumbnailFileNotFoundException: | CODE |
| HIGH | invokeai/app/api/routers/workflows.py | 217 | except WorkflowNotFoundError: | CODE |
| HIGH | invokeai/app/api/routers/videos.py | 566 | except Exception: | CODE |
| HIGH | invokeai/app/api/routers/videos.py | 570 | except Exception: | CODE |
| HIGH | …eai/app/services/model_install/model_install_common.py | 84 | except FileNotFoundError: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 213 | except FileNotFoundError: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 1510 | except ValueError: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 1803 | except UnknownModelException: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 1920 | except DuplicateModelException: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 823 | except PermissionError: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 2175 | except Exception: | CODE |
| HIGH | …ai/app/services/model_install/model_install_default.py | 2182 | except Exception: | CODE |
| HIGH | …ervices/session_processor/session_processor_default.py | 377 | except CanceledException: | CODE |
| HIGH | …ervices/session_processor/session_processor_default.py | 549 | except SessionQueueItemNotFoundError: | CODE |
| HIGH | invokeai/app/services/video_files/video_files_disk.py | 278 | except FileNotFoundError: | CODE |
| HIGH | invokeai/app/services/video_files/video_files_disk.py | 93 | except Exception: | CODE |
| HIGH | invokeai/app/services/shared/graph_validation.py | 305 | except TypeError: | CODE |
| HIGH | invokeai/app/services/shared/graph_validation.py | 743 | except NodeNotFoundError: | CODE |
| HIGH | invokeai/app/services/shared/graph_validation.py | 916 | except ValueError: | CODE |
| HIGH | …ces/gallery_maintenance/gallery_maintenance_default.py | 950 | except OSError: | CODE |
| HIGH | …ces/gallery_maintenance/gallery_maintenance_default.py | 941 | except OSError: | CODE |
| HIGH | …ces/gallery_maintenance/gallery_maintenance_default.py | 909 | except OSError: | CODE |
| HIGH | …ces/gallery_maintenance/gallery_maintenance_default.py | 899 | except OSError: | CODE |
| HIGH | invokeai/app/services/model_load/model_load_default.py | 258 | except IndexError: | CODE |
| HIGH | invokeai/app/services/model_load/model_load_default.py | 310 | except IndexError: | CODE |
| HIGH | invokeai/app/services/download/download_default.py | 952 | except OSError: | CODE |
| HIGH | invokeai/app/services/download/download_default.py | 962 | except OSError: | CODE |
| HIGH | invokeai/app/services/image_files/image_files_disk.py | 320 | except FileNotFoundError: | CODE |
| HIGH | invokeai/app/services/image_files/image_files_disk.py | 625 | except FileNotFoundError: | CODE |
| HIGH | invokeai/app/services/image_files/image_files_disk.py | 359 | except OSError: | CODE |
| HIGH | invokeai/app/services/image_files/image_files_disk.py | 306 | except OSError: | CODE |
| HIGH | invokeai/app/services/image_files/image_files_disk.py | 357 | except OSError: | CODE |
| HIGH | invokeai/app/services/fonts/fonts_default.py | 830 | except OSError: | CODE |
| HIGH | …services/external_generation/providers/alibabacloud.py | 415 | except ValueError: | CODE |
| HIGH | …services/external_generation/providers/alibabacloud.py | 311 | except ValueError: | CODE |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/app/api_app.py | 235 | except Exception: | CODE |
| LOW | invokeai/app/util/torch_cuda_allocator.py | 46 | except Exception: | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 180 | except Exception: | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 191 | except Exception: | CODE |
| LOW | invokeai/app/util/video_thumbnails.py | 398 | except Exception: | CODE |
| LOW | invokeai/app/util/ti_utils.py | 45 | except Exception: | CODE |
| LOW | invokeai/app/util/rocm_aotriton.py | 113 | except Exception as e: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 85 | except Exception as error: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 104 | except Exception: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 125 | except Exception: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 148 | except Exception: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 182 | except Exception: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 205 | except Exception: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 233 | except Exception: | CODE |
| LOW | invokeai/app/util/video_decode_worker.py | 281 | except Exception as e: | CODE |
| LOW | invokeai/app/util/database_copy.py | 110 | except Exception as e: | CODE |
| LOW | invokeai/app/util/database_copy.py | 140 | except Exception as e: | CODE |
| LOW | invokeai/app/util/database_copy.py | 180 | except Exception as e: | CODE |
| LOW | invokeai/app/util/database_copy.py | 229 | except Exception as e: | CODE |
| LOW | invokeai/app/util/database_copy.py | 272 | except Exception as e: | CODE |
| LOW | invokeai/app/util/startup_utils.py | 146 | except Exception: | CODE |
| MEDIUM⚡ | invokeai/app/util/user_management.py | 93 | print("Error: Email is required") | CODE |
| MEDIUM⚡ | invokeai/app/util/user_management.py | 103 | print("Error: Passwords do not match. Please try again.\n") | CODE |
| MEDIUM⚡ | invokeai/app/util/user_management.py | 108 | print(f"Error: {error_msg}\n") | CODE |
| MEDIUM | invokeai/app/util/user_management.py | 227 | print("Error: Email is required") | CODE |
| MEDIUM | invokeai/app/util/user_management.py | 381 | print(f"Error listing users: {e}") | CODE |
| MEDIUM | invokeai/app/util/user_management.py | 461 | print("Error: Email is required") | CODE |
| MEDIUM | invokeai/app/util/user_management.py | 499 | print("Error: Passwords do not match. Please try again.\n") | CODE |
| MEDIUM | invokeai/app/util/user_management.py | 504 | print(f"Error: {error_msg}\n") | CODE |
| LOW⚡ | invokeai/app/util/user_management.py | 61 | except Exception: | CODE |
| LOW⚡ | invokeai/app/util/user_management.py | 72 | except Exception: | CODE |
| LOW | invokeai/app/util/user_management.py | 135 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 175 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 263 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 311 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 380 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 412 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 537 | except Exception as e: | CODE |
| LOW | invokeai/app/util/user_management.py | 594 | except Exception as e: | CODE |
| LOW | invokeai/app/invocations/video_frame_extract_range.py | 286 | except Exception: | CODE |
| LOW | invokeai/app/invocations/call_saved_workflow.py | 103 | except Exception as e: | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 704 | except Exception as e: | CODE |
| LOW | invokeai/app/invocations/baseinvocation.py | 851 | except Exception: | CODE |
| LOW | invokeai/app/invocations/video_concat.py | 274 | except Exception: | CODE |
| LOW | invokeai/app/invocations/load_custom_nodes.py | 72 | except Exception: | CODE |
| LOW | invokeai/app/invocations/ideogram4/ideogram4_denoise.py | 169 | except Exception: | CODE |
| LOW | invokeai/app/invocations/anima/anima_denoise.py | 963 | except Exception as e: | CODE |
| LOW | …pp/invocations/text_encoder/qwen_image_text_encoder.py | 488 | except Exception as cache_exc: | CODE |
| LOW | …okeai/app/invocations/minimax_h3/minimax_h3_denoise.py | 231 | except Exception as e: | CODE |
| LOW | …okeai/app/invocations/minimax_h3/minimax_h3_denoise.py | 451 | except Exception: | CODE |
| LOW | …okeai/app/invocations/minimax_h3/minimax_h3_denoise.py | 499 | except Exception as e: | CODE |
| LOW | …okeai/app/invocations/minimax_h3/minimax_h3_denoise.py | 519 | except Exception: | CODE |
| LOW | invokeai/app/invocations/wan/wan_denoise.py | 245 | except Exception: | CODE |
| LOW | …eai/app/invocations/ernie_image/ernie_image_denoise.py | 241 | except Exception as e: | CODE |
| LOW | invokeai/app/invocations/vae/anima_latents_to_image.py | 219 | except Exception: | CODE |
| LOW | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 213 | except Exception: | CODE |
| LOW | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 218 | except Exception: | CODE |
| LOW | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 267 | except Exception: | CODE |
| LOW | invokeai/app/invocations/vae/ltx2_latents_to_video.py | 272 | except Exception: | CODE |
| LOW | invokeai/app/invocations/vae/ltx2_latents_to_video.py | 318 | except Exception: | CODE |
| 549 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/app/util/dynamicprompts.py | 1 | CODE | |
| LOW | invokeai/app/util/ssrf.py | 31 | CODE | |
| LOW | invokeai/app/util/startup_utils.py | 206 | CODE | |
| LOW | invokeai/app/invocations/external_image_generation.py | 24 | CODE | |
| LOW | invokeai/app/invocations/baseinvocation.py | 1 | CODE | |
| LOW | invokeai/app/invocations/baseinvocation.py | 51 | CODE | |
| LOW | invokeai/app/api/auth_dependencies.py | 14 | CODE | |
| LOW | invokeai/app/api/routers/fonts.py | 3 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 1 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 5 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 6 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 7 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 8 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 9 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 12 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 14 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 16 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 17 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 18 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 19 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 20 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 21 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 22 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 23 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 24 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 25 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 26 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 27 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 28 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 29 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 30 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 31 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 32 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 33 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 34 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 35 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 36 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 37 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 38 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 39 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 40 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 41 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 44 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 45 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 46 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 47 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 48 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 49 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 50 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 51 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 52 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 53 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 54 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 55 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 56 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 57 | CODE | |
| LOW | invokeai/app/services/invocation_services.py | 58 | CODE | |
| LOW | invokeai/app/services/app_settings/__init__.py | 3 | CODE | |
| LOW | invokeai/app/services/config/config_common.py | 9 | CODE | |
| LOW | invokeai/app/services/config/config_default.py | 4 | CODE | |
| 673 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …eai/app/invocations/text_encoder/anima_text_encoder.py | 0 | iterate over lora models to apply to the qwen3 text encoder. | STRING |
| HIGH | …i/app/invocations/text_encoder/z_image_text_encoder.py | 0 | iterate over lora models to apply to the qwen3 text encoder. | STRING |
| HIGH | …p/invocations/text_encoder/flux2_klein_text_encoder.py | 0 | iterate over lora models to apply to the qwen3 text encoder. | STRING |
| HIGH | …okeai/app/services/model_install/model_install_base.py | 0 | pause the indicated job, preserving partial downloads. | STRING |
| HIGH | …ai/app/services/model_install/model_install_default.py | 0 | pause the indicated job, preserving partial downloads. | STRING |
| HIGH | invokeai/app/services/download/download_default.py | 0 | pause the indicated job, preserving partial downloads. | STRING |
| HIGH | …rvices/board_video_records/board_video_records_base.py | 0 | gets all board images for a board, as a list of the image names. when ``user_id`` is provided, results are restricted to | STRING |
| HIGH | invokeai/app/services/board_images/board_images_base.py | 0 | gets all board images for a board, as a list of the image names. when ``user_id`` is provided, results are restricted to | STRING |
| HIGH | …rvices/board_image_records/board_image_records_base.py | 0 | gets all board images for a board, as a list of the image names. when ``user_id`` is provided, results are restricted to | STRING |
| HIGH | invokeai/app/services/model_images/model_images_base.py | 0 | low-level service responsible for storing and retrieving image files. | STRING |
| HIGH | …rvices/style_preset_images/style_preset_images_base.py | 0 | low-level service responsible for storing and retrieving image files. | STRING |
| HIGH | invokeai/app/services/image_files/image_files_base.py | 0 | low-level service responsible for storing and retrieving image files. | STRING |
| HIGH | …keai/app/services/model_images/model_images_default.py | 0 | checks if the required output folders exist and create them if they don't | STRING |
| HIGH | …rvices/workflow_thumbnails/workflow_thumbnails_disk.py | 0 | checks if the required output folders exist and create them if they don't | STRING |
| HIGH | …rvices/style_preset_images/style_preset_images_disk.py | 0 | checks if the required output folders exist and create them if they don't | STRING |
| HIGH | invokeai/app/services/image_files/image_files_disk.py | 0 | checks if the required output folders exist and create them if they don't | STRING |
| HIGH | …/app/services/shared/database/queries/style_presets.py | 0 | sets these fields of the video; one statement per set of fields, of which there are few. | STRING |
| HIGH | invokeai/app/services/shared/database/queries/images.py | 0 | sets these fields of the video; one statement per set of fields, of which there are few. | STRING |
| HIGH | …keai/app/services/shared/database/queries/wildcards.py | 0 | sets these fields of the video; one statement per set of fields, of which there are few. | STRING |
| HIGH | invokeai/app/services/shared/database/queries/videos.py | 0 | sets these fields of the video; one statement per set of fields, of which there are few. | STRING |
| HIGH | invokeai/app/services/shared/database/queries/images.py | 0 | which filters a listing has: never their values, which are bound, so that the shapes are few. | STRING |
| HIGH | …vokeai/app/services/shared/database/queries/gallery.py | 0 | which filters a listing has: never their values, which are bound, so that the shapes are few. | STRING |
| HIGH | invokeai/app/services/shared/database/queries/videos.py | 0 | which filters a listing has: never their values, which are bound, so that the shapes are few. | STRING |
| HIGH | invokeai/backend/image_util/lineart.py | 0 | get the url to download the model from the hugging face hub. | STRING |
| HIGH | invokeai/backend/image_util/lineart_anime.py | 0 | get the url to download the model from the hugging face hub. | STRING |
| HIGH | invokeai/backend/image_util/hed.py | 0 | get the url to download the model from the hugging face hub. | STRING |
| HIGH | invokeai/backend/image_util/pidi/__init__.py | 0 | get the url to download the model from the hugging face hub. | STRING |
| HIGH | invokeai/backend/image_util/normal_bae/__init__.py | 0 | get the url to download the model from the hugging face hub. | STRING |
| HIGH | invokeai/backend/image_util/mlsd/__init__.py | 0 | get the url to download the model from the hugging face hub. | STRING |
| HIGH | …/patches/lora_conversions/wan_lora_conversion_utils.py | 0 | group state-dict keys by their layer path (everything before the lora-suffix tail). | STRING |
| HIGH | …s/lora_conversions/minimax_h3_lora_conversion_utils.py | 0 | group state-dict keys by their layer path (everything before the lora-suffix tail). | STRING |
| HIGH | …patches/lora_conversions/ltx2_lora_conversion_utils.py | 0 | group state-dict keys by their layer path (everything before the lora-suffix tail). | STRING |
| HIGH | …d/quantization/scripts/load_flux_model_bnb_llm_int8.py | 0 | a script for quantizing a t5 text encoder model using the bitsandbytes llm.int8() quantization method. this script is pr | STRING |
| HIGH | …ackend/quantization/scripts/load_flux_model_bnb_nf4.py | 0 | a script for quantizing a t5 text encoder model using the bitsandbytes llm.int8() quantization method. this script is pr | STRING |
| HIGH | …d/quantization/scripts/quantize_t5_xxl_bnb_llm_int8.py | 0 | a script for quantizing a t5 text encoder model using the bitsandbytes llm.int8() quantization method. this script is pr | STRING |
| HIGH | invokeai/backend/model_manager/configs/t2i_adapter.py | 0 | raise `notamatch` if the model base does not match this config class. | STRING |
| HIGH | invokeai/backend/model_manager/configs/controlnet.py | 0 | raise `notamatch` if the model base does not match this config class. | STRING |
| HIGH | invokeai/backend/model_manager/configs/ip_adapter.py | 0 | raise `notamatch` if the model base does not match this config class. | STRING |
| HIGH | invokeai/backend/model_manager/configs/lora.py | 0 | raise `notamatch` if the model base does not match this config class. | STRING |
| HIGH | invokeai/backend/model_manager/configs/main.py | 0 | raise `notamatch` if the model base does not match this config class. | STRING |
| HIGH | tests/app/routers/test_auth.py | 0 | enable multiuser mode for auth tests. auth tests need multiuser mode enabled since the login/setup endpoints return 403 | STRING |
| HIGH | tests/app/services/auth/test_security.py | 0 | enable multiuser mode for auth tests. auth tests need multiuser mode enabled since the login/setup endpoints return 403 | STRING |
| HIGH | tests/app/services/auth/test_data_isolation.py | 0 | enable multiuser mode for auth tests. auth tests need multiuser mode enabled since the login/setup endpoints return 403 | STRING |
| HIGH | tests/app/routers/test_session_queue_workflow_call.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | tests/app/routers/test_multiuser_authorization.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …es/session_processor/test_for_loop_processor_sqlite.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …services/session_processor/test_if_processor_sqlite.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …/services/session_queue/test_for_loop_session_queue.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …es/session_queue/test_session_queue_status_sequence.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …ion_queue/test_session_queue_status_event_isolation.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …ession_queue/test_session_queue_status_user_scoping.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …ession_queue/test_session_queue_dequeue_concurrency.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …es/session_queue/test_session_queue_multigpu_cancel.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …ession_queue/test_session_queue_workflow_call_retry.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …ion_queue/test_session_queue_workflow_call_metadata.py | 0 | --sql insert into session_queue ( queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, des | STRING |
| HIGH | …session_queue/test_session_queue_bulk_cancel_events.py | 0 | --sql insert into session_queue (queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, dest | STRING |
| HIGH | …p/services/session_queue/test_session_queue_dequeue.py | 0 | --sql insert into session_queue (queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, dest | STRING |
| HIGH | …app/services/session_queue/test_session_queue_clear.py | 0 | --sql insert into session_queue (queue_id, session, session_id, batch_id, field_values, priority, workflow, origin, dest | STRING |
| HIGH | …conversions/test_flux_control_lora_conversion_utils.py | 0 | test that is_state_dict_likely_in_flux_onetrainer_format() returns false for a state dict that is in the diffusers flux | STRING |
| HIGH | …a_conversions/test_flux_kohya_lora_conversion_utils.py | 0 | test that is_state_dict_likely_in_flux_onetrainer_format() returns false for a state dict that is in the diffusers flux | STRING |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/app/api_app.py | 162 | CODE | |
| LOW | invokeai/app/util/dynamicprompts.py | 19 | CODE | |
| LOW | invokeai/app/util/video_thumbnails.py | 223 | CODE | |
| LOW | invokeai/app/util/video_thumbnails.py | 341 | CODE | |
| LOW | invokeai/app/util/video_thumbnails.py | 560 | CODE | |
| LOW | invokeai/app/util/mp4_metadata.py | 197 | CODE | |
| LOW | invokeai/app/util/video_audio.py | 106 | CODE | |
| LOW | invokeai/app/util/video_decode_worker.py | 258 | CODE | |
| LOW | invokeai/app/util/user_management.py | 449 | CODE | |
| LOW | invokeai/app/invocations/metadata_linked.py | 999 | CODE | |
| LOW | invokeai/app/invocations/metadata_linked.py | 1076 | CODE | |
| LOW | invokeai/app/invocations/upscale.py | 45 | CODE | |
| LOW | invokeai/app/invocations/logic.py | 68 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 85 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 449 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 679 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 1312 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 1422 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 1475 | CODE | |
| LOW | invokeai/app/invocations/composition-nodes.py | 1507 | CODE | |
| LOW | invokeai/app/invocations/baseinvocation.py | 573 | CODE | |
| LOW | invokeai/app/invocations/baseinvocation.py | 241 | CODE | |
| LOW | invokeai/app/invocations/video_concat.py | 423 | CODE | |
| LOW | invokeai/app/invocations/facetools.py | 356 | CODE | |
| LOW | invokeai/app/invocations/spandrel_image_to_image.py | 209 | CODE | |
| LOW | invokeai/app/invocations/math.py | 197 | CODE | |
| LOW | invokeai/app/invocations/math.py | 271 | CODE | |
| LOW | invokeai/app/invocations/strings.py | 31 | CODE | |
| LOW | invokeai/app/invocations/sd/ip_adapter.py | 123 | CODE | |
| LOW | invokeai/app/invocations/sd/create_gradient_mask.py | 80 | CODE | |
| LOW | invokeai/app/invocations/krea2/krea2_denoise.py | 354 | CODE | |
| LOW | invokeai/app/invocations/flux/flux_denoise.py | 734 | CODE | |
| LOW | invokeai/app/invocations/flux2/flux2_denoise.py | 176 | CODE | |
| LOW | invokeai/app/invocations/anima/anima_denoise.py | 592 | CODE | |
| LOW | invokeai/app/invocations/text_encoder/compel.py | 460 | CODE | |
| LOW | …okeai/app/invocations/minimax_h3/minimax_h3_denoise.py | 663 | CODE | |
| LOW | …eai/app/invocations/minimax_h3/minimax_h3_reference.py | 348 | CODE | |
| LOW | invokeai/app/invocations/wan/wan_model_loader.py | 125 | CODE | |
| LOW | invokeai/app/invocations/wan/wan_video_denoise.py | 156 | CODE | |
| LOW | invokeai/app/invocations/wan/wan_denoise.py | 423 | CODE | |
| LOW | invokeai/app/invocations/z_image/z_image_denoise.py | 375 | CODE | |
| LOW | …vokeai/app/invocations/vae/z_image_latents_to_image.py | 53 | CODE | |
| LOW | invokeai/app/invocations/vae/anima_latents_to_image.py | 81 | CODE | |
| LOW | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 51 | CODE | |
| LOW | invokeai/app/invocations/vae/wan_latents_to_video.py | 98 | CODE | |
| LOW | invokeai/app/api/sockets.py | 255 | CODE | |
| LOW | invokeai/app/api/sockets.py | 953 | CODE | |
| LOW | invokeai/app/api/routers/board_images.py | 150 | CODE | |
| LOW | invokeai/app/api/routers/board_images.py | 204 | CODE | |
| LOW | invokeai/app/api/routers/board_images.py | 302 | CODE | |
| LOW | invokeai/app/api/routers/model_manager.py | 536 | CODE | |
| LOW | invokeai/app/api/routers/model_manager.py | 1540 | CODE | |
| LOW | invokeai/app/api/routers/model_manager.py | 1591 | CODE | |
| LOW | invokeai/app/api/routers/app_info.py | 254 | CODE | |
| LOW | invokeai/app/api/routers/images.py | 569 | CODE | |
| LOW | invokeai/app/api/routers/video_recall.py | 295 | CODE | |
| LOW | invokeai/app/api/routers/video_recall.py | 374 | CODE | |
| LOW | invokeai/app/api/routers/image_map.py | 758 | CODE | |
| LOW | invokeai/app/api/routers/recall_parameters.py | 214 | CODE | |
| LOW | invokeai/app/api/routers/recall_parameters.py | 270 | CODE | |
| 300 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 61 | # reject torch>=2.12 on Windows/Linux CUDA, CPU and ARM64, where 2.12 has no known problem. | COMMENT |
| LOW | pyproject.toml | 161 | # ROCm 10 for Linux x86_64 and Windows, from AMD's index (PyTorch publishes no ROCm wheels for Windows, and none | COMMENT |
| LOW | pyproject.toml | 261 | "torch==2.7.1; sys_platform == 'darwin' or (sys_platform == 'linux' and platform_machine == 'aarch64')", | COMMENT |
| LOW | pyproject.toml | 321 | # `==2.13.0` also matches the local builds (+cpu, +cu130, +rocm10.0.0, +xpu). | COMMENT |
| LOW | invokeai/app/run_app.py | 1 | import os | COMMENT |
| LOW | invokeai/app/run_app.py | 21 | # every candidate kernel the first time a convolution shape is seen, which on a VAE-shaped | COMMENT |
| LOW | invokeai/app/api_app.py | 201 | # an unauthenticated route returning 2xx with a stale Bearer header | COMMENT |
| LOW | invokeai/app/api_app.py | 521 | # `Transfer-Encoding: chunked` (the chunked framing wins), so trusting the header let | COMMENT |
| LOW | invokeai/app/util/video_thumbnails.py | 41 | # Resident-memory kill threshold for a decode worker *tree* (the worker plus its | COMMENT |
| LOW | invokeai/app/util/video_thumbnails.py | 401 | Path(tmp_name).unlink(missing_ok=True) | COMMENT |
| LOW | invokeai/app/util/video_thumbnails.py | 421 | MIN_DEEPER_SEEK_GAP_SECONDS = 1.0 | COMMENT |
| LOW | invokeai/app/util/video_thumbnails.py | 441 | COMMENT | |
| LOW | invokeai/app/util/video_thumbnails.py | 461 | # which a frame is a card: titles, a logo or a caption on a solid background. Synthetic | COMMENT |
| LOW | invokeai/app/invocations/baseinvocation.py | 621 | ui_type = field.json_schema_extra.get("ui_type", None) | COMMENT |
| LOW | invokeai/app/invocations/baseinvocation.py | 821 | COMMENT | |
| LOW | invokeai/app/invocations/image.py | 1361 | # which is what the forced 1.0 below works out to. Only the band still needs the | COMMENT |
| LOW | invokeai/app/invocations/image.py | 1381 | # There are some magic numbers here that are used to create a smooth transition: | COMMENT |
| LOW | invokeai/app/invocations/krea2/krea2_denoise.py | 581 | # An int8_tensorwise or GGUF build stores its linears quantized and materializes the dequantized | COMMENT |
| LOW | invokeai/app/invocations/ltx2/ltx2_denoise.py | 261 | estimated = video_rows * int(MiB // 4.5) + audio_rows * (MiB // 10) + 1024**3 | COMMENT |
| LOW | invokeai/app/invocations/ltx2/ltx2_denoise.py | 541 | COMMENT | |
| LOW | invokeai/app/invocations/flux2/flux2_denoise.py | 61 | from invokeai.backend.util.devices import TorchDevice | COMMENT |
| LOW | invokeai/app/invocations/flux2/flux2_denoise.py | 381 | # Calculate the timestep schedule using FLUX.2 specific schedule | COMMENT |
| LOW | …app/invocations/text_encoder/flux2_dev_text_encoder.py | 181 | text = FLUX2_DEV_PROMPT_TEMPLATE.format(system=FLUX2_DEV_SYSTEM_MESSAGE, prompt=self.prompt) | COMMENT |
| LOW | invokeai/app/invocations/wan/wan_ref_image_encoder.py | 141 | # swaps in particular can leave the cache fragmented in ways that look like | COMMENT |
| LOW | invokeai/app/invocations/wan/wan_lora_loader.py | 21 | # | COMMENT |
| LOW | invokeai/app/invocations/wan/wan_denoise.py | 221 | COMMENT | |
| LOW | invokeai/app/invocations/wan/wan_denoise.py | 601 | # time the denoise loop swaps in, producing the | COMMENT |
| LOW | …eai/app/invocations/vae/qwen_image_latents_to_image.py | 61 | tiled = self.tiled or config.force_tiled_decode | COMMENT |
| LOW | …eai/app/invocations/vae/qwen_image_latents_to_image.py | 101 | context.util.signal_progress("Running VAE") | COMMENT |
| LOW | …keai/app/invocations/vae/ideogram4_latents_to_image.py | 61 | latents = context.tensors.load(self.latents.latents_name) | COMMENT |
| LOW | …eai/app/invocations/vae/minimax_h3_latents_to_video.py | 101 | # frames are the blended-tile ones — never toggle tiling on the shared cached instance: | COMMENT |
| LOW | invokeai/app/api/sockets.py | 521 | COMMENT | |
| LOW | invokeai/app/api/sockets.py | 981 | # Import here to avoid circular dependency | COMMENT |
| LOW | invokeai/app/api/sockets.py | 1061 | event=event_name, data=event_data.model_dump(mode="json"), room=[user_room, "admin"] | COMMENT |
| LOW | invokeai/app/api/auth_dependencies.py | 41 | - it is active, | COMMENT |
| LOW | invokeai/app/api/routers/board_images.py | 221 | # Skip — but do not re-raise — auth failures so a foreign name mid-batch doesn't | COMMENT |
| LOW | invokeai/app/api/routers/board_images.py | 341 | # 404 here would otherwise be indistinguishable from a storage failure below. | COMMENT |
| LOW | invokeai/app/api/routers/images.py | 61 | COMMENT | |
| LOW | invokeai/app/api/routers/images.py | 581 | COMMENT | |
| LOW | invokeai/app/api/routers/images.py | 621 | # stale while the name is reported gone. | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 181 | _refresh_claims[user_id] = now | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 221 | _cluster_cache[user_id] = (key, labels, resolved_eps) | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 461 | if stale: | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 481 | (item in accessible and item.kind in kinds for item in record.items), | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 521 | # proceed, so this is "the label array is bounded by the cap" — | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 1001 | # diagnostics /points reports cover this call too: same points, same | COMMENT |
| LOW | invokeai/app/api/routers/image_map.py | 1101 | # matrix raises out of the matmul below. Both are this one item's data | COMMENT |
| LOW | invokeai/app/api/routers/session_queue.py | 161 | return read_for_retry(item_id) | COMMENT |
| LOW | …ai/app/services/model_install/model_install_default.py | 2241 | remote_files: List[RemoteModelFile], | COMMENT |
| LOW | …ervices/session_processor/session_processor_default.py | 201 | # Revalidate the owner before the node: an account deactivated mid-session | COMMENT |
| LOW | …ervices/session_processor/session_processor_default.py | 881 | queue_items: list[SessionQueueItem] = [] | COMMENT |
| LOW | …ervices/session_processor/session_processor_default.py | 901 | # Handlers are dispatched as independent tasks, so a deactivate immediately | COMMENT |
| LOW | …ervices/session_processor/session_processor_default.py | 1201 | COMMENT | |
| LOW | invokeai/app/services/shared/database/database.py | 141 | # On the connection rather than the engine, so it also covers the migrator's raw cursors. | COMMENT |
| LOW | …ervices/shared/sqlite_migrator/sqlite_migrator_impl.py | 141 | cursor = conn.cursor() | COMMENT |
| LOW | …vokeai/app/services/model_records/model_records_sql.py | 141 | # 1. Convert the existing record to a dict | COMMENT |
| LOW | …eai/app/services/session_queue/session_queue_common.py | 661 | # The batch prep logic injects field values into the same fields for each generated session. | COMMENT |
| LOW | …eai/app/services/session_queue/session_queue_common.py | 681 | # previous mutation. We only need to serialize the graph once, and then we can mutate it in place for each session. | COMMENT |
| LOW | …vokeai/app/services/image_index/image_index_default.py | 261 | # outcome exactly once however many times it is re-armed by a failed batch on the way | COMMENT |
| LOW | …vokeai/app/services/image_index/image_index_default.py | 301 | self._stopped = False | COMMENT |
| 211 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | invokeai/app/api_app.py | 106 | # Create the app | COMMENT |
| MEDIUM | invokeai/app/util/profiler.py | 13 | # Create a profiler | STRING |
| MEDIUM⚡ | invokeai/app/invocations/facetools.py | 197 | # Create a FaceMesh object for face landmark detection and mesh generation. | COMMENT |
| MEDIUM | invokeai/app/invocations/facetools.py | 597 | # Create an RGBA image with transparency | COMMENT |
| MEDIUM | invokeai/app/invocations/facetools.py | 678 | # Create an RGBA image with transparency | COMMENT |
| MEDIUM | invokeai/app/invocations/image.py | 213 | # Create a temporary image to paste the image with transparency | COMMENT |
| MEDIUM | invokeai/app/invocations/image.py | 1269 | # Create a mask based on the threshold and the distance calculated above | COMMENT |
| MEDIUM | invokeai/app/invocations/image.py | 1355 | # Create a distance transform of the thresholded mask. Distances are measured to the | COMMENT |
| MEDIUM | invokeai/app/invocations/image.py | 1514 | # Create a noisy version of the input image | COMMENT |
| MEDIUM | invokeai/app/invocations/sd/create_gradient_mask.py | 102 | # Create a circular distance kernel that fades from center outward | COMMENT |
| MEDIUM | invokeai/app/invocations/sd/create_gradient_mask.py | 112 | # Create a Gaussian kernel | COMMENT |
| MEDIUM | …nvocations/sd/tiled_multi_diffusion_denoise_latents.py | 43 | # Create a shallow copy of the control_data object. | COMMENT |
| MEDIUM | invokeai/app/services/config/config_default.py | 797 | # Create the example config file, with some extra example values provided | COMMENT |
| MEDIUM | invokeai/backend/llava_onevision_pipeline.py | 49 | # Define a chat history and use `apply_chat_template` to get correctly formatted prompt. | COMMENT |
| MEDIUM | invokeai/backend/image_util/controlnet_processor.py | 133 | # Create a minimal context to run the invocation | COMMENT |
| MEDIUM | invokeai/backend/image_util/imwatermark/vendor.py | 1 | # This file is vendored from https://github.com/ShieldMnt/invisible-watermark | COMMENT |
| MEDIUM | invokeai/backend/image_util/infill_methods/tile.py | 108 | # Create the pool of tiles that we will use to infill | COMMENT |
| MEDIUM | invokeai/backend/image_util/infill_methods/tile.py | 111 | # Create an image from the tiles, same size as the original | COMMENT |
| MEDIUM | …backend/image_util/segment_anything/mask_refinement.py | 1 | # This file contains utilities for Grounded-SAM mask refinement based on: | COMMENT |
| MEDIUM | …backend/image_util/segment_anything/mask_refinement.py | 41 | # Create an empty mask. | COMMENT |
| MEDIUM | invokeai/backend/flux/custom_block_processor.py | 24 | """This function is a direct copy of DoubleStreamBlock.forward(), but it returns some of the intermediate | STRING |
| MEDIUM | invokeai/backend/flux/custom_block_processor.py | 109 | """This function is a direct copy of SingleStreamBlock.forward().""" | STRING |
| MEDIUM | …nd/flux/ip_adapter/ip_double_stream_block_processor.py | 1 | # This file is based on: | COMMENT |
| MEDIUM | …s/lora_conversions/flux_xlabs_lora_conversion_utils.py | 77 | # Create the InvokeAI-style layer key | COMMENT |
| MEDIUM | invokeai/backend/quantization/bnb_llm_int8.py | 6 | # This file contains utils for working with models that use bitsandbytes LLM.int8() quantization. | COMMENT |
| MEDIUM | invokeai/backend/quantization/bnb_nf4.py | 4 | # This file contains utils for working with models that use bitsandbytes NF4 quantization. | COMMENT |
| MEDIUM | invokeai/backend/quantization/bnb_nf4.py | 29 | """This method is based on the logic in the bitsandbytes serialization unit tests for `Linear4bit`: | STRING |
| MEDIUM | invokeai/backend/pid/_src/utils/context_parallel.py | 79 | # Create a list to store tensors from all ranks | COMMENT |
| MEDIUM | invokeai/backend/pid/_src/utils/context_parallel.py | 116 | # Create a list to store tensors from all ranks | COMMENT |
| MEDIUM | …end/stable_diffusion/diffusion/regional_prompt_data.py | 92 | # Create an empty attention mask with the correct shape. | COMMENT |
| MEDIUM | …table_diffusion/diffusion/shared_invokeai_diffusion.py | 333 | # Create a dummy mask and range for text conditioning that doesn't have region masks. | COMMENT |
| MEDIUM | …ai/backend/model_manager/load/model_loaders/z_image.py | 430 | # Create an empty model with the default Z-Image config | COMMENT |
| MEDIUM | …ai/backend/model_manager/load/model_loaders/z_image.py | 526 | # Create an empty model with the default Z-Image config | COMMENT |
| MEDIUM | …ai/backend/model_manager/load/model_loaders/z_image.py | 775 | # Create an empty model with the default Z-Image config | COMMENT |
| MEDIUM | …ai/backend/model_manager/load/model_loaders/z_image.py | 898 | # Create an empty model with the default Z-Image config | COMMENT |
| MEDIUM | …ai/backend/model_manager/load/model_loaders/z_image.py | 1091 | # Create an empty control adapter | COMMENT |
| MEDIUM | tests/dangerously_run_function_in_subprocess.py | 30 | # Create a script that calls the function | COMMENT |
| MEDIUM | tests/legacy_tests.sh | 3 | # This file contains bunch of compatibility tests that ensures | COMMENT |
| MEDIUM | tests/app/test_extract_metadata.py | 32 | # Create a mock image with valid metadata | COMMENT |
| MEDIUM | tests/app/routers/test_auth.py | 81 | # Create a test user | COMMENT |
| MEDIUM | tests/app/routers/test_session_queue_sanitization.py | 32 | # Define a minimal test invocation for the test | COMMENT |
| MEDIUM | tests/app/routers/test_client_state_multiuser.py | 79 | # Create a regular user | COMMENT |
| MEDIUM⚡ | tests/app/routers/test_multiuser_authorization.py | 1123 | # Create a shared board and add the image to it | COMMENT |
| MEDIUM⚡ | tests/app/routers/test_multiuser_authorization.py | 1450 | # Create a board owned by user1 and add the image to it | COMMENT |
| MEDIUM⚡ | tests/app/routers/test_multiuser_authorization.py | 2736 | # Create a token for a user_id that was never created in the user service | COMMENT |
| MEDIUM | tests/app/routers/test_multiuser_authorization.py | 2715 | # Create the user in the database so the active-user check passes | COMMENT |
| MEDIUM | tests/app/routers/test_multiuser_authorization.py | 2755 | # Create a real user, then deactivate them | COMMENT |
| MEDIUM | tests/app/routers/test_multiuser_authorization.py | 3473 | # Create a fake installed pack directory | COMMENT |
| MEDIUM | tests/app/routers/test_custom_nodes.py | 418 | # Create a mock invocation class | COMMENT |
| MEDIUM⚡ | tests/app/api/test_sliding_window_token.py | 193 | # Create a remember-me token with only 1 hour remaining (less than 24h) | COMMENT |
| MEDIUM⚡ | tests/app/services/auth/test_security.py | 252 | # Create a regular user | COMMENT |
| MEDIUM | tests/app/services/auth/test_security.py | 82 | # Create a legitimate user first | COMMENT |
| MEDIUM | tests/app/services/auth/test_security.py | 115 | # Create a legitimate user | COMMENT |
| MEDIUM | tests/app/services/auth/test_security.py | 142 | # Create a test user | COMMENT |
| MEDIUM | tests/app/services/auth/test_security.py | 191 | # Create a regular user and login | COMMENT |
| MEDIUM | tests/app/services/auth/test_security.py | 286 | # Create a token that expires quickly | COMMENT |
| MEDIUM⚡ | tests/app/services/auth/test_password_utils.py | 52 | # Create a password longer than 72 bytes | COMMENT |
| MEDIUM | tests/app/services/auth/test_performance.py | 136 | # Create a user | COMMENT |
| MEDIUM⚡ | tests/app/services/bulk_download/test_bulk_download.py | 70 | # Create a directory at tmp_path/bulk_downloads | COMMENT |
| MEDIUM⚡ | tests/app/services/bulk_download/test_bulk_download.py | 74 | # Create a file at tmp_path/bulk_downloads/test.zip | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | invokeai/app/util/controlnet_utils.py | 378 | Pre-process images for ControlNets or T2I-Adapters. Args: image (Image): The PIL image to pre-process. | STRING |
| HIGH | invokeai/app/invocations/metadata_linked.py | 139 | Combines any number of items or lists into a single list, ensuring consistency in type. Args: item_cls: | STRING |
| HIGH | invokeai/app/api/auth_dependencies.py | 108 | Get current authenticated user from Bearer token. Note: This function accesses ApiDependencies.invoker.services.use | STRING |
| HIGH | invokeai/app/api/auth_dependencies.py | 156 | Get current authenticated user from Bearer token, or return a default system user if not authenticated. This depend | STRING |
| HIGH | invokeai/app/api/auth_dependencies.py | 220 | Require admin role for the current user. Stays `async def`, unlike the dependencies it builds on: this only reads a | STRING |
| HIGH | invokeai/app/api/auth_dependencies.py | 244 | Require admin role for the current user, or return default system admin in single-user mode. `async def` for the sa | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 199 | Authenticate user and return access token. Args: request: Login credentials (email and password) Retur | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 332 | Get current authenticated user's information. Args: current_user: The authenticated user's token data | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 356 | Set up initial administrator account. This endpoint can only be called once, when no admin user exists. It creates | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 496 | Create a new user. Requires admin privileges. Args: request: New user details Returns: The cre | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 526 | Get a user by ID. Requires admin privileges. Args: user_id: The user ID Returns: The user | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 552 | Update a user. Requires admin privileges. Resetting a password revokes the target's existing sessions. An admin res | STRING |
| HIGH | invokeai/app/api/routers/auth.py | 727 | Update the current user's own profile. To change the password, both ``current_password`` and ``new_password`` must | STRING |
| HIGH | invokeai/app/api/routers/recall_parameters.py | 397 | Update recallable parameters that can be recalled on the frontend. This endpoint allows updating parameters su | STRING |
| HIGH | invokeai/app/services/users/users_common.py | 13 | Validate email address, allowing special-use domains like .local for testing. This validator first tries standard e | STRING |
| HIGH | invokeai/app/services/users/users_base.py | 14 | Create a new user. Args: user_data: User creation data strict_password_checking: If Tru | STRING |
| HIGH | invokeai/app/services/users/users_base.py | 67 | Update user. Args: user_id: The user ID changes: Fields to update strict_pa | STRING |
| HIGH | invokeai/app/services/users/users_base.py | 123 | Create an admin user (for initial setup). Args: user_data: User creation data strict_pa | STRING |
| HIGH | …i/app/services/project_records/project_records_base.py | 35 | Create a project for the user, with a board. Args: user_id: The owning user. name: The | STRING |
| HIGH | …es/style_preset_records/style_preset_records_common.py | 95 | Parses style presets from a file. The file must be a CSV or JSON file. If CSV, the file must have the following col | STRING |
| HIGH | invokeai/backend/hidiffusion/hidiffusion.py | 193 | Function invoked when calling the pipeline for generation. Args: prompt (`str` | STRING |
| HIGH | invokeai/backend/image_util/util.py | 164 | Apply non-maximum suppression to an image. If both threshold and sigma are provided, the image will blurred be | STRING |
| HIGH | …ules/efficientnet_repo/geffnet/efficientnet_builder.py | 464 | Decode block definition string Gets a list of block arg (dicts) through a string notation of arguments. E.g. i | STRING |
| HIGH | invokeai/backend/util/state_dict_loading.py | 108 | Load ``state_dict`` into ``model``, ignoring keys the model has nowhere to put. A drop-in replacement for ``model.l | STRING |
| HIGH | …patches/lora_conversions/sdxl_lora_conversion_utils.py | 8 | Convert the keys of an SDXL LoRA state_dict to diffusers format. The input state_dict can be in either Stability AI | STRING |
| HIGH | invokeai/backend/pid/_src/utils/context_parallel.py | 28 | Split input tensor along the sequence dimension for context parallelism. This function divides the input tenso | STRING |
| HIGH | invokeai/backend/pid/_src/utils/context_parallel.py | 59 | Concatenate outputs from different ranks in the checkpoint parallelism group. This function gathers tensors fr | STRING |
| HIGH | invokeai/backend/pid/_src/utils/context_parallel.py | 93 | Concatenate outputs from different ranks in the context parallelism group. This function gathers tensors from | STRING |
| HIGH | …okeai/backend/pid/_ext/imaginaire/utils/distributed.py | 359 | Modify based on DDP source code Synchronizes the parameters and buffers of a model across different processes i | STRING |
| HIGH | …/backend/model_manager/configs/identification_utils.py | 47 | Load the diffusers/transformers model config file and return it as a dictionary. The config file is expected to be i | STRING |
| HIGH | …/backend/model_manager/configs/identification_utils.py | 81 | Load the diffusers/transformers model config file and return the class name. Args: config_path: The path to | STRING |
| HIGH | invokeai/backend/model_manager/configs/factory.py | 852 | Classify a model on disk and return the best matching model config. Args: mod: The model on disk to | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/app/util/ssrf.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | invokeai/app/api/auth_dependencies.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | invokeai/app/api/routers/auth.py | 132 | def _set_media_cookie(request: Request, response: Response, token: str, max_age_seconds: int) -> None: | CODE |
| LOW | invokeai/app/api/routers/gallery_maintenance.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | invokeai/app/api/routers/utilities.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | invokeai/app/api/routers/fonts.py | 352 | __all__ = [ | CODE |
| LOW | invokeai/app/services/app_settings/__init__.py | 5 | __all__ = ["AppSettingsService"] | CODE |
| LOW | invokeai/app/services/config/config_default.py | 56 | logger = logging.getLogger(__name__) | CODE |
| LOW | invokeai/app/services/config/config_default.py | 386 | def update_config(self, config: dict[str, Any] | InvokeAIAppConfig, clobber: bool = True) -> None: | CODE |
| LOW | invokeai/app/services/config/__init__.py | 6 | __all__ = ["InvokeAIAppConfig", "get_config", "PagingArgumentParser"] | CODE |
| LOW | invokeai/app/services/auth/token_service.py | 33 | def set_jwt_secret(secret: str) -> None: | CODE |
| LOW | invokeai/app/services/model_install/__init__.py | 16 | __all__ = [ | CODE |
| LOW | …eai/app/services/model_install/model_install_common.py | 291 | def set_error(self, e: Exception) -> None: | CODE |
| LOW | …ai/app/services/model_install/model_install_default.py | 1829 | def _set_error(self, install_job: ModelInstallJob, excp: Exception) -> None: | CODE |
| LOW | invokeai/app/services/image_moves/__init__.py | 3 | __all__ = ["ImageMoveService"] | CODE |
| LOW | …vokeai/app/services/image_moves/image_moves_default.py | 122 | def set_session_queue(self, session_queue) -> None: | CODE |
| LOW⚡ | invokeai/app/services/shared/graph.py | 3008 | def _update_pending_lifecycle_execution(self, exec_node_id: str, effects: Iterable[Any]) -> None: | CODE |
| LOW⚡ | invokeai/app/services/shared/graph.py | 3149 | def _set_prepared_exec_state(self, exec_node_id: str, state: PreparedExecState) -> None: | CODE |
| LOW⚡ | invokeai/app/services/shared/graph.py | 4007 | def set_waiting_workflow_call_child_item_ids(self, child_item_ids: list[int]) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph.py | 3189 | def _update_prepared_for_index(self, prepared_for_id: str) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph.py | 3326 | def set_ready_order(self, order: Iterable[Type[BaseInvocation] | str]) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph.py | 4129 | def update_node(self, node_id: str, new_node: BaseInvocation) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph_validation.py | 1224 | def update_node(self, node_id: str, new_node: BaseInvocation) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph_scheduler.py | 669 | def set_ready_order(self, ready_order: Iterable[str]) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph_runtime_records.py | 82 | def _set_mapping(self, mapping: dict[Any, Any], key: Any, value: Any) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph_runtime_records.py | 94 | def _set_attr(self, obj: Any, name: str, value: Any) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph_runtime_records.py | 148 | def set_state(self, exec_node_id: str, state: PreparedExecState) -> None: | CODE |
| LOW | invokeai/app/services/shared/graph_runtime_records.py | 160 | def set_iteration_path(self, exec_node_id: str, iteration_path: tuple[int, ...]) -> None: | CODE |
| LOW | invokeai/app/services/shared/database/session_lock.py | 49 | def set_idle_timeout(self, seconds: int) -> None: | CODE |
| LOW | invokeai/app/services/shared/database/engines.py | 87 | def set_collation(dbapi_connection: Any, connection_record: object) -> None: | CODE |
| LOW | invokeai/app/services/shared/database/engines.py | 109 | def _set_mysql_collation(dbapi_connection: Any, expects_mariadb: bool) -> None: | CODE |
| LOW | …ai/app/services/shared/database/queries/image_moves.py | 250 | def set_job_state(self, conn: Connection, job_id: int, state: str) -> None: | CODE |
| LOW | …ai/app/services/shared/database/queries/image_moves.py | 254 | def set_job_error_message(self, conn: Connection, job_id: int, message: str) -> None: | CODE |
| LOW | invokeai/app/services/shared/database/queries/images.py | 498 | def set_file_size(self, conn: Connection, image_name: str, file_size_bytes: Optional[int]) -> None: | CODE |
| LOW | …keai/app/services/shared/database/queries/workflows.py | 399 | def set_public(self, conn: Connection, workflow_id: str, workflow: str, is_public: bool) -> None: | CODE |
| LOW | invokeai/app/services/shared/database/queries/videos.py | 437 | def set_file_size(self, conn: Connection, video_name: str, file_size_bytes: Optional[int]) -> None: | CODE |
| LOW | …vokeai/app/services/shared/database/schema/__init__.py | 33 | __all__ = ["metadata"] | CODE |
| LOW | …okeai/app/services/shared/execution_engine/__init__.py | 33 | __all__ = [ | CODE |
| LOW | …keai/app/services/shared/execution_engine/scheduler.py | 392 | def set_ready_order(self, ready_order: Iterable[str]) -> None: | CODE |
| LOW | …keai/app/services/shared/execution_engine/scheduler.py | 482 | __all__ = ["ActivationDependency", "ExecutionPlan", "ExecutionScheduler", "PlanNode", "ReadyPredicate"] | CODE |
| LOW | invokeai/app/services/gallery_maintenance/__init__.py | 5 | __all__ = ["GalleryMaintenanceService"] | CODE |
| LOW | invokeai/app/services/model_records/__init__.py | 13 | __all__ = [ | CODE |
| LOW | invokeai/app/services/model_load/__init__.py | 6 | __all__ = ["ModelLoadServiceBase", "ModelLoadService"] | CODE |
| LOW⚡ | …okeai/app/services/video_records/video_records_base.py | 113 | def set_file_size_bytes(self, video_name: str, file_size_bytes: Optional[int]) -> None: | CODE |
| LOW⚡ | …okeai/app/services/video_records/video_records_base.py | 118 | def set_file_sizes_bytes(self, sizes: dict[str, int]) -> None: | CODE |
| LOW⚡ | …ai/app/services/video_records/video_records_default.py | 51 | def set_file_size_bytes(self, video_name: str, file_size_bytes: Optional[int]) -> None: | CODE |
| LOW⚡ | …ai/app/services/video_records/video_records_default.py | 54 | def set_file_sizes_bytes(self, sizes: dict[str, int]) -> None: | CODE |
| LOW | …ai/app/services/session_queue/session_queue_default.py | 112 | def _set_in_progress_to_canceled(self) -> None: | CODE |
| LOW | …/services/workflow_records/workflow_records_default.py | 266 | def update_opened_at(self, workflow_id: str, user_id: Optional[str] = None) -> None: | CODE |
| LOW | …/services/workflow_records/workflow_records_default.py | 269 | def update_last_run_at(self, workflow_id: str, user_id: Optional[str] = None) -> None: | CODE |
| LOW | …app/services/workflow_records/workflow_records_base.py | 100 | def update_opened_at(self, workflow_id: str, user_id: Optional[str] = None) -> None: | CODE |
| LOW | …app/services/workflow_records/workflow_records_base.py | 105 | def update_last_run_at(self, workflow_id: str, user_id: Optional[str] = None) -> None: | CODE |
| LOW | invokeai/app/services/download/__init__.py | 12 | __all__ = [ | CODE |
| LOW | …i/app/services/image_index/image_index_records_base.py | 118 | def set_custom_vocab_terms(self, terms: list[str]) -> None: | CODE |
| LOW | …pp/services/image_index/image_index_records_default.py | 91 | def set_custom_vocab_terms(self, terms: list[str]) -> None: | CODE |
| LOW | invokeai/app/services/fonts/fonts_default.py | 876 | __all__ = [ | CODE |
| LOW | invokeai/app/services/model_manager/__init__.py | 6 | __all__ = [ | CODE |
| LOW | invokeai/app/services/external_generation/__init__.py | 14 | __all__ = [ | CODE |
| LOW | …app/services/external_generation/providers/__init__.py | 7 | __all__ = ["AlibabaCloudProvider", "AtlasCloudProvider", "GeminiProvider", "OpenAIProvider", "SeedreamProvider"] | CODE |
| LOW | invokeai/app/services/orphaned_models/__init__.py | 9 | __all__ = ["OrphanedModelsService", "OrphanedModelInfo", "CONVERSION_SCRATCH_DIRNAME"] | CODE |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/app/api_app.py | 360 | CODE | |
| LOW | invokeai/app/invocations/fields.py | 909 | CODE | |
| LOW | invokeai/app/invocations/fields.py | 1116 | CODE | |
| LOW | invokeai/app/invocations/baseinvocation.py | 722 | CODE | |
| LOW | invokeai/app/invocations/facetools.py | 516 | CODE | |
| LOW | invokeai/app/invocations/facetools.py | 620 | CODE | |
| LOW | invokeai/app/api/routers/images.py | 107 | CODE | |
| LOW | invokeai/app/api/routers/images.py | 514 | CODE | |
| LOW | invokeai/app/api/routers/images.py | 954 | CODE | |
| LOW | invokeai/app/api/routers/workflows.py | 245 | CODE | |
| LOW | invokeai/app/api/routers/gallery.py | 28 | CODE | |
| LOW | invokeai/app/api/routers/gallery.py | 85 | CODE | |
| LOW | invokeai/app/api/routers/gallery.py | 141 | CODE | |
| LOW | invokeai/app/api/routers/gallery.py | 205 | CODE | |
| LOW | invokeai/app/api/routers/videos.py | 984 | CODE | |
| LOW | invokeai/app/services/images/images_default.py | 65 | CODE | |
| LOW | invokeai/app/services/images/images_default.py | 456 | CODE | |
| LOW | invokeai/app/services/images/images_default.py | 622 | CODE | |
| LOW | invokeai/app/services/images/images_base.py | 47 | CODE | |
| LOW | invokeai/app/services/images/images_base.py | 135 | CODE | |
| LOW | invokeai/app/services/images/images_base.py | 198 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_base.py | 21 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_base.py | 42 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_base.py | 62 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_base.py | 86 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_default.py | 34 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_default.py | 73 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_default.py | 120 | CODE | |
| LOW | invokeai/app/services/gallery/gallery_default.py | 153 | CODE | |
| LOW | invokeai/app/services/video_files/video_files_disk.py | 65 | CODE | |
| LOW | invokeai/app/services/video_files/video_files_base.py | 17 | CODE | |
| LOW | invokeai/app/services/shared/execution_engine/child.py | 311 | CODE | |
| LOW | invokeai/app/services/model_load/model_load_default.py | 281 | CODE | |
| LOW | …okeai/app/services/video_records/video_records_base.py | 46 | CODE | |
| LOW | …okeai/app/services/video_records/video_records_base.py | 90 | CODE | |
| LOW | …okeai/app/services/video_records/video_records_base.py | 133 | CODE | |
| LOW | …ai/app/services/video_records/video_records_default.py | 76 | CODE | |
| LOW | …ai/app/services/video_records/video_records_default.py | 111 | CODE | |
| LOW | …ai/app/services/video_records/video_records_default.py | 157 | CODE | |
| LOW | invokeai/app/services/videos/videos_base.py | 46 | CODE | |
| LOW | invokeai/app/services/videos/videos_base.py | 129 | CODE | |
| LOW | invokeai/app/services/videos/videos_base.py | 189 | CODE | |
| LOW | invokeai/app/services/videos/videos_default.py | 51 | CODE | |
| LOW | invokeai/app/services/videos/videos_default.py | 327 | CODE | |
| LOW | invokeai/app/services/videos/videos_default.py | 459 | CODE | |
| LOW | …ai/app/services/image_records/image_records_default.py | 64 | CODE | |
| LOW | …ai/app/services/image_records/image_records_default.py | 140 | CODE | |
| LOW | …ai/app/services/image_records/image_records_default.py | 185 | CODE | |
| LOW | …okeai/app/services/image_records/image_records_base.py | 54 | CODE | |
| LOW | …okeai/app/services/image_records/image_records_base.py | 115 | CODE | |
| LOW | …okeai/app/services/image_records/image_records_base.py | 156 | CODE | |
| LOW | invokeai/backend/hidiffusion/hidiffusion.py | 152 | CODE | |
| LOW | invokeai/backend/hidiffusion/hidiffusion.py | 917 | CODE | |
| LOW | invokeai/backend/ltx2/denoise.py | 278 | CODE | |
| LOW | invokeai/backend/image_util/lineart.py | 98 | CODE | |
| LOW | invokeai/backend/image_util/lineart.py | 231 | CODE | |
| LOW | invokeai/backend/image_util/lineart_anime.py | 274 | CODE | |
| LOW | invokeai/backend/image_util/hed.py | 217 | CODE | |
| LOW | invokeai/backend/image_util/basicsr/rrdbnet_arch.py | 125 | CODE | |
| LOW | …keai/backend/image_util/pbr_maps/architecture/block.py | 70 | CODE | |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ntend/webv2/src/features/identity/capabilities.test.ts | 51 | email: 'user@example.com', | CODE |
| LOW | …i/frontend/webv2/src/features/identity/session.test.ts | 190 | admin_email: 'admin@example.com', | CODE |
| LOW | …tend/webv2/src/features/identity/ui/UserFormDialog.tsx | 196 | placeholder="user@example.com" | CODE |
| LOW | …rontend/webv2/src/features/identity/ui/SetupScreen.tsx | 75 | placeholder="admin@example.com" | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 2517 | ).toEqual(['placeholder', 'placeholder']); | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 2548 | expect(slots.map((slot) => slot.kind)).toEqual(['candidate', 'placeholder']); | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 2653 | ).toEqual(['placeholder', 'candidate']); | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 2691 | ).toEqual(['placeholder']); | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 7876 | expect(selectedSlot).toMatchObject({ itemIndex: 2, kind: 'placeholder' }); | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 7904 | expect(selectedSlot).toMatchObject({ itemIndex: 2, kind: 'placeholder' }); | CODE |
| LOW | …ai/frontend/webv2/src/workbench/workbenchState.test.ts | 8022 | ).toEqual(['candidate', 'placeholder', 'placeholder']); | CODE |
| LOW | …keai/frontend/webv2/src/workbench/canvasStagingView.ts | 10 | kind: 'placeholder'; | CODE |
| LOW | …keai/frontend/webv2/src/workbench/canvasStagingView.ts | 111 | kind: 'placeholder', | CODE |
| LOW | …keai/frontend/webv2/src/workbench/canvasStagingView.ts | 258 | ): number => getCanvasStagingSlots(canvas, queueItems).findIndex((slot) => slot.kind === 'placeholder'); | CODE |
| LOW | …keai/frontend/webv2/src/workbench/canvasStagingView.ts | 265 | slot?.kind === 'placeholder' ? slot.queueItemId : null; | CODE |
| LOW⚡ | …frontend/webv2/src/workbench/canvasStagingView.test.ts | 135 | { height: 384, id: 'q-pending:0', itemIndex: 1, kind: 'placeholder', queueItemId: 'q-pending', width: 640 }, | CODE |
| LOW⚡ | …frontend/webv2/src/workbench/canvasStagingView.test.ts | 136 | { height: 384, id: 'q-pending:1', itemIndex: 2, kind: 'placeholder', queueItemId: 'q-pending', width: 640 }, | CODE |
| LOW⚡ | …frontend/webv2/src/workbench/canvasStagingView.test.ts | 137 | { height: 256, id: 'q-running:2', itemIndex: 3, kind: 'placeholder', queueItemId: 'q-running', width: 512 }, | CODE |
| LOW | …frontend/webv2/src/workbench/canvasStagingView.test.ts | 177 | { height: 320, id: 'q-pending:0', itemIndex: 1, kind: 'placeholder', queueItemId: 'q-pending', width: 640 }, | CODE |
| LOW | …frontend/webv2/src/workbench/canvasStagingView.test.ts | 239 | kind: 'placeholder', | CODE |
| LOW | …tend/webv2/src/workbench/widgets/canvas/StagingBar.tsx | 565 | slot: Extract<CanvasStagingSlot, { kind: 'placeholder' }>; | CODE |
| LOW | …ebv2/src/workbench/widgets/canvas/CanvasWidgetView.tsx | 186 | const selectedPlaceholder = selectedSlot?.kind === 'placeholder' ? selectedSlot : null; | CODE |
| LOW | …c/workbench/widgets/canvas/StagingBar.browser.test.tsx | 57 | kind: 'placeholder', | CODE |
| LOW | invokeai/frontend/webv1/public/locales/ru.json | 3232 | "emailPlaceholder": "admin@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/ru.json | 3276 | "emailPlaceholder": "user@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/zh-CN.json | 3551 | "emailPlaceholder": "admin@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/zh-CN.json | 3595 | "emailPlaceholder": "user@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/en.json | 36 | "emailPlaceholder": "admin@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/en.json | 82 | "emailPlaceholder": "user@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/es.json | 1129 | "emailPlaceholder": "admin@example.com", | CODE |
| LOW | invokeai/frontend/webv1/public/locales/es.json | 1173 | "emailPlaceholder": "user@example.com", | CODE |
| LOW | invokeai/frontend/webv1/src/app/store/store.test.ts | 43 | email: 'user@example.com', | CODE |
| LOW | …rc/features/auth/store/refreshedTokenConsumers.test.ts | 18 | email: 'user@example.com', | CODE |
| LOW | …frontend/webv1/src/services/api/endpoints/auth.test.ts | 239 | new Response(JSON.stringify({ user_id: 'user-1', email: 'user@example.com', is_admin: false }), { | CODE |
| LOW | …rontend/webv1/src/services/events/useSocketIO.test.tsx | 67 | email: 'user@example.com', | CODE |
| LOW⚡ | tests/app/routers/test_auth.py | 272 | "email": "admin@example.com", | CODE |
| LOW⚡ | tests/app/routers/test_auth.py | 281 | assert json_response["user"]["email"] == "admin@example.com" | CODE |
| LOW | tests/app/routers/test_auth.py | 64 | def setup_test_admin(mock_invoker: Invoker, email: str = "admin@example.com", password: str = "AdminPass123") -> str: | CODE |
| LOW⚡ | tests/app/routers/test_gallery_maintenance.py | 114 | lambda _: TokenData(user_id="admin-1", email="admin@example.com", is_admin=True), | CODE |
| LOW⚡ | tests/app/routers/test_gallery_maintenance.py | 121 | user_id="admin-1", email="admin@example.com", is_admin=True, is_active=True, token_epoch=0 | CODE |
| LOW⚡ | tests/app/routers/test_gallery_maintenance.py | 345 | lambda _: TokenData(user_id="user-1", email="user@example.com", is_admin=False), | CODE |
| LOW⚡ | tests/app/routers/test_gallery_maintenance.py | 351 | return_value=Mock(user_id="user-1", email="user@example.com", is_admin=False, is_active=True, token_epoch=0) | CODE |
| LOW⚡ | tests/app/routers/test_app_info.py | 93 | lambda _: TokenData(user_id="user-1", email="user@example.com", is_admin=not is_admin), | CODE |
| LOW⚡ | tests/app/routers/test_app_info.py | 100 | user_id="user-1", email="user@example.com", is_admin=is_admin, is_active=True, token_epoch=0 | CODE |
| LOW | tests/app/routers/test_app_info.py | 44 | return Mock(user_id="user-1", email="user@example.com", is_admin=False, is_active=True, token_epoch=0) | CODE |
| LOW | tests/app/routers/test_app_info.py | 70 | lambda _: TokenData(user_id="user-1", email="user@example.com", is_admin=False), | CODE |
| LOW | tests/app/routers/test_app_info.py | 551 | lambda _: TokenData(user_id="user-1", email="user@example.com", is_admin=False), | CODE |
| LOW | tests/app/routers/test_app_info.py | 573 | lambda _: TokenData(user_id="user-1", email="user@example.com", is_admin=False), | CODE |
| LOW | tests/app/routers/test_app_info.py | 595 | lambda _: TokenData(user_id="user-1", email="user@example.com", is_admin=False), | CODE |
| LOW⚡ | tests/app/api/test_sliding_window_token.py | 352 | SimpleNamespace(user_id="test-user", email="test@test.com", is_admin=False, is_active=True, token_epoch=0), | CODE |
| LOW⚡ | tests/app/api/test_sliding_window_token.py | 357 | TokenData(user_id="test-user", email="test@test.com", is_admin=True, remember_me=False) | CODE |
| LOW⚡ | tests/app/api/test_sliding_window_token.py | 374 | SimpleNamespace(user_id="test-user", email="test@test.com", is_admin=True, is_active=True, token_epoch=0), | CODE |
| LOW⚡ | tests/app/api/test_sliding_window_token.py | 379 | TokenData(user_id="test-user", email="test@test.com", is_admin=False, remember_me=False) | CODE |
| LOW⚡ | tests/app/api/test_sliding_window_token.py | 394 | SimpleNamespace(user_id="test-user", email="test@test.com", is_admin=False, is_active=False, token_epoch=0), | CODE |
| LOW | tests/app/api/test_sliding_window_token.py | 21 | email="test@test.com", | CODE |
| LOW | tests/app/api/test_sliding_window_token.py | 106 | email="test@test.com", | CODE |
| LOW | tests/app/api/test_sliding_window_token.py | 425 | SimpleNamespace(user_id="test-user", email="test@test.com", is_admin=False, is_active=True, token_epoch=0), | CODE |
| LOW | tests/app/api/test_video_upload_limits.py | 462 | token_data = TokenData(user_id="user", email="user@example.com", is_admin=False) | CODE |
| LOW | tests/app/api/test_video_upload_limits.py | 481 | token = create_access_token(TokenData(user_id="user", email="user@example.com", is_admin=False)) | CODE |
| LOW | tests/app/api/test_video_upload_limits.py | 617 | current_user=TokenData(user_id="user", email="user@example.com", is_admin=False), | CODE |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | invokeai/app/invocations/facetools.py | 192 | # Check if the input image has four channels (RGBA). | COMMENT |
| LOW⚡ | invokeai/app/invocations/facetools.py | 207 | # Check if any face is detected. | COMMENT |
| LOW | …keai/app/invocations/flux2/flux2_klein_model_loader.py | 138 | # Check if main model is a pipeline-shaped config we can extract submodels from. | COMMENT |
| LOW | invokeai/app/api/sockets.py | 809 | # Check if we have user info for this socket. In multiuser mode _handle_connect | COMMENT |
| LOW | invokeai/app/api/sockets.py | 829 | # Add socket to the queue room | COMMENT |
| LOW | invokeai/app/api/routers/auth.py | 213 | # Check if multiuser is enabled | COMMENT |
| LOW | invokeai/app/api/routers/auth.py | 373 | # Check if multiuser is enabled | COMMENT |
| LOW | invokeai/app/api/routers/auth.py | 382 | # Check if any admin exists | COMMENT |
| LOW | invokeai/app/api/routers/custom_nodes.py | 480 | # Check if this looks like a workflow (must have nodes and edges) | COMMENT |
| LOW⚡ | invokeai/app/api/routers/model_manager.py | 589 | # Check if the model is installed by comparing paths. | COMMENT |
| LOW | invokeai/app/api/routers/model_manager.py | 1546 | # Check if source matches exactly | COMMENT |
| LOW | invokeai/app/api/routers/model_manager.py | 1549 | # Check if name (or previous names), base and type match | COMMENT |
| LOW | invokeai/app/services/shared/graph_validation.py | 239 | # Check if any of the types in the Union is a List | COMMENT |
| LOW | invokeai/app/services/users/users_common.py | 38 | # Check if the error is specifically about special-use/reserved domains or localhost | COMMENT |
| LOW | invokeai/app/services/users/users_default.py | 54 | # Check if email already exists | COMMENT |
| LOW | invokeai/app/services/users/users_default.py | 102 | # Check if user exists | COMMENT |
| LOW | …pp/services/orphaned_models/orphaned_models_service.py | 97 | # Check if disk_file is under model_dir | COMMENT |
| LOW | invokeai/backend/hidiffusion/hidiffusion.py | 2065 | # Check if the pipeline is a ControlNet pipeline. InvokeAI's modular | COMMENT |
| LOW | invokeai/backend/image_util/infill_methods/tile.py | 26 | # Check if the image has an alpha channel and the tile is completely opaque | COMMENT |
| LOW | …ra_conversions/flux_diffusers_lora_conversion_utils.py | 29 | # Check if keys use transformer prefix | COMMENT |
| LOW | …ra_conversions/flux_diffusers_lora_conversion_utils.py | 38 | # Check if keys use base_model.model prefix | COMMENT |
| LOW | …ra_conversions/flux_diffusers_lora_conversion_utils.py | 105 | # Check if any key starts with "base_model.model." prefix | COMMENT |
| LOW | …s/lora_conversions/qwen_image_lora_conversion_utils.py | 56 | # Check if any key matches the Kohya pattern | COMMENT |
| LOW | …ora_conversions/flux_bfl_peft_lora_conversion_utils.py | 442 | # Check if any layer keys are in BFL format (contain double_blocks or single_blocks) | COMMENT |
| LOW | invokeai/backend/flux2/denoise.py | 111 | # Check if scheduler supports sigmas parameter using inspect.signature | COMMENT |
| LOW | invokeai/backend/quantization/sdnq/loaders.py | 114 | # Check if scale's out_features matches weight's out_features | COMMENT |
| LOW | invokeai/backend/quantization/sdnq/loaders.py | 154 | # Check if shape is stored in config | COMMENT |
| LOW | invokeai/backend/quantization/sdnq/loaders.py | 261 | # Check if this is a base weight tensor | COMMENT |
| LOW | invokeai/backend/quantization/sdnq/loaders.py | 271 | # Check if this is a quantized tensor (has scale) | COMMENT |
| LOW | …end/z_image/extensions/regional_prompting_extension.py | 89 | # Check if any regional masks exist | COMMENT |
| LOW | invokeai/backend/model_manager/util/select_hf_files.py | 186 | # Check if at least one of the files has the explicit fp16 variant. | COMMENT |
| LOW | invokeai/backend/model_manager/load/load_default.py | 329 | # Check if this is a text encoder submodel of a main model with cpu_only setting | COMMENT |
| LOW | invokeai/backend/model_manager/load/load_default.py | 336 | # Check if this is a standalone text encoder config with cpu_only field (T5Encoder, Qwen3Encoder, etc.) | COMMENT |
| LOW | …/backend/model_manager/load/model_cache/model_cache.py | 796 | # Check if there are any unlocked models that can be cleared | COMMENT |
| LOW | …ai/backend/model_manager/load/model_loaders/z_image.py | 251 | # Check if submodel folder has SDNQ quantization - if so, use SDNQ loader | COMMENT |
| LOW | …ai/backend/model_manager/load/model_loaders/z_image.py | 425 | # Check if conversion is needed (original format vs diffusers format) | COMMENT |
| LOW | …ai/backend/model_manager/load/model_loaders/z_image.py | 513 | # Check if the state dict is in original format (not diffusers format) | COMMENT |
| LOW | …ai/backend/model_manager/load/model_loaders/z_image.py | 893 | # Check if conversion is needed (original format vs diffusers format) | COMMENT |
| LOW | …ai/backend/model_manager/load/model_loaders/z_image.py | 977 | # Check if this is a standalone text_encoder download (no nested text_encoder folder) | COMMENT |
| LOW | …ai/backend/model_manager/load/model_loaders/z_image.py | 1628 | # Check if lm_head.weight is still a meta tensor (wasn't in GGUF state dict) | COMMENT |
| LOW | …vokeai/backend/model_manager/load/model_loaders/vae.py | 267 | # Check if this is an SDNQ-quantized VAE folder | COMMENT |
| LOW | …okeai/backend/model_manager/load/model_loaders/flux.py | 1120 | # Check if this is a Klein model without guidance (guidance_embeds=False in config) | COMMENT |
| LOW | …okeai/backend/model_manager/load/model_loaders/flux.py | 1203 | # Check if keys have ComfyUI-style prefix and strip if needed. This runs before anything | COMMENT |
| LOW | …okeai/backend/model_manager/load/model_loaders/flux.py | 1748 | # Check if keys have ComfyUI-style prefix and strip if needed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | invokeai/app/util/video_thumbnails.py | 467 | # 0.68 (a portrait on white seamless, a pillarboxed clip) and ordinary content sits below | COMMENT |
| MEDIUM | invokeai/app/invocations/baseinvocation.py | 635 | # 2. ui_type was set in conjunction with any of the new ui_model_[base|type|variant|format] fields, which | COMMENT |
| LOW | invokeai/app/invocations/baseinvocation.py | 806 | # You'd be tempted to just add the type field and rebuild the model, like this: | COMMENT |
| MEDIUM | invokeai/app/invocations/model.py | 778 | """Applies the seamless transformation to the Model UNet and VAE.""" | STRING |
| LOW | invokeai/app/invocations/image.py | 1345 | # If the fade size is 0, just return the mask as-is. | COMMENT |
| MEDIUM | invokeai/app/invocations/sd/denoise_latents.py | 977 | ### seamless | COMMENT |
| MEDIUM | invokeai/app/invocations/sd/denoise_latents.py | 1042 | # ext: freeu, seamless, ip adapter, lora, hidiffusion | COMMENT |
| LOW | …okeai/app/invocations/qwen_image/qwen_image_denoise.py | 493 | # For txt2img models: just use noisy patches | COMMENT |
| LOW | invokeai/app/services/config/config_default.py | 787 | # If it is False, we should just return a default config and not set the root, log in to HF, etc. | COMMENT |
| LOW | …ervices/session_processor/session_processor_default.py | 379 | # to do any handling here, and no error should be set - just pass and the cancellation will be handled | COMMENT |
| MEDIUM | …dvancedSettingsAccordion/AdvancedSettingsAccordion.tsx | 101 | // Ideogram 4 and Krea-2 hide the VAE / clip skip / CFG rescale / seamless controls (they don't | COMMENT |
| MEDIUM | …rc/features/nodes/util/graph/generation/addSeamless.ts | 26 | // Always write seamless metadata to ensure recalling all parameters will reset the seamless settings | COMMENT |
| MEDIUM | …1/src/features/nodes/util/graph/generation/addLoRAs.ts | 40 | // Use seamless as UNet input if it exists, otherwise use the model loader | COMMENT |
| MEDIUM | …features/nodes/util/graph/generation/buildSDXLGraph.ts | 187 | // We might get the VAE from the main model, custom VAE, or seamless node. | COMMENT |
| MEDIUM | …/features/nodes/util/graph/generation/buildSD1Graph.ts | 173 | // We might get the VAE from the main model, custom VAE, or seamless node. | COMMENT |
| MEDIUM | …c/features/nodes/util/graph/generation/addSDXLLoRAs.ts | 37 | // Use seamless as UNet input if it exists, otherwise use the model loader | COMMENT |
| MEDIUM | …ents/RasterLayer/RasterLayerCurvesAdjustmentsGraph.tsx | 137 | // Exact fractional coordinates for seamless coverage (no gaps as width grows) | COMMENT |
| MEDIUM | invokeai/backend/util/hotfixes.py | 785 | # this needed to make work seamless patch | STRING |
| LOW | invokeai/backend/flux/extensions/kontext_extension.py | 216 | # First image - just set canvas dimensions | COMMENT |
| LOW | invokeai/backend/quantization/bnb_llm_int8.py | 82 | # We could simply call the `super()._load_from_state_dict()` method here, but then we wouldn't be able to | COMMENT |
| LOW | invokeai/backend/quantization/bnb_nf4.py | 52 | # We could simply call the `super()._load_from_state_dict()` method here, but then we wouldn't be able to | COMMENT |
| LOW | invokeai/backend/model_manager/util/select_hf_files.py | 58 | # if the subfolder is a single file, then bypass the selection and just return it | COMMENT |
| LOW | …okeai/backend/model_manager/load/model_loaders/flux.py | 2241 | # Any remaining keys that weren't converted - just pass through | COMMENT |
| MEDIUM | tests/app/routers/test_privilege_revocation.py | 278 | # the test harness. | COMMENT |
| MEDIUM | tests/app/routers/test_multiuser_authorization.py | 3532 | # the test harness. | COMMENT |
| MEDIUM⚡ | tests/app/util/test_video_thumbnails.py | 810 | """Fireworks on a night sky, a pillarboxed phone video, a portrait on white seamless: | STRING |
| MEDIUM | tests/app/invocations/test_z_image_tiled_decode.py | 318 | # `seamless_axes=[]` rather than a MagicMock: the node patches seamless for every VAE it accepts | COMMENT |
| LOW | scripts/build_wheel.sh | 17 | # we can't just call 'deactivate' because this function is not exported | COMMENT |
| LOW | .github/workflows/python-checks.yml | 47 | # uv requires a venv by default - but for this, we can simply use the system python | COMMENT |
| LOW | .github/workflows/typegen-checks.yml | 46 | # uv requires a venv by default - but for this, we can simply use the system python | COMMENT |
| LOW | .github/workflows/openapi-checks.yml | 46 | # uv requires a venv by default - but for this, we can simply use the system python | COMMENT |
| LOW | .github/workflows/uv-lock-checks.yml | 49 | # uv requires a venv by default - but for this, we can simply use the system python | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | invokeai/app/api/routers/model_manager.py | 269 | records locally: look up `(base, variant)`, fall back to `(base, null)`. | STRING |
| HIGH | …/app/services/shared/database/queries/intermediates.py | 36 | null, | CODE |
| HIGH | …vokeai/app/services/shared/database/queries/gallery.py | 28 | null, | CODE |
| HIGH | tests/app/routers/test_images.py | 838 | # Optional fields are wrapped in anyOf: [{array}, {null}]. | COMMENT |
| HIGH | tests/app/invocations/test_text_llm_with_preset.py | 236 | # default null, which the editors turn into 0 and the field's own lower bound then rejected -- | COMMENT |
| HIGH⚡ | tests/app/services/video_files/test_video_files_disk.py | 329 | '{"invokeai_metadata": null, "invokeai_workflow": "{\\"name\\": \\"old\\"}", "invokeai_graph": null}' | CODE |
| HIGH | tests/app/services/image_files/test_image_files_disk.py | 1271 | '"meta": {"category": "user", "version": "3.0.0"}, "nodes": [], "edges": [], "form": null}' | CODE |
| HIGH | …kend/model_manager/model_metadata/metadata_examples.py | 4 | {"_id":"6564b36f4eb2f55240230f48","id":"stabilityai/sdxl-turbo","modelId":"stabilityai/sdxl-turbo","author":"test_author | CODE |
| HIGH | …kend/model_manager/model_metadata/metadata_examples.py | 9 | {"_id":"6564b36f4eb2f55240230f48","id":"stabilityai/sdxl-turbo","modelId":"stabilityai/sdxl-turbo","author":"test_author | CODE |
| HIGH | …kend/model_manager/model_metadata/metadata_examples.py | 20 | {"id":242807,"modelId":215485,"name":"v1-128dim","createdAt":"2023-11-29T01:21:22.372Z","updatedAt":"2023-12-16T17:46:14 | CODE |
| HIGH | …kend/model_manager/model_metadata/metadata_examples.py | 26 | {"id":215485,"name":"SDXL Turbo-LoRA-Stable Diffusion XL faster than light","description":"<p>v1: 128 dim</p><p>v1-64dim | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | invokeai/app/invocations/image.py | 1616 | # Step 1: Load all images | COMMENT |
| LOW⚡ | invokeai/app/invocations/image.py | 1622 | # Step 2: Determine target resolution for the first image | COMMENT |
| LOW | invokeai/app/invocations/image.py | 1649 | # Step 3: Process and resize all images with consistent height | COMMENT |
| LOW | invokeai/app/invocations/image.py | 1673 | # Step 4: Concatenate images horizontally | COMMENT |
| LOW⚡ | …a_conversions/flux_onetrainer_lora_conversion_utils.py | 146 | # Step 1: Convert the Kohya-style keys with underscores to classic keys with periods. | COMMENT |
| LOW | …a_conversions/flux_onetrainer_lora_conversion_utils.py | 163 | # Step 2: Convert diffusers module names to the BFL module names. | COMMENT |
| LOW⚡ | …nversions/flux_onetrainer_bfl_lora_conversion_utils.py | 101 | # Step 1: Strip prefix and group by layer name. | COMMENT |
| LOW | …nversions/flux_onetrainer_bfl_lora_conversion_utils.py | 116 | # Step 2: Build LoRA layers, merging split QKV and linear1. | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 79 | # Step 1: Rearrange to put spatial dims together for proper patching | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 83 | # Step 2: Split H and W into tokens and patch sizes | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 87 | # Step 3: Rearrange to group patches and features | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 91 | # Step 4: For F > 1, we'd need to handle F similarly, but for F=1 this is simpler | COMMENT |
| LOW⚡ | scripts/check_classifiers.py | 9 | # Step 1: Get pyproject.toml path from args | COMMENT |
| LOW⚡ | scripts/check_classifiers.py | 19 | # Step 1: Download the official Trove classifier list | COMMENT |
| LOW⚡ | scripts/check_classifiers.py | 24 | # Step 2: Extract classifiers from pyproject.toml | COMMENT |
| LOW | scripts/check_classifiers.py | 36 | # Step 3: Check for invalid classifiers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | invokeai/app/invocations/image.py | 1616 | # Step 1: Load all images | COMMENT |
| LOW⚡ | invokeai/app/invocations/image.py | 1622 | # Step 2: Determine target resolution for the first image | COMMENT |
| LOW | invokeai/app/invocations/image.py | 1649 | # Step 3: Process and resize all images with consistent height | COMMENT |
| LOW | invokeai/app/invocations/image.py | 1673 | # Step 4: Concatenate images horizontally | COMMENT |
| LOW⚡ | …a_conversions/flux_onetrainer_lora_conversion_utils.py | 146 | # Step 1: Convert the Kohya-style keys with underscores to classic keys with periods. | COMMENT |
| LOW | …a_conversions/flux_onetrainer_lora_conversion_utils.py | 163 | # Step 2: Convert diffusers module names to the BFL module names. | COMMENT |
| LOW⚡ | …nversions/flux_onetrainer_bfl_lora_conversion_utils.py | 101 | # Step 1: Strip prefix and group by layer name. | COMMENT |
| LOW | …nversions/flux_onetrainer_bfl_lora_conversion_utils.py | 116 | # Step 2: Build LoRA layers, merging split QKV and linear1. | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 79 | # Step 1: Rearrange to put spatial dims together for proper patching | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 83 | # Step 2: Split H and W into tokens and patch sizes | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 87 | # Step 3: Rearrange to group patches and features | COMMENT |
| LOW⚡ | invokeai/backend/z_image/z_image_patchify_utils.py | 91 | # Step 4: For F > 1, we'd need to handle F similarly, but for F=1 this is simpler | COMMENT |
| LOW⚡ | scripts/check_classifiers.py | 9 | # Step 1: Get pyproject.toml path from args | COMMENT |
| LOW⚡ | scripts/check_classifiers.py | 19 | # Step 1: Download the official Trove classifier list | COMMENT |
| LOW⚡ | scripts/check_classifiers.py | 24 | # Step 2: Extract classifiers from pyproject.toml | COMMENT |
| LOW | scripts/check_classifiers.py | 36 | # Step 3: Check for invalid classifiers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …eai/app/services/shared/database/schema/image_index.py | 17 | # The embedding model's content hash, not its install key. | COMMENT |
| MEDIUM | …eai/app/services/shared/database/schema/image_index.py | 32 | # The embedding model's content hash, not its install key. | COMMENT |
| MEDIUM⚡ | …vokeai/app/services/image_index/image_index_default.py | 1702 | # an event-driven client would hang. Log rather than unwind into | COMMENT |
| MEDIUM | …vokeai/app/services/image_index/image_index_default.py | 216 | # Minimum gap between re-resolutions of the configured embedding model. The map's | COMMENT |
| MEDIUM | invokeai/backend/text_llm_pipeline.py | 174 | # chain of thought, so prompt expansion returns the prompt rather than the model's | COMMENT |
| MEDIUM | invokeai/backend/model_manager/starter_models/common.py | 44 | # stronger zero-shot weights (Data Filtering Networks, 39B samples seen). The | COMMENT |
| MEDIUM | tests/conftest.py | 93 | # embedding model. Tests that exercise the index enable it themselves. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | invokeai/app/services/image_index/cluster_labels.py | 18 | # Photo-heavy with a few non-photo templates so AI-generated drawings and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ontend/webv1/src/features/ui/layouts/navigation-api.ts | 185 | * @return True if the switch was successful, false otherwise | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | invokeai/backend/image_util/imwatermark/vendor.py | 258 | CODE | |
| MEDIUM | tests/app/util/test_video_thumbnails.py | 102 | CODE | |
| MEDIUM | tests/app/util/test_video_thumbnails.py | 652 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/app/routers/test_no_blocking_async_routes.py | 97 | "async def handler():\n async def helper():\n await something()\n return blocking_service_call()\n" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | invokeai/backend/hidiffusion/hidiffusion.py | 1873 | # make sure to the functional Conv2D function as otherwise torch.compile's graph will break | STRING |
| LOW | invokeai/backend/hidiffusion/hidiffusion.py | 1950 | # make sure to the functional Conv2D function as otherwise torch.compile's graph will break | STRING |