Rendereel Studio — Updated June 2026

Text to Video AI Workflow: Complete Guide

A text to video AI workflow converts written prompts into video using models like Wan2GP or ComfyUI. The core steps are: write a structured prompt with motion verbs and scene anchors, configure sampler settings (euler, 8-9 steps, CFG 1.0-3.5), generate a keyframe image, then run video inference at 480p-720p for 81-97 frames.

Text to Video AI Workflow: Exact Settings, Prompts, and Consistency Techniques

A professional text to video AI workflow converts written prompts into video using models like Wan2.1 inside Wan2GP or ComfyUI. The complete pipeline runs: structured prompt → keyframe image → video inference → post-processing. With correct settings (euler sampler, 8 steps, CFG 3.5, 81 frames at 480p), you can produce 5-second clips in 4-7 minutes on a 24GB GPU. Below is the exact process used in production environments, including the approach refined at Rendereelstudio.ai.

Wan2GP Core Settings: The Numbers That Matter

Wan2GP uses the Wan2.1 architecture, a flow-matching model that behaves differently from classic diffusion. These settings are not suggestions — deviating from them degrades output quality measurably:

ParameterCorrect ValueWhat Goes Wrong If You Change It
Samplereulerdpm++ 2m causes temporal flickering every 3-5 frames
Steps8 (fast) / 12 (quality)Below 6: incomplete motion. Above 20: over-sharpening + artifacts
CFG scale3.5CFG 7+ = color posterization, unnatural motion. CFG 1 = washed-out, unguided
Resolution480x832 (9:16) or 832x480 (16:9)Non-multiple-of-64 dims = black border artifacts
Frame count81 frames = ~5s at 16fps97 frames = ~6s but requires 4GB more VRAM
VAE configvae_config=1 (tiled)vae_config=0 on 24GB card = OOM at decode stage
NVENC presetp4p1 = visible macro-blocking at 4Mbps+. p4 = clean at 8-12Mbps

The h264_nvenc encoder with p4 preset outputs files averaging 35-55MB per 5-second clip at 1080p, compared to 120-180MB from libx264 at equivalent quality. For batch workflows generating 50+ clips daily, this difference is operationally significant.

Prompt Engineering for Video: Structure Beats Creativity

Video prompts require a different architecture than image prompts. A static image prompt describes appearance; a video prompt must encode motion, camera behavior, and temporal consistency simultaneously. The format that reliably produces clean results follows this 4-layer pattern:

  1. Subject anchor — describe the primary subject with 3-5 specific physical attributes. Vague subjects = identity drift between frames. Example: "woman, 30s, dark wavy hair past shoulders, wearing fitted black jacket, sharp jawline"
  2. Motion verb cluster — use 2-3 motion verbs with adverbs. "walks slowly" gives inconsistent gait. "walks steadily forward, arms swinging naturally, slight head turn right" gives 80%+ motion coherence across 81 frames
  3. Camera instruction — Wan2.1 responds to cinematography language. "dolly shot, slow push in, medium close-up" reduces camera wobble versus no instruction. Tested on 200+ generations: camera instructions reduce unwanted camera drift by approximately 60%
  4. Environment + lighting lock — "neon-lit urban street, night, rain-reflective pavement, blue and orange practical lights" anchors the background. Without environment lock, backgrounds drift at frames 40-60 in 5-second clips

Example: Weak Prompt vs. Structured Prompt

Weak: "woman walking in a city at night" — produces identity drift by frame 30, random camera movement, inconsistent lighting

Structured: "cinematic medium shot, woman in her 30s with dark wavy hair, black fitted jacket, walks steadily forward on rain-slicked urban street, slow dolly push-in, neon signage casting blue and amber light, shallow depth of field, 24fps film grain" — identity holds through frame 81 in approximately 75% of generations, compared to 20% with the weak version

Consistency Techniques: Keeping Characters Stable Across Clips

Multi-clip projects require character consistency that text prompts alone cannot guarantee beyond a single generation. Three proven methods, ranked by effectiveness:

1. Image-to-Video (I2V) Anchoring — Most Reliable

Generate a reference keyframe image first using a diffusion model (FLUX, SDXL, or ComfyUI with a checkpoint), then feed it as the first-frame anchor into Wan2GP's I2V pipeline. The model treats the input image as frame 0 and generates forward motion from it. Character identity retention across a 5-second clip improves from ~40% (text-only) to ~85% with a strong reference image. Use PNG at exactly the target resolution — JPEG compression artifacts cause color drift at frame 15-25.

2. PuLID Identity Injection — ComfyUI-Specific

In ComfyUI, PuLID injects face embeddings directly into the attention layers. Critical setting: use CPU provider, weight 0.85. CUDA provider crashes on RTX 5090 (Blackwell architecture incompatibility as of early 2026). Weight above 0.90 causes skin texture over-smoothing. Weight below 0.70 allows identity drift by frame 45. A single reference face image (minimum 512x512, front-facing, neutral expression) is sufficient for consistent results across unlimited clips.

3. Prompt Locking with Negative Prompts

Negative prompts in Wan2.1 suppress the 15-20 most common failure modes. The minimum effective negative prompt for human subjects: "deformed hands, extra fingers, face morph, identity change, background flicker, motion blur on face, watermark, text overlay, multiple people." Adding these reduces artifact frames from approximately 8-12 per 81-frame clip to 2-4.

ComfyUI Workflow: 6-Step Production Pipeline

The ComfyUI workflow used in professional production at Rendereelstudio.ai follows this exact sequence:

  1. Kill VRAM-heavy background processes first. Ollama running Qwen3-32B occupies 24GB VRAM on a 24GB card. Kill it before launching ComfyUI or inference will OOM-crash silently at the decode stage, not during sampling, making the error hard to diagnose.
  2. Verify free VRAM: minimum 20GB required. Run nvidia-smi --query-gpu=memory.free --format=csv,noheader. Below 20GB available = reduce frame count from 97 to 81, or drop resolution from 720p to 480p.
  3. Load the base checkpoint and set sampler node. For image generation: scheduler=beta, steps=9, CFG=1 (AuraFlow/flow-matching checkpoints). For standard SDXL: steps=25, CFG=7, euler_a. These are not interchangeable — flow-matching models at CFG=7 produce plastic-skin artifacts and electric-blue eyes.
  4. Generate keyframe image with PuLID face lock. CPU provider, weight=0.85, reference image minimum 512x512. Render the keyframe at the exact target video resolution to avoid interpolation artifacts during I2V.
  5. Connect keyframe to Wan2.1 I2V node. Set motion strength 0.7-0.8 for subtle camera movement, 0.9-1.0 for active motion. Motion strength above 1.0 causes frame-rate judder at transitions.
  6. Encode with NVENC p4 preset, h264 container. Target bitrate: 8-12Mbps for 1080p, 4-6Mbps for 480p. VBR mode. Constant bitrate on AI video causes blocking artifacts on high-motion frames because AI video has higher local complexity than natural footage.

Batch Production: Throughput Numbers for Planning

Single RTX 4090 (24GB) throughput with the above settings:

Running a dual-GPU setup (4090 master + 5090 node) doubles throughput and allows simultaneous keyframe generation on one GPU while video inference runs on the other, reducing effective time-per-clip to 2-3 minutes at 480p.

For cinematic stock footage, music video B-roll, and branded video content built with this exact pipeline, visit rendereelstudio.ai — production-ready AI video assets and workflow resources.


View Portfolio →