hailuo-h3-t2v API
Dùng hailuo-h3-t2v để tạo Video qua API tương thích OpenAI.
Khả năng
- Mô hình
- Video
- Mô hình API
hailuo-h3-t2v- Điểm cuối
- openai
- Tham số
- thời lượng, độ phân giải, tỷ lệ khung hình, tệp tham chiếu
Giá hiện tại
Giá thay đổi theo tham số yêu cầu.
Bắt đầu nhanh
curl https://api.seedance.nz/v1/chat/completions \
-H "Authorization: Bearer $SEEDANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"hailuo-h3-t2v","prompt":"A clear description of the scene"}'import os, requests
response = requests.post("https://api.seedance.nz/v1/chat/completions", headers={"Authorization": f"Bearer {os.environ['SEEDANCE_API_KEY']}"}, json={"model":"hailuo-h3-t2v","prompt":"A clear description of the scene"})const response = await fetch('https://api.seedance.nz/v1/chat/completions', { method: 'POST', headers: { Authorization: 'Bearer ' + process.env.SEEDANCE_API_KEY, 'Content-Type': 'application/json' }, body: JSON.stringify({ model: 'hailuo-h3-t2v', prompt: 'A clear description of the scene' }) });Câu hỏi thường gặp
Gọi mô hình này như thế nào?
Tạo API key, dùng tên mô hình bên dưới và gửi yêu cầu tới endpoint tương thích OpenAI trong tài liệu.