Image to video

From awesome-genmedia/skills · View interactive version

Image to video is an AI agent skill from the GitHub repository awesome-genmedia/skills. Animate still images into videos using each::sense AI. Bring photographs, illustrations, and artwork to life with motion, camera movements, and environmental effects. Transform static images into dynamic video clips with natural movement and cinematic quality. Use for: photo animation, artwork anima

How to use this skill

Skill file

Image to Video

Animate still images into dynamic video clips 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": [
              {"type": "text", "text": "Animate this image: gentle wind blowing through the trees, leaves rustling, clouds drifting slowly across the sky, subtle camera push-in, cinematic, natural motion"},
              {"type": "image_url", "image_url": {"url": "https://example.com/landscape-photo.jpg"}}
            ]
          }
    ],
    "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": "Animate this image: gentle wind blowing through the trees, leaves rustling, clouds drifting slowly across the sky, subtle camera push-in, cinematic, natural motion"
    }],
    # Images are included in the message content array above
)

print(response.choices[0].message.content)

Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.

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.

Motion Types

| Motion | Description | Best Image Types |

|--------|-------------|-----------------|

| Environment Motion | Wind, water, clouds, fire | Landscapes, nature shots |

| Camera Movement | Pan, zoom, orbit, push-in | Any static scene |

| Character Motion | Walking, turning, blinking | Portraits, character art |

| Particle Effects | Snow, rain, petals, sparks | Outdoor scenes, moody shots |

| Subtle Animation | Hair movement, fabric sway | Fashion, portraits |

| Parallax | 2.5D depth movement | Illustrations, layered scenes |

Examples

Portrait 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": [
              {"type": "text", "text": "Animate this portrait: the person slowly turns their head to face the camera, a subtle smile appears, hair moves gently as if in a light breeze, natural blinking, soft lighting remains consistent, cinematic"},
              {"type": "image_url", "image_url": {"url": "https://example.com/portrait.jpg"}}
            ]
          }
    ],
    "stream": false
  }'

Ocean Scene

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": [
              {"type": "text", "text": "Animate this beach photo: ocean waves rolling in and crashing on the shore, foam sliding up the sand, seagulls flying in the background, palm trees swaying in wind, camera static, ambient natural motion"},
              {"type": "image_url", "image_url": {"url": "https://example.com/beach-sunset.jpg"}}
            ]
          }
    ],
    "stream": false
  }'

Illustration to 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": [
              {"type": "text", "text": "Animate this fantasy illustration: the dragon spreads its wings slowly, fire flickers from torches on the castle walls, clouds drift behind the mountains, magical sparkles float in the air, smooth animation, maintain the artistic style"},
              {"type": "image_url", "image_url": {"url": "https://example.com/fantasy-castle.jpg"}}
            ]
          }
    ],
    "stream": false
  }'

Product Reveal

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": [
              {"type": "text", "text": "Animate this product photo: camera slowly orbits around the product, studio lighting highlights shift as the angle changes, reflections move on the surface, premium commercial feel, smooth 360-degree rotation"},
              {"type": "image_url", "image_url": {"url": "https://example.com/product-hero.jpg"}}
            ]
          }
    ],
    "stream": false
  }'

Prompt Tips

Image Selection Tips

Best images for animation:

Challenging images:

Related Skills

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.