Pika v2 2 text to video

From awesome-genmedia/skills · View interactive version

Pika v2 2 text to video is an AI agent skill from the GitHub repository awesome-genmedia/skills. Pika | v2.2 | Text to Video. Generate videos from text prompts with Pika v2.2. Triggers: text to video, pika, video generation, t2v

How to use this skill

Skill file

Pika | v2.2 | Text to Video

Generate videos from text prompts using Pika v2.2 with configurable aspect ratio, duration, and resolution up to 1080p.

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-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "a golden retriever running through a field of wildflowers",
      "aspect_ratio": "16:9",
      "duration": 5,
      "resolution": "720p"
    }
  }'

Parameters

| Parameter | Type | Default | Description |

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

| aspect_ratio | string | 16:9 | The aspect ratio of the generated video. enum: 16:9, 9:16, 1:1, 4:5, 5:4, 3:2, 2:3 |

| duration | integer | 5 | The duration of the generated video in seconds. |

| negative_prompt | string | ugly, bad, terrible | A negative prompt to guide the model. |

| prompt | string | | Text prompt describing the desired video. |

| resolution | string | 720p | The resolution of the generated video. enum: 1080p, 720p |

| seed | integer | | The seed for the random number generator. |

Examples

Cinematic scene:

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-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "cinematic drone shot over a medieval castle at dawn, fog rolling in",
      "aspect_ratio": "16:9",
      "duration": 5,
      "resolution": "1080p",
      "negative_prompt": "blurry, shaky, low quality, distorted"
    }
  }'

Vertical social media content:

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-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "a colorful smoothie being blended, ingredients falling in slow motion",
      "aspect_ratio": "9:16",
      "duration": 5,
      "resolution": "720p",
      "seed": 42
    }
  }'

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.