Seedance UGC engine
A workflow and toolset for short vertical videos (9:16, about 12 to 15 s) that look like ordinary people filmed them on a phone: one invented person, a real-looking room, handheld shake, hard cuts on almost every line, and a phone whose screen is flat chroma green so the real app can be composited in afterwards.
Generation runs on ComfyUI's official partner nodes (Comfy Desktop or a local ComfyUI signed in to comfy.org credits). Editing, captions and checks run locally with FFmpeg and whisper.cpp. Read references/workflow.md for the full order of work and references/prompting.md before writing any prompt.
Workflow at a glance
- Brief. One person, one setting, one format, one hook type. Each new variation changes the person, setting, format and script, not just the wording.
- Script. Lines of five words or fewer, a hard cut on almost every line, about 12 to 13 s. Long legal disclosures go on screen, not in the voice. Run your own claims and originality checks for regulated products.
- People. Three or four candidate faces in Seedream 5.5 (
kind: image). Let the person choose. Then a character sheet built from the chosen face: front, three-quarter, profile, talking, full body, as separate images, never a grid. - Places and props. A room plate and a phone prop with a flat green screen. If a shot needs the person in a wide view, make a still with the person already in the room rather than an empty room.
- Take. One Seedance 2.5 multi-shot generation for the whole video through Reference to Video (
kind: ref), at the 480p draft rate first. Seedance 2.5 Draft gives a task ID that Draft to Final can render at 1080p later. - Review.
ugc transcribeagainst the script (extra, missing or misheard words, watched brand terms), frame contact sheets, a check that every phone screen stayed green and nothing leaked from the references. - Edit.
ugc renderwith captions, then the app screen composited onto the green screens.
Running jobs
scripts/comfy_run.py sends API-format graphs to a running ComfyUI (default http://127.0.0.1:8188, override with COMFY_URL) and downloads the results. The comfy.org API key comes from COMFY_API_KEY or a macOS Keychain item (UGC_KEYCHAIN_SERVICE, default comfy-org-api-key). It is sent only to ComfyUI, inside extra_data.api_key_comfy_org, and is never printed or written to disk. Partner nodes bill your comfy.org credits.
python3 -I scripts/comfy_run.py examples/jobs.example.json
python3 -I scripts/comfy_run.py examples/jobs.example.json --only take_v1
Job kinds: image (Seedream), nb (Nano Banana), t2v, flf (first-last frame), ref (Reference to Video, images plus optional audio_refs), h3ref and h3ir (MiniMax H3 and its prompt rewriter), tts (ElevenLabs Text to Speech). Every job is logged to jobs.log.jsonl in the output folder, including draft task IDs.
Edit tools
python3 -I scripts/ugc.py <command>: segment renders with a cache, draft and final profiles, single-clip fixes, versions that are never overwritten, technical checks (format, loudness, black frames, freezes, silence), word-by-word captions, Whisper alignment, a dialogue pacing check and a progress log. See scripts/README.md. scripts/tools/retime_voice.py places a separately recorded voice line by line onto a clip's own speech timing.
Rules that matter most
- Invent every person. Never feed a real person's photo to a model, and never copy a face from a reference video. Reference screenshots of real creators are style references only.
- Anything published needs the disclosures your market requires: paid-content labels, AI-performer labels where the law asks for them, and no AI person presented as a real customer giving a testimonial (the US FTC rule on fake reviews and testimonials covers this).
- Check each model's licence for your market before you publish its output.
Requirements
ComfyUI 0.46 or later with partner nodes and comfy.org credits; Python 3.9+; ffmpeg; whisper.cpp (whisper-cli) with the large-v3-turbo model for transcription; macOS for the CoreText caption renderer and Keychain key storage.