mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-15 13:14:38 +08:00
feat: /animated-drawing character-source chooser (ask first; generate/upload/stock/doodle-ify)
Adds an explicit 'choose a character source' step so the agent never silently reuses a bundled character (the 'same mascot every video' problem). Options: user uploads a drawing; user uploads a photo -> doodle-ify (img2img) -> rig; generate a fresh doodle (FLUX/Imagen, recommended default); or stock (pixabay/pexels, hit-or-miss). Bundled chars are demo-only.
This commit is contained in:
@@ -7,6 +7,17 @@
|
||||
|
||||
**What it does:** auto-rigs the drawing (predicts a 16-joint skeleton), then retargets a BVH mocap clip onto it via As-Rigid-As-Possible mesh warp of the flat texture. It only *moves an already-complete drawing* — there is **no draw-on / self-sketching reveal** (that's `/ink-art`).
|
||||
|
||||
## Choose a character source — ASK FIRST (never silently reuse a bundled char)
|
||||
|
||||
The tool animates *whatever image you give it*, and it needs a **drawn humanoid** (head, 2 arms, 2 legs, limbs separated, plain light bg). Before building, **present the user these options** and pick one (default to *generate* when they have nothing) — this is also what stops every video looking like the same mascot:
|
||||
|
||||
1. **User uploads a drawing** — their own humanoid doodle. Best result; it's their character.
|
||||
2. **User uploads a photo / any image** — first **doodle-ify it** (`image_selector` img2img, FLUX/Recraft: "turn this into a simple child's crayon doodle of a humanoid, full body, plain white bg") → then rig. (The "hand-drawn" look comes from this step; a raw photo warps badly.)
|
||||
3. **Generate a fresh character** ⭐ (recommended default) — `image_selector` (FLUX/Imagen): *"a child's crayon drawing of a character, full body, front-facing, A-pose with arms and legs separated, plain white background, no shadow, no text."* Unique every video.
|
||||
4. **Grab a stock character** — `pixabay_image` / `pexels_image`, filtered to a *drawn humanoid on a plain bg*. Hit-or-miss (most stock is photos) — prefer #3.
|
||||
|
||||
Bundled example characters are **demo-only** — do not ship them as the user's character. Options 1–4 all need the **auto-rig Docker service** (below); if it isn't up, say so.
|
||||
|
||||
## Two run modes
|
||||
|
||||
**A · Bundled character + preset motion — turnkey, no Docker (verified on Windows):**
|
||||
|
||||
Reference in New Issue
Block a user