cURL
curl https://ai.alad.com/volc/asset/CreateAsset \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "volc-asset",
"GroupId": "group-20260319072926-rrnmg",
"Name": "character-reference",
"AssetType": "Image",
"URL": "https://example.com/image.jpg"
}'import requests
url = "https://ai.alad.com/volc/asset/CreateAsset"
payload = {
"GroupId": "group-20260319072926-rrnmg",
"AssetType": "Image",
"URL": "https://example.com/image.jpg",
"model": "volc-asset",
"Name": "character-reference"
}
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: 'Image',
URL: 'https://example.com/image.jpg',
model: 'volc-asset',
Name: 'character-reference'
})
};
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' => 'Image',
'URL' => 'https://example.com/image.jpg',
'model' => 'volc-asset',
'Name' => 'character-reference'
]),
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\": \"Image\",\n \"URL\": \"https://example.com/image.jpg\",\n \"model\": \"volc-asset\",\n \"Name\": \"character-reference\"\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\": \"Image\",\n \"URL\": \"https://example.com/image.jpg\",\n \"model\": \"volc-asset\",\n \"Name\": \"character-reference\"\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\": \"Image\",\n \"URL\": \"https://example.com/image.jpg\",\n \"model\": \"volc-asset\",\n \"Name\": \"character-reference\"\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> 格式引用,用于角色参考、首帧等场景。
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",
"GroupId": "group-20260319072926-rrnmg",
"Name": "character-reference",
"AssetType": "Image",
"URL": "https://example.com/image.jpg"
}'import requests
url = "https://ai.alad.com/volc/asset/CreateAsset"
payload = {
"GroupId": "group-20260319072926-rrnmg",
"AssetType": "Image",
"URL": "https://example.com/image.jpg",
"model": "volc-asset",
"Name": "character-reference"
}
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: 'Image',
URL: 'https://example.com/image.jpg',
model: 'volc-asset',
Name: 'character-reference'
})
};
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' => 'Image',
'URL' => 'https://example.com/image.jpg',
'model' => 'volc-asset',
'Name' => 'character-reference'
]),
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\": \"Image\",\n \"URL\": \"https://example.com/image.jpg\",\n \"model\": \"volc-asset\",\n \"Name\": \"character-reference\"\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\": \"Image\",\n \"URL\": \"https://example.com/image.jpg\",\n \"model\": \"volc-asset\",\n \"Name\": \"character-reference\"\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\": \"Image\",\n \"URL\": \"https://example.com/image.jpg\",\n \"model\": \"volc-asset\",\n \"Name\": \"character-reference\"\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"
素材类型,图片固定传 Image。
可用选项:
Image 示例:
"Image"
图片 URL、Data URI 或纯 Base64 字符串。
示例:
"https://example.com/image.jpg"
计费模型,图片固定传 volc-asset。
可用选项:
volc-asset 示例:
"volc-asset"
素材名称。
示例:
"character-reference"
响应
图片素材创建成功
素材 ID,在 Seedance 2.0 请求中以 asset://<ID> 格式引用。
示例:
"asset-20260320120147-pqwhc"
⌘I

