Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
feat(mm): add editable source_url field to model config (#8997)
Alexander Eichhorneac4f47d0842
diff --git a/invokeai/app/services/model_records/model_records_base.py b/invokeai/app/services/model_records/model_records_base.pyindex 31fbadb3cb..e06f8f2df9 100644--- a/invokeai/app/services/model_records/model_records_base.py+++ b/invokeai/app/services/model_records/model_records_base.py@@ -6,9 +6,9 @@ Abstract base class for storing and retrieving model configuration records.from abc import ABC, abstractmethodfrom enum import Enumfrom pathlib import Path-from typing import List, Optional, Set, Union+from typing import Any, List, Optional, Set, Union-from pydantic import BaseModel, Field+from pydantic import BaseModel, Field, field_validatorfrom invokeai.app.services.shared.pagination import PaginatedResultsfrom invokeai.app.services.shared.sqlite.sqlite_common import SQLiteDirection@@ -86,6 +86,19 @@ class ModelRecordChanges(BaseModelExcludeNull):source: Optional[str] = Field(description="original source of the model", default=None)source_type: Optional[ModelSourceType] = Field(description="type of model source", default=None)source_api_response: Optional[str] = Field(description="metadata from remote source", default=None)+ source_url: Optional[str] = Field(description="Optional URL for the model (e.g. download page)", default=None)++ @field_validator("source_url", mode="before")+ @classmethod+ def validate_source_url(cls, v: Any) -> Optional[str]:+ if v is None or v == "":+ return None+ if not isinstance(v, str):+ raise ValueError("source_url must be a string")+ if not v.startswith(("https://", "http://")):+ raise ValueError("source_url must be an http or https URL")+ return v+name: Optional[str] = Field(description="Name of the model.", default=None)path: Optional[str] = Field(description="Path to the model.", default=None)description: Optional[str] = Field(description="Model description", default=None)diff --git a/invokeai/backend/model_manager/configs/base.py b/invokeai/backend/model_manager/configs/base.pyindex 8c12e7594b..cc6637233a 100644--- a/invokeai/backend/model_manager/configs/base.py+++ b/invokeai/backend/model_manager/configs/base.py@@ -10,7 +10,7 @@ from typing import (Type,)-from pydantic import BaseModel, ConfigDict, Field, Tag+from pydantic import BaseModel, ConfigDict, Field, Tag, field_validatorfrom pydantic_core import PydanticUndefinedfrom invokeai.app.util.misc import uuid_string@@ -77,6 +77,22 @@ class Config_Base(ABC, BaseModel):default=None,description="The original API response from the source, as stringified JSON.",)+ source_url: str | None = Field(+ default=None,+ description="Optional URL for the model (e.g. download page or model page).",+ )++ @field_validator("source_url", mode="before")+ @classmethod+ def validate_source_url(cls, v: Any) -> str | None:+ if v is None or v == "":+ return None+ if not isinstance(v, str):+ raise ValueError("source_url must be a string")+ if not v.startswith(("https://", "http://")):+ raise ValueError("source_url must be an http or https URL")+ return v+cover_image: str | None = Field(default=None,description="Url for image to preview model",diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.jsonindex 5ba2645715..80cc0a6f4f 100644--- a/invokeai/frontend/web/public/locales/en.json+++ b/invokeai/frontend/web/public/locales/en.json@@ -1265,6 +1265,7 @@"settings": "Settings","simpleModelPlaceholder": "URL or path to a local file or diffusers folder","source": "Source",+ "sourceUrl": "Source URL","sigLip": "SigLIP","spandrelImageToImage": "Image to Image (Spandrel)","starterBundles": "Starter Bundles",diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsxindex 66880e2361..0d46fc3605 100644--- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx+++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx@@ -172,6 +172,12 @@ export const ModelEdit = memo(({ modelConfig }: Props) => {<Textarea {...form.register('description')} minH={32} /></FormControl></Flex>+ <Flex gap="4" alignItems="center">+ <FormControl flexDir="column" alignItems="flex-start" gap={1}>+ <FormLabel>{t('modelManager.sourceUrl')}</FormLabel>+ <Input {...form.register('source_url')} type="url" size="md" placeholder="https://" />+ </FormControl>+ </Flex><Heading as="h3" fontSize="md" mt="4">{t('modelManager.modelSettings')}</Heading>diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelHeader.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelHeader.tsxindex 2d6827ee6c..0140421974 100644--- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelHeader.tsx+++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelHeader.tsx@@ -1,4 +1,4 @@-import { Flex, Heading, Spacer, Text } from '@invoke-ai/ui-library';+import { Flex, Heading, Link, Spacer, Text } from '@invoke-ai/ui-library';import { useIsModelManagerEnabled } from 'features/modelManagerV2/hooks/useIsModelManagerEnabled';import ModelImageUpload from 'features/modelManagerV2/subpanels/ModelPanel/Fields/ModelImageUpload';import type { PropsWithChildren } from 'react';@@ -6,6 +6,10 @@ import { memo } from 'react';import { useTranslation } from 'react-i18next';import type { AnyModelConfigWithExternal } from 'services/api/types';+const isSafeUrl = (url: string): boolean => {+ return url.startsWith('https://') || url.startsWith('http://');+};+type Props = PropsWithChildren<{modelConfig: AnyModelConfigWithExternal;}>;@@ -30,6 +34,14 @@ export const ModelHeader = memo(({ modelConfig, children }: Props) => {{t('modelManager.source')}: {modelConfig.source}</Text>)}+ {'source_url' in modelConfig && modelConfig.source_url && isSafeUrl(modelConfig.source_url) && (+ <Text variant="subtext" noOfLines={1} wordBreak="break-all">+ {t('modelManager.sourceUrl')}:{' '}+ <Link href={modelConfig.source_url} isExternal color="invokeBlue.300">+ {modelConfig.source_url}+ </Link>+ </Text>+ )}<Text noOfLines={3}>{modelConfig.description}</Text></Flex></Flex>diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/Graph.test.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/Graph.test.tsindex f2a6dc1988..8db74978fa 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/generation/Graph.test.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/Graph.test.ts@@ -657,6 +657,7 @@ describe('Graph', () => {source: '/home/bat/invokeai-4.0.0/models/sdxl/main/stable-diffusion-xl-1.0-inpainting-0.1',source_type: 'path',source_api_response: null,+ source_url: null,cover_image: null,type: 'main',trigger_phrases: null,diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex d24da98716..087a94fcb1 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -4689,6 +4689,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -4770,6 +4775,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -4947,6 +4957,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -6491,6 +6506,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -6714,6 +6734,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -6788,6 +6813,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -6862,6 +6892,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -6936,6 +6971,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -7020,6 +7060,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -7094,6 +7139,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -7165,6 +7215,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -7236,6 +7291,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -7307,6 +7367,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -8982,6 +9047,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -9311,6 +9381,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -12633,6 +12708,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -12701,6 +12781,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -12769,6 +12854,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -12837,6 +12927,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -12905,6 +13000,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -12975,6 +13075,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -13045,6 +13150,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -17433,6 +17543,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -17736,6 +17851,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -17814,6 +17934,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -17890,6 +18015,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -17965,6 +18095,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18040,6 +18175,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18118,6 +18258,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18197,6 +18342,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18272,6 +18422,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18350,6 +18505,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18429,6 +18589,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18504,6 +18669,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18579,6 +18749,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18654,6 +18829,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18732,6 +18912,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18808,6 +18993,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -18883,6 +19073,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19228,6 +19423,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19315,6 +19515,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19398,6 +19603,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19482,6 +19692,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19563,6 +19778,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19645,6 +19865,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19727,6 +19952,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19809,6 +20039,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19894,6 +20129,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -19975,6 +20215,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20055,6 +20300,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20136,6 +20386,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20217,6 +20472,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20295,6 +20555,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20374,6 +20639,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20453,6 +20723,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20537,6 +20812,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20616,6 +20896,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20698,6 +20983,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20779,6 +21069,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20863,6 +21158,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -20947,6 +21247,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -21031,6 +21336,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -23220,6 +23530,11 @@ export type components = {* @description metadata from remote source*/source_api_response?: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page)+ */+ source_url?: string | null;/*** Name* @description Name of the model.@@ -24455,6 +24770,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -24538,6 +24858,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -24624,6 +24949,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -27321,6 +27651,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -27523,6 +27858,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28372,6 +28712,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28443,6 +28788,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28529,6 +28879,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28606,6 +28961,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28690,6 +29050,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28758,6 +29123,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28826,6 +29196,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28894,6 +29269,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -28962,6 +29342,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -29030,6 +29415,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -29165,6 +29555,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -29646,6 +30041,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -29930,6 +30330,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30003,6 +30408,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30079,6 +30489,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30152,6 +30567,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30225,6 +30645,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30298,6 +30723,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30374,6 +30804,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30444,6 +30879,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model@@ -30514,6 +30954,11 @@ export type components = {* @description The original API response from the source, as stringified JSON.*/source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;/*** Cover Image* @description Url for image to preview model