vosr2 API
Dùng vosr2 để tạo Video qua API tương thích OpenAI.
Khả năng
- Mô hình
- Video
- Mô hình API
vosr2-video-upscale- Đ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
vosr2-video-upscale: ¥1.00 mỗi yêu cầu
Các biến thể mô hình
| Mô hình API | Mục đích | Giá hiện tại |
|---|---|---|
vosr2-video-upscale | Nâng độ phân giải | ¥1.00 mỗi yêu cầu |
Ví dụ trong thư viện
Chưa có ví dụ được xuất bản cho mô hình này.
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":"vosr2-video-upscale","prompt":"A clear description of the scene","metadata":{"video_url":["https://cdn.example.com/reference.mp4"]}}'import os, requests
response = requests.post("https://api.seedance.nz/v1/chat/completions", headers={"Authorization": f"Bearer {os.environ['SEEDANCE_API_KEY']}"}, json={"model":"vosr2-video-upscale","prompt":"A clear description of the scene",**{"metadata":{"video_url":["https://cdn.example.com/reference.mp4"]}}})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: 'vosr2-video-upscale', prompt: 'A clear description of the scene', metadata: { video_url: ['https://cdn.example.com/reference.mp4'] } }) });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.