cURL
curl https://ai.alad.com/volc/asset/CreateAsset \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "volc-asset-video",
"GroupId": "group-20260319072926-rrnmg",
"Name": "scene-clip",
"AssetType": "Video",
"URL": "https://example.com/video.mp4"
}'import requests
url = "https://ai.alad.com/volc/asset/CreateAsset"
payload = {
"GroupId": "group-20260319072926-rrnmg",
"AssetType": "Video",
"URL": "https://example.com/video.mp4",
"model": "volc-asset-video",
"Name": "scene-clip"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
GroupId: 'group-20260319072926-rrnmg',
AssetType: 'Video',
URL: 'https://example.com/video.mp4',
model: 'volc-asset-video',
Name: 'scene-clip'
})
};
fetch('https://ai.alad.com/volc/asset/CreateAsset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ai.alad.com/volc/asset/CreateAsset",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'GroupId' => 'group-20260319072926-rrnmg',
'AssetType' => 'Video',
'URL' => 'https://example.com/video.mp4',
'model' => 'volc-asset-video',
'Name' => 'scene-clip'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ai.alad.com/volc/asset/CreateAsset"
payload := strings.NewReader("{\n \"GroupId\": \"group-20260319072926-rrnmg\",\n \"AssetType\": \"Video\",\n \"URL\": \"https://example.com/video.mp4\",\n \"model\": \"volc-asset-video\",\n \"Name\": \"scene-clip\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ai.alad.com/volc/asset/CreateAsset")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"GroupId\": \"group-20260319072926-rrnmg\",\n \"AssetType\": \"Video\",\n \"URL\": \"https://example.com/video.mp4\",\n \"model\": \"volc-asset-video\",\n \"Name\": \"scene-clip\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ai.alad.com/volc/asset/CreateAsset")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"GroupId\": \"group-20260319072926-rrnmg\",\n \"AssetType\": \"Video\",\n \"URL\": \"https://example.com/video.mp4\",\n \"model\": \"volc-asset-video\",\n \"Name\": \"scene-clip\"\n}"
response = http.request(request)
puts response.read_body{
"Id": "asset-20260320120147-pqwhc"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Seedance 2.0 素材管理
Seedance 素材 — 创建视频素材
上传视频到已有素材组,返回的素材 ID 可在 Seedance 2.0 请求中以 asset://<ID> 格式引用,用于视频参考、延长等场景。支持 mp4/mov 格式,≤50 MB,时长 2–15 秒。
POST
/
volc
/
asset
/
CreateAsset
cURL
curl https://ai.alad.com/volc/asset/CreateAsset \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "volc-asset-video",
"GroupId": "group-20260319072926-rrnmg",
"Name": "scene-clip",
"AssetType": "Video",
"URL": "https://example.com/video.mp4"
}'import requests
url = "https://ai.alad.com/volc/asset/CreateAsset"
payload = {
"GroupId": "group-20260319072926-rrnmg",
"AssetType": "Video",
"URL": "https://example.com/video.mp4",
"model": "volc-asset-video",
"Name": "scene-clip"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
GroupId: 'group-20260319072926-rrnmg',
AssetType: 'Video',
URL: 'https://example.com/video.mp4',
model: 'volc-asset-video',
Name: 'scene-clip'
})
};
fetch('https://ai.alad.com/volc/asset/CreateAsset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ai.alad.com/volc/asset/CreateAsset",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'GroupId' => 'group-20260319072926-rrnmg',
'AssetType' => 'Video',
'URL' => 'https://example.com/video.mp4',
'model' => 'volc-asset-video',
'Name' => 'scene-clip'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ai.alad.com/volc/asset/CreateAsset"
payload := strings.NewReader("{\n \"GroupId\": \"group-20260319072926-rrnmg\",\n \"AssetType\": \"Video\",\n \"URL\": \"https://example.com/video.mp4\",\n \"model\": \"volc-asset-video\",\n \"Name\": \"scene-clip\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ai.alad.com/volc/asset/CreateAsset")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"GroupId\": \"group-20260319072926-rrnmg\",\n \"AssetType\": \"Video\",\n \"URL\": \"https://example.com/video.mp4\",\n \"model\": \"volc-asset-video\",\n \"Name\": \"scene-clip\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ai.alad.com/volc/asset/CreateAsset")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"GroupId\": \"group-20260319072926-rrnmg\",\n \"AssetType\": \"Video\",\n \"URL\": \"https://example.com/video.mp4\",\n \"model\": \"volc-asset-video\",\n \"Name\": \"scene-clip\"\n}"
response = http.request(request)
puts response.read_body{
"Id": "asset-20260320120147-pqwhc"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}授权
请求头鉴权,格式为 Bearer <token>,其中 <token> 为您的 API Key。
请求体
application/jsonmultipart/form-data
素材组 ID。
示例:
"group-20260319072926-rrnmg"
素材类型,视频固定传 Video。
可用选项:
Video 示例:
"Video"
视频 URL(mp4/mov,≤50 MB,2–15 秒)。
示例:
"https://example.com/video.mp4"
计费模型,视频固定传 volc-asset-video。
可用选项:
volc-asset-video 示例:
"volc-asset-video"
素材名称。
示例:
"scene-clip"
响应
视频素材创建成功
素材 ID,在 Seedance 2.0 请求中以 asset://<ID> 格式引用。
示例:
"asset-20260320120147-pqwhc"
⌘I

