image-to-video について
image-to-videoは、each::senseで静止画を動画に変換するクリエイティブスキルです。ポートレートや商品紹介などの動きを加えられ、セッションを使って調整できます。
主な機能
- 01写真やポートレートのアニメーション
- 02Ken Burnsのパンとズーム
- 03部分的なループアニメーション
- 04商品やロゴのアニメーション
- 05視差による奥行きと風景の動き
活用シーン
- 01ポートレートに自然な動きを加える
- 02一部だけ動くループ映像の作成
- 03EC向け商品紹介動画の制作
- 04SNS画像のアニメーション化
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill image-to-videoインストール後、Claude Code で/image-to-videoを入力して読み込まれたか確認します。
同梱ファイルreferences/SSE-EVENTS.md
詳細
画像から動画へのアニメーション
each::sense を使って、静止画像を魅力的な動画に変換します。このスキルでは、自然な動き、ケン・バーンズ効果、シネマグラフ、映画のようなカメラワークで静止画をアニメーション化します。
特長
- 写真のアニメーション化:静止写真にリアルな動きを加えて、生き生きと表現します
- ケン・バーンズ効果:ストーリーテリングに使える、滑らかなパンとズームの動きを加えます
- シネマグラフの作成:特定の範囲にさりげないループアニメーションを作成します
- 製品紹介:360 度回転風のダイナミックな製品プレゼンテーションを作成します
- ポートレートのアニメーション化:自然な顔の動きや表情を加えます
- 風景のアニメーション化:動く雲、流れる水、揺れる木々を表現します
- パララックス 3D 効果:奥行きに基づく動きを加え、没入感のある映像を作成します
- ロゴのアニメーション化:静止ロゴにブランドにふさわしい動きを加えます
- アートのアニメーション化:絵画や作品に命を吹き込みます
- ソーシャルメディア向けのモーション:エンゲージメントを高める、目を引くアニメーションコンテンツを作成します
クイックスタート
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this photo with subtle natural movement, make it feel alive"}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/photo.jpg"],
"mode": "max"
}'
ユースケースの例
1. 静止写真のアニメーション化
静止写真に自然な動きを加えて、生きた一瞬へと変換します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this photo with gentle, natural movement. Add subtle motion like hair moving slightly, clothes flowing, and ambient movement. Keep it realistic and cinematic, 5 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/portrait-photo.jpg"],
"mode": "max"
}'
2. ケン・バーンズ効果(パン/ズーム)
ストーリーテリングに使える、ドキュメンタリー風のパンとズームの動きを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Apply Ken Burns effect to this image. Start zoomed out showing the full scene, then slowly zoom into the main subject in the center. Smooth, cinematic movement over 8 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/landscape-scene.jpg"],
"mode": "max"
}'
3. シネマグラフの作成
動きを特定の範囲に限定した、魅惑的なループアニメーションを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a cinemagraph from this coffee shop image. Keep the person still but animate only the steam rising from the coffee cup. Create a seamless loop, 3 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/coffee-shop.jpg"],
"mode": "max"
}'
4. 製品紹介アニメーション
回転や出現する動きを加えた、ダイナミックな製品プレゼンテーションを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this product photo into a showcase video. Add subtle camera orbit movement around the product, dramatic lighting transitions, and a premium feel. 6 seconds, perfect for e-commerce."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/product-watch.jpg"],
"mode": "max"
}'
5. ポートレートのアニメーション化(さりげない動き)
ポートレート写真に、自然でさりげない動きを加えます。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this portrait with very subtle, natural movement. Add gentle breathing motion, slight eye movement, and micro-expressions. Keep it realistic and not exaggerated - like a living photograph. 4 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/headshot.jpg"],
"mode": "max"
}'
6. 風景のアニメーション化(雲、水)
環境の動きを加えて、自然の風景に命を吹き込みます。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this landscape photo. Make the clouds drift slowly across the sky, add gentle ripples to the lake water, and subtle movement in the trees from a light breeze. Peaceful, serene mood. 10 seconds loop."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/mountain-lake.jpg"],
"mode": "max"
}'
7. パララックス 3D 効果の動画
奥行きに基づく動きを加えて、没入感のある 3D の雰囲気を作り出します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a 3D parallax effect video from this image. Separate the foreground, midground, and background layers and move them at different speeds to create depth. Subtle camera drift that reveals the 3D space. 5 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/street-scene.jpg"],
"mode": "max"
}'
8. 静止ロゴからのアニメーション作成
静止ロゴをアニメーション付きのイントロに変換します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this logo for a video intro. Create a smooth reveal animation - the logo assembles or fades in with elegant motion. Add subtle shine or glow effect. Professional and modern style. 3 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/company-logo.png"],
"mode": "max"
}'
9. アートのアニメーション化(絵画に命を吹き込む)
芸術的な動きを加えて、作品や絵画に命を吹き込みます。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this painting and bring it to life. Add flowing motion to the water in the scene, make the figures move subtly, and add atmospheric effects like floating particles or shifting light. Maintain the painterly style. 8 seconds."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/oil-painting.jpg"],
"mode": "max"
}'
10. ソーシャルメディア向けモーショングラフィックス
ソーシャルメディアでスクロールする手を止める、目を引くアニメーションコンテンツを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Turn this static social media graphic into an eye-catching animated post. Add dynamic motion to the elements - pulsing, floating, or sliding effects. Make it loop seamlessly for Instagram. High energy, attention-grabbing. 3 seconds loop."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/social-graphic.png"],
"mode": "max"
}'
モードの選択
| モード | 最適な用途 | 速度 | 品質 |
|---|---|---|---|
max | 最終動画、クライアントへの納品物、高品質なアニメーション | 遅い | 最高 |
eco | クイックプレビュー、コンセプトのテスト、一括処理 | 速い | 良好 |
複数ターンでのクリエイティブな反復
session_id を使って、アニメーションを反復調整します。
# Initial 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" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Animate this beach photo with waves and palm trees moving"}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/beach.jpg"],
"session_id": "beach-animation-001"
}'
# Iterate based on feedback
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Make the waves more dramatic and add some birds flying in the sky"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "beach-animation-001"
}'
# Request a variation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a sunset version with golden hour lighting"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "beach-animation-001"
}'
アニメーションのヒント
自然な動きにするには
- 呼吸、髪、服など、具体的な動きの種類を指定します
- 雰囲気(落ち着いた、エネルギッシュ、ドラマチックなど)を指定します
- 適切な長さにします(多くの場合、3~10 秒)
シネマグラフの場合
- 動かす要素を具体的に指定します
- 継ぎ目のないループを指定します
- 動かす範囲は小さく、特定の場所に限定します
ケン・バーンズ効果の場合
- 開始時と終了時のフレーミングを指定します
- ズームの方向(イン/アウト)とパンの方向を指定します
- 動きを滑らかにするには、長めの時間を設定します
製品ショットの場合
- カメラを周回または回転させる動きを指定します
- 照明の強化を依頼します
- 用途(e コマース、ソーシャルメディア、広告など)を指定します
プロンプトのヒント
アニメーションを作成する際は、次の詳細を含めます。
- 動きの種類:どのような動きにするか(さりげない、ドラマチック、流れるような動き)
- 長さ:動画の長さ(通常は 3~10 秒)
- ループ:継ぎ目なくループさせるかどうか
- 注目する範囲:動かす要素と静止させる要素
- スタイル:映画風、プロフェッショナル、遊び心のあるものなど
- 用途:ソーシャルメディア、広告、ウェブサイト、プレゼンテーション
プロンプトの構成例
"Animate this [image type] with [motion description].
[Specific elements to animate].
[Style/mood]. [Duration] seconds.
[Additional requirements like looping, aspect ratio]."
エラー処理
| エラー | 原因 | 解決策 |
|---|---|---|
Failed to create prediction: HTTP 422 | 残高不足 | eachlabs.ai でチャージしてください |
| 画像にアクセスできない | URL が無効、または非公開 | 誰でもアクセスできる画像 URL を使います |
| タイムアウト | アニメーションが複雑 | クライアントのタイムアウトを最低 10 分に設定します |
| コンテンツポリシー違反 | 禁止コンテンツ | ポリシーに準拠するよう、画像またはプロンプトを調整します |
クライアントのタイムアウト要件
動画の生成には、複雑さや長さによって数分かかる場合があります。HTTP クライアントは次のように設定してください。
- 最小タイムアウト:10 分(600 秒)
- 推奨:長めの動画の場合は 15 分
関連スキル
each-sense- コア API ドキュメントと SSE イベントのリファレンスmeta-ad-creative-generation- Meta プラットフォーム向けのアニメーション広告product-photo-generation- アニメーション用のソース画像video-generation- テキストからの動画生成
コメント
Markdown 対応