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: keep HypiHub mappings aligned with model ports

rponef4b78fd2570f
diff --git a/packages/provider-hypihub/src/mapping.ts b/packages/provider-hypihub/src/mapping.ts
index 6c04096c..61a65f6d 100644
--- a/packages/provider-hypihub/src/mapping.ts
+++ b/packages/provider-hypihub/src/mapping.ts
@@ -62,7 +62,6 @@ export const hypiHubMappings: readonly GenerationWireMapping[] = [
fields: {
prompt: { as: "value", field: "prompt" },
aspectRatio: { as: "value", field: "aspect_ratio" },
- resolution: { as: "value", field: "size", whenAbsent: "2048x2048" },
images: { as: "urlArray", field: "reference_images" },
quality: { as: "value", field: "quality" },
outputFormat: { as: "value", field: "output_format" },
@@ -82,8 +81,8 @@ export const hypiHubMappings: readonly GenerationWireMapping[] = [
referenceImage: { as: "urlArray", field: "reference_image_urls" },
referenceVideo: { as: "urlArray", field: "reference_videos" },
referenceAudio: { as: "urlArray", field: "reference_audios" },
- firstFrame: { as: "url", field: "first_image_url" },
- lastFrame: { as: "url", field: "last_image_url" },
+ firstFrame: { as: "url", field: "first_image_url" },
+ lastFrame: { as: "url", field: "last_image_url" },
},
},
{