L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

pika-v2-2-text-to-video

pika-v2-2-text-to-video

Pika | v2.2 | Text to Video. Generate videos from text prompts with Pika v2.2. Triggers: text to video, pika, video generation, t2v

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: pika-v2-2-text-to-video description: "Pika | v2.2 | Text to Video. Generate videos from text prompts with Pika v2.2. Triggers: text to video, pika, video generation, t2v" allowed-tools: Bash(curl *), WebFetch

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

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the generated video. enum: 16:9, 9:16, 1:1, 4:5, 5:4, 3:2, 2:3
durationinteger5The duration of the generated video in seconds.
negative_promptstringugly, bad, terribleA negative prompt to guide the model.
promptstringText prompt describing the desired video.
resolutionstring720pThe resolution of the generated video. enum: 1080p, 720p
seedintegerThe 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

Skills enregistrées