Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

chore: run every test and refresh the KIE catalog description

kashorin02676fe8322e
diff --git a/package.json b/package.json
index af33ac6f..91c4824b 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
- "test": "node --import tsx --test 'packages/*/test/**/*.test.ts' 'tools/*.test.mjs'",
+ "test": "node --import tsx --test 'packages/*/test/**/*.test.ts' 'test/**/*.test.ts' 'tools/*.test.mjs'",
"test:whisperx-service": "uv run --project services/whisperx --frozen python -m unittest discover -s services/whisperx/tests -p 'test_*.py'",
"test:image-opencv": "SVML_OPENCV_TESTS=1 SVML_OPENCV_PYTHON=services/image-opencv/.venv/bin/python node --import tsx --test packages/provider-image-opencv-local/test/provider.test.ts",
"smoke:kie": "node --import tsx packages/provider-kie/test/live-smoke.ts",
diff --git a/packages/generation/src/index.ts b/packages/generation/src/index.ts
index f6448a22..2b286ec2 100644
--- a/packages/generation/src/index.ts
+++ b/packages/generation/src/index.ts
@@ -32,10 +32,8 @@ export type {
} from "./mapping.js";
export {
assertGenerationPortTable,
- GENERATION_MEDIA_ROLES,
GENERATION_PORTS_V1,
generationPort,
- isMediaPort,
sealGenerationPortTable,
} from "./ports.js";
export type {
@@ -55,10 +53,7 @@ export type {
} from "./ports.js";
export {
GENERATION_REQUEST_V1,
- mediaValues,
portsObjectSchema,
- portValues,
- presentPorts,
requestSchemaFromPorts,
sealGenerationPortRequest,
verifyPortsAgainstTable,
diff --git a/packages/generation/src/request.ts b/packages/generation/src/request.ts
index 26fc9a7c..4dac17ee 100644
--- a/packages/generation/src/request.ts
+++ b/packages/generation/src/request.ts
@@ -6,7 +6,6 @@ import { assertGenerationPortTable, isMediaPort } from "./ports.js";
import type {
GenerationMediaPort,
GenerationMediaRole,
- GenerationMediaValue,
GenerationPort,
GenerationPortItemField,
GenerationPortScalarKind,
@@ -280,11 +279,3 @@ export function sealGenerationPortRequest(
export function presentPorts(request: GenerationRequest): ReadonlySet<string> {
return new Set(Object.keys(request.ports));
}
-
-export function portValues(request: GenerationRequest, name: string): readonly GenerationPortValue[] {
- return request.ports[name] ?? [];
-}
-
-export function mediaValues(request: GenerationRequest, name: string): readonly GenerationMediaValue[] {
- return portValues(request, name) as readonly GenerationMediaValue[];
-}
diff --git a/packages/provider-kie/README.md b/packages/provider-kie/README.md
index 8027a774..0aa1b453 100644
--- a/packages/provider-kie/README.md
+++ b/packages/provider-kie/README.md
@@ -1,23 +1,30 @@
# `@narratage/provider-kie`
-Recoverable KIE Market Provider for the first seven explicitly selected model families.
+Recoverable KIE Market Provider for the eleven explicitly selected exact models.
This package is deployment code. Author source imports model modules such as `@narratage/seedance` or
`@narratage/gpt-image`; trusted Runtime configuration installs `createKieProvider()`. The Provider binds
only those exact capabilities and never interprets a generic image/video request as permission to
choose another model.
+It imports no model package. Each model declares the inputs it accepts, and this package contributes
+only the wire mapping over those ports — including the routes where KIE serves one model from several
+of its own endpoint slugs. See [`model-input-ports.md`](../../docs/model-input-ports.md).
+
## Supported catalog
-| Author module | Exact author model/mode | KIE model |
+One Capability per exact model; a service that splits a model across endpoints expresses that as
+routes rather than extra Capabilities.
+
+| Author module | Exact models | KIE model slugs |
|---|---|---|
-| `@narratage/seedance` | Seedance 2.0 / Fast / Mini | `bytedance/seedance-2*` |
-| `@narratage/minimax-h3` | text / frames / multimodal reference | `minimax-h3/*-to-video` |
-| `@narratage/gemini-omni` | Gemini Omni Video | `gemini-omni-video` |
-| `@narratage/grok-imagine` | text video / image video / 1.5 preview | Grok Imagine video endpoints |
-| `@narratage/gpt-image` | GPT Image 2 text / image | GPT Image 2 endpoints |
-| `@narratage/nano-banana` | Nano Banana 2 / Pro | `nano-banana-2`, `nano-banana-pro` |
-| `@narratage/seedream` | Seedream 5 Lite text / image | Seedream 5 Lite endpoints |
+| `@narratage/seedance` | `seedance-2`, `-fast`, `-mini` | `bytedance/seedance-2*` |
+| `@narratage/minimax-h3` | `minimax-h3` | `minimax-h3/{text,image,reference}-to-video` |
+| `@narratage/gemini-omni` | `gemini-omni-video` | `gemini-omni-video` |
+| `@narratage/grok-imagine` | `grok-imagine-video`, `-1.5-preview` | Grok Imagine video endpoints |
+| `@narratage/gpt-image` | `gpt-image-2` | `gpt-image-2-{text,image}-to-image` |
+| `@narratage/nano-banana` | `nano-banana-2`, `-pro` | `nano-banana-2`, `nano-banana-pro` |
+| `@narratage/seedream` | `seedream-5-lite` | `seedream/5-lite-{text,image}-to-image` |
There is deliberately no Grok image capability and no MiMo capability in this release. Seedream's
`nsfwCheck` is explicit author request content; KIE cannot silently enable or disable it. A