High end website design

From agnt-gg/agnt · View interactive version

High end website design is an AI agent skill from the GitHub repository agnt-gg/agnt. End-to-end pipeline for producing ULTRA high-end, novel, single-file HTML landing pages and presentation slides featuring AI-generated hero imagery and seamlessly looping AI video backgrounds. Combines Gemini Nano Banana Pro for cinematic stills, ByteDance Seedance 2.0 for native looping video clips

How to use this skill

Skill file

High End Website Design

End-to-end pipeline: AI image → seamless AI video loop → ultra-premium single-file HTML page.

Creative Standard

This is editorial-grade web design. Every output should look like it was crafted by a world-class design agency — bold, distinctive, and visually striking. Generic AI aesthetics are unacceptable.

The pipeline produces ONE polished slide / landing page per invocation by default. If the user asks for multiple, run them in parallel.

Hero rules:

The Five-Phase Pipeline

PHASE 1: Brainstorm aesthetic + brief (conversational)
PHASE 2: Generate hero image  (generate_image tool — Gemini Nano Banana Pro)
PHASE 3: Save image locally + upload to uguu (execute_javascript_code)
PHASE 4: Generate NATIVE LOOPING video (seedance_api — firstFrameUrl == lastFrameUrl)
PHASE 5: Copy MP4 to project, write HTML slide, save deck index (file_operations + js)

For multiple slides, all phases (image gen, uguu uploads, seedance calls) MUST be run in parallel — same tool block.


PHASE 1 — Brief & Aesthetic

Ask the user (or infer from context) the minimum needed:

  1. Subject / topic — what's the page for?
  2. Aesthetic — pick from references/DESIGN_AESTHETICS.md or invent one. Each has a defined font stack, color palette, motion language.
  3. Project name — used as folder slug.

If the user is vague, propose 3 distinct aesthetic options as a quick menu — don't bog them down with form-style questions. Show, don't ask.


PHASE 2 — Hero Image Generation

Use the chat-level generate_image tool (NOT generate_with_ai_llm node). Defaults that matter:

| param | value | why |

|---|---|---|

| provider | gemini | Best aesthetic quality |

| model | nano-banana-pro-preview | Highest fidelity available |

| aspectRatio | 16:9 for hero / 9:16 for vertical / 1:1 for square | Match the design |

| prompt | See references/PROMPT_RECIPES.md | Photographic/cinematic, never "AI art" |

Prompt formula: [shot] [subject] [environment] [lighting] [camera/lens] [mood] [grade] [style refs] no text

The "no text" suffix is critical — Nano Banana will hallucinate logos and watermarks otherwise.

For multiple slides → fire all generate_image calls in the SAME tool block (parallel).


PHASE 3 — Save & Upload

After generation, the image lives at C:\Users\<USER>\AppData\Roaming\AGNT\Data\images\<imageId>.jpg. Copy it into the project structure and upload to uguu so Seedance can consume it.

// Standard project structure
const projDir = 'C:\\Users\\Studio\\<project-slug>';
fs.mkdirSync(path.join(projDir, 'images'), { recursive: true });
fs.mkdirSync(path.join(projDir, 'videos'), { recursive: true });
fs.mkdirSync(path.join(projDir, 'slides'), { recursive: true });

// Copy image into project
fs.copyFileSync(srcPath, path.join(projDir, 'images', `${slug}.jpg`));

// Upload to uguu (Seedance needs a public URL)
async function uploadToUguu(filePath, mime) {
  const buf = fs.readFileSync(filePath);
  const blob = new Blob([buf], { type: mime });
  const fd = new FormData();
  fd.append('files[]', blob, path.basename(filePath));
  const r = await fetch('https://uguu.se/upload', { method: 'POST', body: fd });
  return (await r.json()).files[0].url;
}

Uguu rate limits: when uploading 3+ files, sleep 3000ms between each. Parallel uploads will fail.


PHASE 4 — Native Looping Video (the most important step)

The boomerang ffmpeg trick (forward + reverse) works for ambient motion but feels weird for directional motion (rotation, drift, characters moving). The vastly superior method is to let Seedance generate a NATIVE LOOP by setting firstFrameUrl == lastFrameUrl and explicitly telling it the first and last frame must be identical.

seedance_api({
  prompt: "SEAMLESS LOOPING VIDEO — first frame and last frame must be IDENTICAL so it loops perfectly with no cut. Cyclical motion only: [describe the action as a complete cycle that returns to start]. Returns to original composition by the end.",
  firstFrameUrl: <UGUU_URL>,
  lastFrameUrl:  <UGUU_URL>,   // SAME url as firstFrameUrl
  filename: "<slug>.mp4",
  aspectRatio: "16:9",
  duration: 5,
  resolution: "1080p"
})

Cost: ~$1.70 per 5s clip via OpenRouter. If user runs out: tell them to top up at https://openrouter.ai/settings/credits — don't try to fall back to a different video tool, just pause and ask.

IP-safe prompts: Per memory rules — if the source image contains branded IP (Pokémon, etc.), the image already carries it. The Seedance prompt should ONLY describe pure shot/camera/lighting/motion. Never name the IP, franchise, or character. (e.g., "winged fire-creature statue" not "Charizard").

Cyclical motion vocabulary (for the prompt):

For multiple slides → fire all seedance_api calls in the SAME tool block (parallel). Each takes 60-90s, parallelism saves real time.


PHASE 5 — Build the HTML

Seedance writes the MP4 to its plugin-data directory. Copy it into the project's /videos/ folder. Path on Windows:

C:\Users\<USER>\AppData\Roaming\AGNT\plugin-data\seedance\<userhash>\<filename>.mp4

The exact path is in the seedance_api response under filePath. Use that.

Then write the HTML using assets/slide-template.html as the scaffold. The template includes:

Customize per the chosen aesthetic — see references/DESIGN_AESTHETICS.md for 12 ready-to-use recipes (each with font imports, palette, layout pattern, signature motion).

Write the HTML file last — never inline videos as base64 (would blow up the file). Always reference relatively: ../videos/<slug>.mp4 and ../images/<slug>.jpg.

Finally, write/update an index.html deck navigator at the project root that lists all slides as autoplaying card previews — see template in references/PIPELINE.md.


Final Project Structure

<project-slug>/
├── index.html           ← Deck navigator (auto-playing thumbnails → click to open)
├── slides/
│   ├── 01-<slug>.html
│   ├── 02-<slug>.html
│   └── ...
├── images/              ← Source JPGs from Nano Banana
├── videos/              ← Looped MP4s from Seedance
└── assets.json          ← Public uguu URL map (optional, useful for re-use)

This structure is fully portable — zip the folder and it works anywhere offline. No CDN needed.


Reference Files

Read these on demand based on what the user is asking for:


Hard-won Lessons (do not violate)

  1. Native loops > boomerang. Always set firstFrameUrl == lastFrameUrl for video. Boomerang reverse-time looks weird for directional motion.
  2. Pure motion in Seedance prompts. Branded IP already lives in the image. Naming it in the prompt = copyright refusal.
  3. Uguu rate limits hit fast. Sleep 3s between uploads when doing 3+.
  4. Insufficient credits halts the pipeline. Don't pivot, just tell the user to top up OpenRouter.
  5. Relative paths in HTML. Never absolute, never base64-inline videos.
  6. Reduced-motion always. Accessibility is non-negotiable.
  7. Save the file, don't just preview it. Always fs.writeFileSync the final HTML to disk. Chat preview ≠ saved file.
  8. One dominant color + one accent. Multi-color floods read as AI slop.
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.