Skip to content

Text to vertical video in 100+ styles: AI codes each scene (HTML/SVG/WebGL), renders a 9:16 MP4 with music and English/Vietnamese voice. MCP, CLI and REST for AI agents.

4.7 KB
Raw Blame
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 520" width="1200" height="520" font-family="Be Vietnam Pro, Segoe UI, sans-serif">
  <title>Luồng LumReels: agent → MCP/CLI/REST → LumReels → MP4 → thư mục Drive</title>
  <defs>
    <marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
      <path d="M0 0 10 5 0 10z" fill="#5b5b55"/>
    </marker>
  </defs>
  <rect width="1200" height="520" fill="#faf9f5"/>
  <text x="40" y="52" font-size="28" font-weight="700" fill="#1a1a18">LumReels — ai gọi vào, video đi đâu</text>

  <!-- cột 1: agent -->
  <g>
    <rect x="40" y="100" width="230" height="110" rx="16" fill="#fff" stroke="#d9d6cc" stroke-width="2"/>
    <text x="155" y="145" text-anchor="middle" font-size="20" font-weight="700" fill="#1a1a18">Claude</text>
    <text x="155" y="175" text-anchor="middle" font-size="15" fill="#55534c">Desktop · Code</text>
    <rect x="40" y="240" width="230" height="110" rx="16" fill="#fff" stroke="#d9d6cc" stroke-width="2"/>
    <text x="155" y="285" text-anchor="middle" font-size="20" font-weight="700" fill="#1a1a18">ChatGPT / Codex</text>
    <text x="155" y="315" text-anchor="middle" font-size="15" fill="#55534c">Codex CLI · script</text>
    <rect x="40" y="380" width="230" height="90" rx="16" fill="#fff" stroke="#d9d6cc" stroke-width="2"/>
    <text x="155" y="420" text-anchor="middle" font-size="20" font-weight="700" fill="#1a1a18">Mày (trình duyệt)</text>
    <text x="155" y="448" text-anchor="middle" font-size="15" fill="#55534c">127.0.0.1:4400</text>
  </g>

  <!-- cột 2: cổng vào -->
  <g>
    <rect x="350" y="100" width="200" height="70" rx="12" fill="#fff1e8" stroke="#ff6b2c" stroke-width="2"/>
    <text x="450" y="132" text-anchor="middle" font-size="19" font-weight="700" fill="#1a1a18">MCP</text>
    <text x="450" y="156" text-anchor="middle" font-size="14" fill="#55534c">mcp/server.mjs</text>
    <rect x="350" y="235" width="200" height="70" rx="12" fill="#fff1e8" stroke="#ff6b2c" stroke-width="2"/>
    <text x="450" y="267" text-anchor="middle" font-size="19" font-weight="700" fill="#1a1a18">CLI</text>
    <text x="450" y="291" text-anchor="middle" font-size="14" fill="#55534c">node cli.mjs …</text>
    <rect x="350" y="370" width="200" height="70" rx="12" fill="#fff1e8" stroke="#ff6b2c" stroke-width="2"/>
    <text x="450" y="402" text-anchor="middle" font-size="19" font-weight="700" fill="#1a1a18">REST + Web</text>
    <text x="450" y="426" text-anchor="middle" font-size="14" fill="#55534c">/api/jobs</text>
  </g>

  <!-- cột 3: app -->
  <g>
    <rect x="630" y="100" width="260" height="340" rx="18" fill="#1a1a18"/>
    <text x="760" y="140" text-anchor="middle" font-size="22" font-weight="800" fill="#fff">LumReels</text>
    <text x="660" y="185" font-size="15" fill="#d9d6cc">1. Mẫu + guidance</text>
    <text x="660" y="220" font-size="15" fill="#d9d6cc">2. AI viết cảnh HTML</text>
    <text x="660" y="255" font-size="15" fill="#d9d6cc">3. Hẹn giờ (nếu có)</text>
    <text x="660" y="290" font-size="15" fill="#d9d6cc">4. Preview 16 khung</text>
    <text x="660" y="325" font-size="15" fill="#d9d6cc">5. Kiểm chữ, font</text>
    <text x="660" y="360" font-size="15" fill="#d9d6cc">6. Render MP4</text>
    <text x="660" y="410" font-size="13" fill="#9a978d">jobs/&lt;id&gt;/out.mp4</text>
  </g>

  <!-- cột 4: đầu ra -->
  <g>
    <rect x="970" y="150" width="190" height="90" rx="14" fill="#fff" stroke="#d9d6cc" stroke-width="2"/>
    <text x="1065" y="190" text-anchor="middle" font-size="20" font-weight="700" fill="#1a1a18">MP4 9:16</text>
    <text x="1065" y="218" text-anchor="middle" font-size="14" fill="#55534c">1080×1920 · 30fps</text>
    <rect x="970" y="300" width="190" height="100" rx="14" fill="#e9f7ef" stroke="#2e9e5b" stroke-width="2"/>
    <text x="1065" y="338" text-anchor="middle" font-size="18" font-weight="700" fill="#1a1a18">OUTPUT_DIR</text>
    <text x="1065" y="364" text-anchor="middle" font-size="14" fill="#55534c">thư mục Google Drive</text>
    <text x="1065" y="385" text-anchor="middle" font-size="14" fill="#55534c">tự đồng bộ lên mây</text>
  </g>

  <g stroke="#5b5b55" stroke-width="2.5" fill="none" marker-end="url(#a)">
    <path d="M270 155 H345"/>
    <path d="M270 280 C310 280 310 140 345 140"/>
    <path d="M270 300 H345" />
    <path d="M270 425 C305 425 310 405 345 405"/>
    <path d="M550 135 H625"/>
    <path d="M550 270 H625"/>
    <path d="M550 405 H625"/>
    <path d="M890 195 H965"/>
    <path d="M1065 240 V295"/>
  </g>
  <text x="40" y="505" font-size="14" fill="#55534c">Mọi cổng dùng chung một lõi (generator/jobs.mjs). Server chỉ nghe 127.0.0.1 — không ai ngoài máy này gọi được.</text>
</svg>