Text to Video
Generate videos from text descriptions using each::sense — the intelligent AI agent that automatically selects the best model for your request.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
Using curl
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Generate a video: A golden retriever running through a sunlit meadow of wildflowers, slow motion, cinematic, shallow depth of field, warm afternoon light, camera tracking alongside the dog"
}
],
"stream": false
}'
Using Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EACHLABS_API_KEY",
base_url="https://eachsense-agent.core.eachlabs.run/v1"
)
response = client.chat.completions.create(
model="eachsense/beta",
messages=[{
"role": "user",
"content": "Generate a video: A golden retriever running through a sunlit meadow of wildflowers, slow motion, cinematic, shallow depth of field, warm afternoon light, camera tracking alongside the dog"
}]
)
print(response.choices[0].message.content)
Streaming
Set "stream": true for real-time Server-Sent Events (SSE) responses, or "stream": false to receive the complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
Prompt Structure
Generate a video: [subject] + [action] + [environment] + [style] + [camera movement] + [lighting]
Camera Movement Keywords
| Movement |
Description |
Use For |
| Static shot |
Camera does not move |
Portraits, product display |
| Pan left/right |
Horizontal camera rotation |
Revealing environments |
| Tilt up/down |
Vertical camera rotation |
Revealing tall structures |
| Dolly in/out |
Camera moves toward/away |
Dramatic focus shifts |
| Tracking shot |
Camera follows subject |
Action, movement sequences |
| Crane shot |
Rising or descending movement |
Epic establishing shots |
| Orbit |
Camera circles the subject |
360-degree reveals, products |
| Zoom in/out |
Focal length change |
Emphasis, dramatic reveals |
| Handheld |
Slightly shaky, natural feel |
Documentary, intimate |
| Drone shot |
Aerial perspective |
Landscapes, establishing |
Style Keywords
| Style |
Keywords |
| Cinematic |
cinematic, film look, anamorphic, 24fps, shallow DOF |
| Photorealistic |
photorealistic, real footage, DSLR video, natural |
| Animated |
3D animation, cartoon, anime, cel animation |
| Abstract |
abstract motion, fluid simulation, particle effects |
| Vintage |
Super 8, VHS, film grain, retro, old footage |
| Slow Motion |
slow motion, 120fps, bullet time |
Examples
Cinematic Nature Shot
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Generate a video: Aerial drone shot slowly rising over a misty mountain forest at sunrise, revealing snow-capped peaks in the distance, golden light breaking through clouds, cinematic 4K, smooth camera movement, epic landscape"
}
],
"stream": false
}'
Product Showcase
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Generate a video: A sleek black smartwatch rotating slowly on a reflective dark surface, studio lighting with soft highlights, camera orbiting 360 degrees, premium product commercial style, clean minimal background"
}
],
"stream": false
}'
Abstract Motion Graphics
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Generate a video: Abstract fluid simulation of metallic gold and deep blue liquids merging and swirling together, macro close-up, mesmerizing slow movement, reflective surfaces, dark background, satisfying visual"
}
],
"stream": false
}'
Character Animation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Generate a video: A samurai warrior drawing a katana in a bamboo forest, cherry blossom petals falling in slow motion, dramatic side lighting, anime-inspired cinematic style, camera slowly pushing in, atmospheric fog"
}
],
"stream": false
}'
Prompt Tips
- One action per clip: AI video works best with a single, clear action rather than complex sequences
- Specify camera movement: Without it, you may get a static or randomly moving camera
- Include lighting: "golden hour," "studio lighting," "neon glow" dramatically shapes the mood
- Keep duration realistic: Current AI video models produce short clips (3-10 seconds)
- Describe motion explicitly: "walking slowly," "rotating 360 degrees," "rising upward"
- Add "smooth" or "fluid": Helps avoid jerky or unnatural movement
Video Planning Workflow
For longer sequences, generate individual shots and edit together:
# Shot 1: Establishing
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a video: Wide establishing shot of a futuristic city skyline at dusk, flying vehicles crossing the sky, neon lights turning on, drone camera slowly descending, cyberpunk, cinematic"}],
"stream": false
}'
# Shot 2: Medium shot
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a video: Medium shot of a woman in a futuristic jacket walking through a neon-lit street market, rain reflecting neon signs, camera tracking from the side, cyberpunk, cinematic"}],
"stream": false
}'
# Shot 3: Close-up
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a video: Close-up of a woman looking up in wonder, neon reflections on her face, rain drops, shallow depth of field, camera slowly pushing in, cyberpunk, cinematic"}],
"stream": false
}'
Related Skills
Related Models
Documentation
1---2name: text-to-video3description: Generate videos from text descriptions using each::sense AI. Create short video clips, animated scenes, cinematic shots, and motion content from text prompts. Supports photorealistic, animated, and stylized video generation with camera movements and transitions. Use for: video content creation, social media clips, concept visualization, storyboard animation, motion design, creative exploration. Triggers: text to video, generate video, create video, ai video, video generation, txt2vid, prompt to video, ai animation, video from text, ai clip, motion generation4---56# Text to Video78Generate videos from text descriptions using [each::sense](https://docs.eachlabs.ai/sense/overview) — the intelligent AI agent that automatically selects the best model for your request.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314### Using curl1516```bash17curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \18 -H "Content-Type: application/json" \19 -H "X-API-Key: $EACHLABS_API_KEY" \20 -d '{21 "messages": [22 {23 "role": "user",24 "content": "Generate a video: A golden retriever running through a sunlit meadow of wildflowers, slow motion, cinematic, shallow depth of field, warm afternoon light, camera tracking alongside the dog"25 }26 ],27 "stream": false28 }'29```3031### Using Python (OpenAI SDK)3233```python34from openai import OpenAI3536client = OpenAI(37 api_key="YOUR_EACHLABS_API_KEY",38 base_url="https://eachsense-agent.core.eachlabs.run/v1"39)4041response = client.chat.completions.create(42 model="eachsense/beta",43 messages=[{44 "role": "user",45 "content": "Generate a video: A golden retriever running through a sunlit meadow of wildflowers, slow motion, cinematic, shallow depth of field, warm afternoon light, camera tracking alongside the dog"46 }]47)4849print(response.choices[0].message.content)50```5152### Streaming5354Set `"stream": true` for real-time Server-Sent Events (SSE) responses, or `"stream": false` to receive the complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.5556## Prompt Structure5758```59Generate a video: [subject] + [action] + [environment] + [style] + [camera movement] + [lighting]60```6162## Camera Movement Keywords6364| Movement | Description | Use For |65|----------|-------------|---------|66| **Static shot** | Camera does not move | Portraits, product display |67| **Pan left/right** | Horizontal camera rotation | Revealing environments |68| **Tilt up/down** | Vertical camera rotation | Revealing tall structures |69| **Dolly in/out** | Camera moves toward/away | Dramatic focus shifts |70| **Tracking shot** | Camera follows subject | Action, movement sequences |71| **Crane shot** | Rising or descending movement | Epic establishing shots |72| **Orbit** | Camera circles the subject | 360-degree reveals, products |73| **Zoom in/out** | Focal length change | Emphasis, dramatic reveals |74| **Handheld** | Slightly shaky, natural feel | Documentary, intimate |75| **Drone shot** | Aerial perspective | Landscapes, establishing |7677## Style Keywords7879| Style | Keywords |80|-------|----------|81| **Cinematic** | cinematic, film look, anamorphic, 24fps, shallow DOF |82| **Photorealistic** | photorealistic, real footage, DSLR video, natural |83| **Animated** | 3D animation, cartoon, anime, cel animation |84| **Abstract** | abstract motion, fluid simulation, particle effects |85| **Vintage** | Super 8, VHS, film grain, retro, old footage |86| **Slow Motion** | slow motion, 120fps, bullet time |8788## Examples8990### Cinematic Nature Shot9192```bash93curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \94 -H "Content-Type: application/json" \95 -H "X-API-Key: $EACHLABS_API_KEY" \96 -d '{97 "messages": [98 {99 "role": "user",100 "content": "Generate a video: Aerial drone shot slowly rising over a misty mountain forest at sunrise, revealing snow-capped peaks in the distance, golden light breaking through clouds, cinematic 4K, smooth camera movement, epic landscape"101 }102 ],103 "stream": false104 }'105```106107### Product Showcase108109```bash110curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \111 -H "Content-Type: application/json" \112 -H "X-API-Key: $EACHLABS_API_KEY" \113 -d '{114 "messages": [115 {116 "role": "user",117 "content": "Generate a video: A sleek black smartwatch rotating slowly on a reflective dark surface, studio lighting with soft highlights, camera orbiting 360 degrees, premium product commercial style, clean minimal background"118 }119 ],120 "stream": false121 }'122```123124### Abstract Motion Graphics125126```bash127curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \128 -H "Content-Type: application/json" \129 -H "X-API-Key: $EACHLABS_API_KEY" \130 -d '{131 "messages": [132 {133 "role": "user",134 "content": "Generate a video: Abstract fluid simulation of metallic gold and deep blue liquids merging and swirling together, macro close-up, mesmerizing slow movement, reflective surfaces, dark background, satisfying visual"135 }136 ],137 "stream": false138 }'139```140141### Character Animation142143```bash144curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \145 -H "Content-Type: application/json" \146 -H "X-API-Key: $EACHLABS_API_KEY" \147 -d '{148 "messages": [149 {150 "role": "user",151 "content": "Generate a video: A samurai warrior drawing a katana in a bamboo forest, cherry blossom petals falling in slow motion, dramatic side lighting, anime-inspired cinematic style, camera slowly pushing in, atmospheric fog"152 }153 ],154 "stream": false155 }'156```157158## Prompt Tips159160- **One action per clip**: AI video works best with a single, clear action rather than complex sequences161- **Specify camera movement**: Without it, you may get a static or randomly moving camera162- **Include lighting**: "golden hour," "studio lighting," "neon glow" dramatically shapes the mood163- **Keep duration realistic**: Current AI video models produce short clips (3-10 seconds)164- **Describe motion explicitly**: "walking slowly," "rotating 360 degrees," "rising upward"165- **Add "smooth" or "fluid"**: Helps avoid jerky or unnatural movement166167## Video Planning Workflow168169For longer sequences, generate individual shots and edit together:170171```bash172# Shot 1: Establishing173curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \174 -H "Content-Type: application/json" \175 -H "X-API-Key: $EACHLABS_API_KEY" \176 -d '{177 "messages": [{"role": "user", "content": "Generate a video: Wide establishing shot of a futuristic city skyline at dusk, flying vehicles crossing the sky, neon lights turning on, drone camera slowly descending, cyberpunk, cinematic"}],178 "stream": false179 }'180181# Shot 2: Medium shot182curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \183 -H "Content-Type: application/json" \184 -H "X-API-Key: $EACHLABS_API_KEY" \185 -d '{186 "messages": [{"role": "user", "content": "Generate a video: Medium shot of a woman in a futuristic jacket walking through a neon-lit street market, rain reflecting neon signs, camera tracking from the side, cyberpunk, cinematic"}],187 "stream": false188 }'189190# Shot 3: Close-up191curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \192 -H "Content-Type: application/json" \193 -H "X-API-Key: $EACHLABS_API_KEY" \194 -d '{195 "messages": [{"role": "user", "content": "Generate a video: Close-up of a woman looking up in wonder, neon reflections on her face, rain drops, shallow depth of field, camera slowly pushing in, cyberpunk, cinematic"}],196 "stream": false197 }'198```199200## Related Skills201202- [Image to Video](../image-to-video/SKILL.md) — Animate still images203- [AI Cinematic Trailer](../ai-cinematic-trailer/SKILL.md) — Movie-style trailers204- [AI Video Loop](../ai-video-loop/SKILL.md) — Seamless looping videos205- [AI Slow Motion](../ai-slow-motion/SKILL.md) — Slow motion effects206207## Related Models208209- [wan-2-1-14b](../../../models/wan-2-1-14b/SKILL.md) — High quality video generation210- [hailuo-minimax-video-01](../../../models/hailuo-minimax-video-01/SKILL.md) — Fast video generation211212## Documentation213214- [each::sense Overview](https://docs.eachlabs.ai/sense/overview)215- [each::labs API](https://docs.eachlabs.ai)