Style lora research pipeline

From theheavenlyd3mon/hermes-profiles · View interactive version

Style lora research pipeline is an AI agent skill from the GitHub repository theheavenlyd3mon/hermes-profiles. Discover, curate, and batch-test external style LoRAs for brand-custom image generation. Covers Loratlas-style libraries, FAL LoRA inference, and async polling patterns.

How to use this skill

Skill file

Style LoRA Research Pipeline

Use when: the user wants to mine external style LoRA libraries, curate a brand-aligned shortlist, or batch-test styles against real scene prompts.

Trigger conditions

Workflow

  1. Discover: load the external library homepage and navigate to the indexed view (Library/All).
  2. Filter by brand DNA: match palette, lighting, cinematic density, and genre overlap. Use subjective fit ranking, not like-counts alone.
  3. Shortlist tiers rather than one flat list: core dramatic skin, secondary ornate skin, reserve anime/lighter skin, and mural/old-artwork fallback family.
  4. Deep-dive each page: extract the trigger phrase, the Hugging Face weight path, and the developer-call prompt template. Pause before generating — read the page’s prompt guide first.
  5. Author test prompts: brand-themed subjects, stripped to concrete nouns + minimal action/setting. Never redefine medium; let the LoRA carry it.
  6. Batch-submit via fal.run endpoint fal-ai/krea-2/turbo/lora (or equivalent). Use async polling. See references/fal-lora-testing.md for the stdlib-only fallback and the exact poll loop, and references/cheonma-fal-batch-notes.md for the brand-local batch CLI and synchronous-response behavior.
  7. Collect outputs: save image URLs + request IDs locally under ~/cheonma/loratlas_test_runs.json or brand-equivalent path.
  8. Evaluate: rank tested styles by visual fidelity to brand prompts, not just novelty.
  9. Formalize: save chosen skins as template files, subject prompts as JSON banks, and generate via a repeatable brand CLI instead of one-off scripts.

Brand-fit filter rubric

Pitfalls

Environment discovery for FAL auth

Preferred key lookup order:

  1. ~/.hermes/.env
  2. <brand root>/.env
  3. profile-local ~/.hermes/profiles/<name>/.env only if explicitly configured
  4. Do not assume ~/.env, /root/.env, or the active shell’s exports

The fallback script in references/fal-lora-testing.md hardcodes ~/.hermes/.env.

Override that path only when brand setup explicitly differs.

Output expectations

Session package target

After testing, create one index doc next to references/fal-lora-testing.md, e.g. references/<brand>-style-shortlist.md, containing:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.