VideoAlibabaMới

Wan 2.6

Wan mới nhất, điện ảnh và linh hoạt

model: "wan-2-6"

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

Đầu vào

Bắt buộc

Prompt

Tùy chọn

First frame to animate (image-to-video). Leave it out for text-to-video.

Tùy chọn
5

Duration (seconds)

Tùy chọn

Aspect Ratio

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

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

Let the model expand a short prompt before generating.

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": "wan-2-6",
  "input": {
    "prompt": "A dust devil lifts loose hay from a freshly cut Provence field and carries the golden vortex between two stone barn walls. Camera drifts handheld, following the spiral with slight sway, sunlight filtering through the spinning column. Hay strands orbit and rise, casting fast-moving shadows on worn limestone. Warm afternoon light, dry summer air, the vortex fraying at its peak as it crosses the frame."
  }
}'