FlashVSR_video_upscale API
Dùng FlashVSR_video_upscale để tạo Video qua API tương thích OpenAI.
Khả năng
- Mô hình
- Video
- Mô hình API
FlashVSR_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
CNY 1.0000 mỗi 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":"FlashVSR_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":"FlashVSR_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: 'FlashVSR_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.