VideoxAIMới

Grok Video

Grok Imagine chuyển đổi văn bản và hình ảnh thành video

model: "grok-video"

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": "grok-video",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.300
Từ hình ảnh sang videoimage_url
Yêu cầu ví dụ
{
  "model": "grok-video",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.300

Đầ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
6

Duration (seconds)

Tùy chọn

Resolution

Tùy chọn

Aspect Ratio

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": "grok-video",
  "input": {
    "prompt": "Subterranean city carved into a hollow asteroid rotating for gravity, skyscrapers pointing inward toward a central fusion lamp, camera orbiting clockwise at mid-city altitude, the lamp'\''s pale blue light pulsing imperceptibly brighter as the orbit progresses, atmospheric haze thickening near the curved far wall, tiny transit shuttles arcing between towers, hard sci-fi aesthetic with physically plausible lighting and material detail."
  }
}'