界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

pika-v2-2-image-to-video

pika-v2-2-image-to-video

【效率与协作】Pika | v2.2 | Image to Video. Animate images into videos with Pika v2.2. Triggers: image to video, pika, animation, i2v, video generation

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: pika-v2-2-image-to-video description: "Pika | v2.2 | Image to Video. Animate images into videos with Pika v2.2. Triggers: image to video, pika, animation, i2v, video generation" allowed-tools: Bash(curl *), WebFetch

Pika | v2.2 | Image to Video

Animate a single image into a video using Pika v2.2. Control duration, resolution, and use negative prompts to guide the output quality.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "pika-v2-2-image-to-video",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/sunset-beach.jpg",
      "prompt": "waves gently rolling onto the shore, seagulls flying",
      "duration": 5,
      "resolution": "720p"
    }
  }'

Parameters

ParameterTypeDefaultDescription
durationinteger5The duration of the generated video in seconds.
image_urlstringURL of the image to use as the first frame.
negative_promptstringA negative prompt to guide the model.
promptstringText prompt describing the desired motion.
resolutionstring720pThe resolution of the generated video. enum: 720p, 1080p
seedintegerThe seed for the random number generator.

Examples

1080p animation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "pika-v2-2-image-to-video",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/portrait.jpg",
      "prompt": "person slowly smiles and turns head slightly",
      "duration": 5,
      "resolution": "1080p",
      "negative_prompt": "blurry, distorted face, low quality"
    }
  }'

Nature scene animation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "pika-v2-2-image-to-video",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/waterfall.jpg",
      "prompt": "water cascading down, mist rising, birds flying past",
      "duration": 5,
      "resolution": "720p",
      "seed": 42
    }
  }'

Related Models

Documentation

我的收藏