视频Pika新增

Pika 2.2

风格化Pika视频,七种宽高比,720p/1080p

model: "pika-v2-2"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "pika-v2-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.200
图像生成视频image_url
请求示例
{
  "model": "pika-v2-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.200

输入

必需

Prompt

可选

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

可选
5

Duration (seconds)

可选

Aspect Ratio

可选

Resolution

高级选项 (2)

主要控件之外的提供商设置。保持为空可使用模型的默认值。

可选

What the result should avoid.

可选

Random seed. The same seed and input reproduce the same result.

结果

示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "pika-v2-2",
  "input": {
    "prompt": "Aerial view tilting slowly downward toward a circular rose trial garden in full bloom on a flat research farm, concentric rings of deep red, blush, cream, and coral converging on a central sundial. The slow tilt down flattens perspective from an oblique angle to nearly overhead, compressing the rings into tighter geometry. A light breeze moves through the outermost ring, sending a ripple of nodding blooms inward toward the center."
  }
}'