Spaces:
Running
Running
Download index.html from s1x7e/krea2-pose-controlnet: direct link, hf CLI and curl.
- Browser
- Download file 6.07 kB
-
https://huggingface.co/spaces/s1x7e/krea2-pose-controlnet/resolve/main/index.html
- Command line
-
hf download hf://spaces/s1x7e/krea2-pose-controlnet/index.html
-
curl -L -o index.html https://huggingface.co/spaces/s1x7e/krea2-pose-controlnet/resolve/main/index.html
6.07 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Krea 2 Pose ControlNet</title> | |
| <style> | |
| :root { | |
| --bg: #0b0b12; | |
| --card: #14141f; | |
| --text: #f2f2f7; | |
| --muted: #a0a0b8; | |
| --accent: #8b5cf6; | |
| --accent2: #38bdf8; | |
| --border: rgba(255,255,255,0.08); | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; | |
| font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; | |
| background: | |
| radial-gradient(1200px 600px at 10% -10%, rgba(139,92,246,0.25), transparent 60%), | |
| radial-gradient(900px 500px at 100% 0%, rgba(56,189,248,0.18), transparent 55%), | |
| var(--bg); | |
| color: var(--text); | |
| line-height: 1.55; | |
| } | |
| .wrap { max-width: 980px; margin: 0 auto; padding: 40px 20px 80px; } | |
| h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.02em; } | |
| .sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; } | |
| .badge { | |
| display: inline-flex; align-items: center; gap: 8px; | |
| background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.35); | |
| color: #d8b4fe; padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; margin-bottom: 18px; | |
| } | |
| .card { | |
| background: var(--card); border: 1px solid var(--border); | |
| border-radius: 16px; padding: 20px 22px; margin: 18px 0; | |
| } | |
| a { color: var(--accent2); text-decoration: none; } | |
| a:hover { text-decoration: underline; } | |
| .grid { | |
| display: grid; gap: 14px; | |
| grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | |
| margin-top: 14px; | |
| } | |
| .grid img { | |
| width: 100%; border-radius: 12px; border: 1px solid var(--border); | |
| background: #000; display: block; | |
| } | |
| .caption { color: var(--muted); font-size: 0.85rem; margin-top: 6px; } | |
| ul { margin: 8px 0 0 18px; color: var(--muted); } | |
| li { margin: 4px 0; } | |
| code { | |
| background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px; | |
| font-size: 0.9em; | |
| } | |
| .btn { | |
| display: inline-block; margin-top: 10px; margin-right: 10px; | |
| padding: 10px 16px; border-radius: 10px; font-weight: 600; | |
| background: linear-gradient(135deg, var(--accent), #6366f1); | |
| color: white ; text-decoration: none ; | |
| } | |
| .btn.secondary { | |
| background: transparent; border: 1px solid var(--border); color: var(--text) ; | |
| } | |
| pre { | |
| white-space: pre-wrap; background: rgba(0,0,0,0.35); | |
| border: 1px solid var(--border); border-radius: 12px; | |
| padding: 14px; color: #e5e7eb; font-size: 0.9rem; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="wrap"> | |
| <div class="badge">🕺 OpenPose ControlNet LoRA · Krea 2 Turbo</div> | |
| <h1>Krea 2 Pose ControlNet Demo</h1> | |
| <p class="sub"> | |
| Feed an OpenPose / DWPose skeleton — the model follows body pose and structure while your | |
| text prompt defines appearance, clothing, style, and scene. | |
| </p> | |
| <div class="card"> | |
| <strong>Interactive Gradio demo status</strong> | |
| <p class="sub" style="margin:8px 0 0"> | |
| Full ZeroGPU app code is already in this Space (<code>app.py</code>). Hosting Gradio on a free | |
| account needs a community GPU grant or PRO. A grant request is open in the Community tab. | |
| Until then, browse the model examples below or try the public reference demo. | |
| </p> | |
| <a class="btn" href="https://huggingface.co/spaces/hugging-apps/krea2-pose-controlnet" target="_blank" rel="noopener"> | |
| Open live reference demo | |
| </a> | |
| <a class="btn secondary" href="https://huggingface.co/thedeoxen/Krea-2-pose-controlnet" target="_blank" rel="noopener"> | |
| Model card | |
| </a> | |
| <a class="btn secondary" href="https://huggingface.co/krea/Krea-2-Turbo" target="_blank" rel="noopener"> | |
| Base model | |
| </a> | |
| </div> | |
| <div class="card"> | |
| <strong>What this demo does (when live)</strong> | |
| <ul> | |
| <li><strong>Pose Image</strong> — upload a ready-made skeleton map (black background works best)</li> | |
| <li><strong>Regular Image</strong> — upload a photo, auto-extract DWPose, drag joints, then generate</li> | |
| <li>LoRA: <a href="https://huggingface.co/thedeoxen/Krea-2-pose-controlnet">thedeoxen/Krea-2-pose-controlnet</a></li> | |
| <li>Base: <a href="https://huggingface.co/krea/Krea-2-Turbo">krea/Krea-2-Turbo</a> (~10 steps, guidance 0)</li> | |
| </ul> | |
| </div> | |
| <div class="card"> | |
| <strong>Official examples (pose → results)</strong> | |
| <div class="grid"> | |
| <div> | |
| <img src="https://huggingface.co/thedeoxen/Krea-2-pose-controlnet/resolve/main/images/a%20(1).png" alt="Example 1" loading="lazy" /> | |
| <div class="caption">Example 1</div> | |
| </div> | |
| <div> | |
| <img src="https://huggingface.co/thedeoxen/Krea-2-pose-controlnet/resolve/main/images/a%20(2).png" alt="Example 2" loading="lazy" /> | |
| <div class="caption">Example 2</div> | |
| </div> | |
| <div> | |
| <img src="https://huggingface.co/thedeoxen/Krea-2-pose-controlnet/resolve/main/images/a%20(3).png" alt="Example 3" loading="lazy" /> | |
| <div class="caption">Example 3</div> | |
| </div> | |
| <div> | |
| <img src="https://huggingface.co/thedeoxen/Krea-2-pose-controlnet/resolve/main/images/a%20(4).png" alt="Example 4" loading="lazy" /> | |
| <div class="caption">Example 4</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card"> | |
| <strong>Example prompt</strong> | |
| <pre>A high-resolution render of a futuristic cyber-ninja in a low-profile stealth pose. The suit is matte black with subtle blue and red LED accents. It holds two glowing plasma katanas low to the ground. The character is balanced on a high-rise ledge overlooking a rain-slicked cyberpunk megacity at night. Style: Cyberpunk aesthetics, realistic rendering, dramatic lighting.</pre> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |