Does Your Photo Fit a Fixed Dance?

by ethanjamescolez

HTML

<main class="planner">
  <p class="eyebrow">AIDanceVideo / independent planning exercise</p>
  <h1>Does your photo fit a fixed dance?</h1>
  <p>Separate visible appearance, fixed motion and your own decision before making a generation attempt. This demo keeps text in this tab only. It does not accept a photo, contact a model or calculate a price.</p>
  <form id="plan-form">
    <label>What is the clip for?<input id="purpose" maxlength="160" placeholder="For example, a private costume greeting"></label>
    <div class="pair"><label>Photo framing<select id="framing"><option value="portrait">Portrait / lower body absent</option><option value="half">Half body</option><option value="full">Full body visible</option></select></label>
    <label>Mode to check in the product<select id="mode"><option>Fast</option><option>Premium</option></select></label></div>
    <label class="check"><input id="permission" type="checkbox">I have checked photo and likeness permission for this purpose.</label>
    <label class="check"><input id="quote" type="checkbox">I will review the actual current credit quote before creating a task.</label>
    <label class="check"><input id="custom" type="checkbox">My purpose needs a different choreography or uploaded motion reference.</label>
    <div class="actions"><button type="submit">Build planning note</button><button id="reset" type="reset">Reset</button></div>
  </form>
  <section id="result" aria-live="polite" aria-atomic="true"><h2>Planning note</h2><p id="status"></p><pre id="note"></pre></section>
  <aside><h2>Product boundary</h2><p>AIDanceVideo currently uses one authorized JPG or PNG with the fixed Dime Dime Baby dance. Fast and Premium use the same reference. Google sign-in, permission and credits are required. A Free account includes no generation credits. Review the complete result before downloading a silent MP4.</p><a href="https://ai-dance-video.com" target="_blank" rel="noopener noreferrer">Check the current...

CSS

*{box-sizing:border-box}body{margin:0;padding:24px;background:#f8f4ef;color:#242424;font:16px/1.55 system-ui,sans-serif}.planner{max-width:780px;margin:auto}h1{font-size:clamp(28px,5vw,42px);line-height:1.12;margin:12px 0 20px}h2{font-size:20px}.eyebrow{color:#8f330e;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}form,#result,aside{margin:22px 0;padding:24px;border:1px solid #cfc6bc;border-radius:16px;background:#fff}label{display:block;font-weight:600;margin:0 0 18px}input:not([type=checkbox]),select{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #8a827a;border-radius:6px;font:inherit}.pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.check input{width:18px;height:18px;flex:0 0 18px;margin-top:4px}button{font:inherit;font-weight:600;padding:10px 16px;border-radius:7px;border:1px solid #8f330e;background:#a93c0e;color:#fff;cursor:pointer}button[type=reset]{background:#fff;color:#5b2b1b}.actions{display:flex;gap:12px;flex-wrap:wrap}:focus-visible{outline:3px solid #245c9a;outline-offset:3px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}#status{font-weight:700;color:#8f330e}.fine{font-size:13px;color:#555}a{color:#87310e}@media(max-width:520px){body{padding:14px}.pair{grid-template-columns:1fr;gap:0}form,#result,aside{padding:18px}}

JavaScript

(() => {
  "use strict";
  const form = document.getElementById("plan-form");
  const byId = id => document.getElementById(id);
  const resetNote = () => {
    byId("status").textContent = "No planning checks recorded yet.";
    byId("note").textContent = "Write a purpose, then inspect the control boundary. Nothing is uploaded or saved by this demo.";
  };
  form.addEventListener("submit", event => {
    event.preventDefault();
    const purpose = byId("purpose").value.trim();
    const permission = byId("permission").checked;
    const quote = byId("quote").checked;
    const custom = byId("custom").checked;
    const missing = [];
    if (!purpose) missing.push("Write a purpose and intended audience.");
    if (!permission) missing.push("Confirm the source photo and likeness permission.");
    if (!quote) missing.push("Read the current mode and credit quote before generation.");
    if (custom) missing.push("The current workflow does not take a different choreography or uploaded motion reference.");
    byId("status").textContent = missing.length ? "Stop and resolve the planning gaps." : "Planning checks recorded - verify the actual product before generation.";
    const inference = byId("framing").value === "full"
      ? "Visible framing includes the body, but hidden details can still be inferred or change."
      : "Lower-body or other missing details must be inferred; the photo cannot establish their true appearance.";
    const lines = ["Purpose: " + (purpose || "Not recorded"),
      "Reference: fixed Dime Dime Baby dance, banquet setting, companions and camera.",
      "Appearance input: one authorized JPG or PNG, not a motion reference.",
      "Mode to check: " + byId("mode").value + ". Both modes use the same dance.",
      inference,
      "Review: watch the whole clip; inspect face, hands, clothing and connections.",
      "Output context: silent MP4. Music and permission to share need separate decisions."];
    if...