VideoPikaMới

Pika 2.2

Video Pika phong cách, bảy tỷ lệ khung hình, 720p/1080p

model: "pika-v2-2"

Tài liệu APITài liệu dành cho agents

Các chế độ

Một ID mô hình, mọi chế độ bên dưới. Các trường bạn gửi chọn chế độ, và giá theo chế độ.

Chế độĐược chọn bằngGiá điển hình
Từ văn bản sang videoprompt
Yêu cầu ví dụ
{
  "model": "pika-v2-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.200
Từ hình ảnh sang videoimage_url
Yêu cầu ví dụ
{
  "model": "pika-v2-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.200

Đầu vào

Bắt buộc

Prompt

Tùy chọn

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

Tùy chọn
5

Duration (seconds)

Tùy chọn

Aspect Ratio

Tùy chọn

Resolution

Tùy chọn nâng cao (2)

Cài đặt nhà cung cấp ngoài các điều khiển chính. Để trống để sử dụng các giá trị mặc định của mô hình.

Tùy chọn

What the result should avoid.

Tùy chọn

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

Kết quả

Kết quả mẫu

Kết quả thực từ mô hình này. Chạy để xem kết quả của bạn ở đây.

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."
  }
}'