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.

fix: complete HypiHub generation port mappings

rpone5a65689cf5f7
diff --git a/packages/provider-hypihub/src/mapping.ts b/packages/provider-hypihub/src/mapping.ts
index 7d3ba952..04434f44 100644
--- a/packages/provider-hypihub/src/mapping.ts
+++ b/packages/provider-hypihub/src/mapping.ts
@@ -51,6 +51,7 @@ export const hypiHubMappings: readonly GenerationWireMapping[] = [
aspectRatio: { as: "value" as const, field: "aspect_ratio" },
resolution: { as: "value" as const, field: "size", whenAbsent: "1024x1024" },
images: { as: "itemObject" as const, field: "reference_images", urlKey: "url", fieldKeys: {} },
+ outputFormat: { as: "value" as const, field: "output_format" },
},
})),
{
@@ -63,6 +64,9 @@ export const hypiHubMappings: readonly GenerationWireMapping[] = [
aspectRatio: { as: "value", field: "aspect_ratio" },
resolution: { as: "value", field: "size", whenAbsent: "2048x2048" },
images: { as: "itemObject", field: "reference_images", urlKey: "url", fieldKeys: {} },
+ quality: { as: "value", field: "quality" },
+ outputFormat: { as: "value", field: "output_format" },
+ nsfwCheck: { as: "value", field: "nsfw_checker" },
},
},
{
@@ -91,6 +95,7 @@ export const hypiHubMappings: readonly GenerationWireMapping[] = [
prompt: { as: "value", field: "prompt" }, duration: { as: "value", field: "seconds" },
resolution: { as: "value", field: "resolution" }, aspectRatio: { as: "value", field: "aspect_ratio" },
images: { as: "itemObject", field: "reference_images", urlKey: "url", fieldKeys: {} },
+ sourceTaskId: { as: "value", field: "source_task_id" },
},
},
{