twha Video Generation Model
Discover the twha Video Generation Model, a powerful tool for creating short, dynamic videos from text or images. Try it now and see the results!
🚀Function Overview
Generates short videos (1-5 seconds) from textual prompts and optional starting images, with adjustable quality and stylistic controls.
Key Features
- Text-driven video generation
- Image-based video initiation
- LoRA strength adjustment for model and CLIP
- Aspect ratio and resolution configuration
- Frame count control (1-5 second videos)
- Speed/quality trade-off via fast modes
- Seed-based reproducibility
Use Cases
- •Creating animated sequences from text descriptions
- •Transforming still images into short video clips
- •Generating social media content visuals
- •Prototyping motion graphics from concepts
- •Producing stylized animations with LoRA controls
⚙️Input Parameters
prompt
stringText prompt for video generation
negative_prompt
stringThings you do not want to see in your video
image
stringImage to use as a starting frame for image to video generation.
aspect_ratio
stringThe aspect ratio of the video. 16:9, 9:16, 1:1, etc.
frames
integerThe number of frames to generate (1 to 5 seconds)
resolution
stringThe resolution of the video. 720p is not supported for 1.3b.
lora_strength_model
numberStrength of the LORA applied to the model. 0.0 is no LORA.
lora_strength_clip
numberStrength of the LORA applied to the CLIP model. 0.0 is no LORA.
fast_mode
stringSpeed up generation with different levels of acceleration. Faster modes may degrade quality somewhat. The speedup is dependent on the content, so different videos may see different speedups.
sample_steps
integerNumber of generation steps. Fewer steps means faster generation, at the expensive of output quality. 30 steps is sufficient for most prompts
sample_guide_scale
numberHigher guide scale makes prompt adherence better, but can reduce variation
sample_shift
numberSample shift factor
seed
integerSet a seed for reproducibility. Random by default.
💡Usage Examples
Example 1
Input Parameters
{ "frames": 81, "prompt": "twha . wearing an unbuttoned men's dress shirt and panties is walking through a kitchen. she holds her morning coffee mug in her hands. as she walks the unbuttoned shirt sways with her movement, teasing the viewer with a glimpse of her breasts. the scene is almost like a fantasy you have in a dream of a woman you want to be with. set in a modern cozy kitchen.", "fast_mode": "Balanced", "resolution": "720p", "aspect_ratio": "16:9", "sample_shift": 8, "sample_steps": 30, "negative_prompt": "", "lora_strength_clip": 1, "sample_guide_scale": 5, "lora_strength_model": 1 }
Quick Actions
Technical Specifications
- Hardware Type
- H100
- Run Count
- 3
- Commercial Use
- Unknown/Restricted
- Platform
- Replicate