Influverse AI maintains character consistency across image and video models without training by using a vision model to generate authoritative descriptions from reference images, then injecting those descriptions into downstream generation prompts. The system stores a front-facing portrait and a multi-angle reference sheet (similar to an animation model sheet) plus an 80–150 word description. A vision model describes the actual images under strict instructions: "THE IMAGE IS THE TRUTH" — it must describe visible details, use the person's own left/right orientation (not image sides), state "no distinguishing marks" when none are found, and never identify real people. This corrected a bug where a vision model hallucinated a tattoo on each arm despite both being on one arm, because the prompt had prioritized user notes over visual evidence. The description (500–900 characters) is now prepended to sheet-generation prompts alongside creator notes within a 1,200-character limit. An identityPromptBlock function distinguishes persons ("keep this exact person consistent") from objects ("keep this exact object consistent: same form, proportions, colours, materials and surface markings"). References are sent via identityRefPlan, which orders profile then sheet media IDs; the frontend and backend share a reference-counting function to respect provider limits, prioritizing the clearest facial reference. The effectiveVariant function selects 'edit' over 'create' when references, uploads, or wardrobe changes are present, ensuring consistent endpoint usage across price preview and server. Signed URLs for private storage are resolved at submission time with ownership checks, and HEIC photos are converted to JPEG on upload. If vision description fails, the system falls back to existing text. The author notes persistent difficulty keeping small scars and tattoos consistent across video frames despite correct references and descriptions, and asks whether anyone has achieved full tattoo consistency in video using reference images alone.
Read original
dev.to