Query Asset
curl --request POST \
--url https://octopusx.ai/v1/seedance/asset/GetAsset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "<string>"
}
'import requests
url = "https://octopusx.ai/v1/seedance/asset/GetAsset"
payload = { "task_id": "<string>" }
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({task_id: '<string>'})
};
fetch('https://octopusx.ai/v1/seedance/asset/GetAsset', 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://octopusx.ai/v1/seedance/asset/GetAsset",
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([
'task_id' => '<string>'
]),
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://octopusx.ai/v1/seedance/asset/GetAsset"
payload := strings.NewReader("{\n \"task_id\": \"<string>\"\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://octopusx.ai/v1/seedance/asset/GetAsset")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"task_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://octopusx.ai/v1/seedance/asset/GetAsset")
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 \"task_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"state": 1,
"data": {
"Id": "asset-xxx",
"Name": "child",
"URL": "https://example.com/processed.webp",
"AssetType": "Image",
"GroupId": "group-20260415111540-w9pkb",
"Status": "Active",
"CreateTime": "2026-04-15T11:15:40Z",
"UpdateTime": "2026-04-15T11:16:02Z",
"Error": null
},
"error": null
}
{
"error": {
"code": "Unauthorized",
"message": "Invalid API key provided",
"type": "new_api_error"
}
}
{
"error": {
"code": "Forbidden",
"message": "access denied",
"type": "new_api_error"
}
}
{
"error": {
"code": "NotFound",
"message": "task not found",
"type": "new_api_error"
}
}
{
"error": {
"code": "RateLimitExceeded",
"message": "Current request rate is too high, please try again later",
"type": "new_api_error"
}
}
{
"error": {
"code": "InternalError",
"message": "internal server error",
"type": "new_api_error"
}
}
Asset Management
Query Asset
Query Seedance asset import status and details using POST /v1/seedance/asset/GetAsset.
POST
https://octopusx.ai
/
v1
/
seedance
/
asset
/
GetAsset
Query Asset
curl --request POST \
--url https://octopusx.ai/v1/seedance/asset/GetAsset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "<string>"
}
'import requests
url = "https://octopusx.ai/v1/seedance/asset/GetAsset"
payload = { "task_id": "<string>" }
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({task_id: '<string>'})
};
fetch('https://octopusx.ai/v1/seedance/asset/GetAsset', 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://octopusx.ai/v1/seedance/asset/GetAsset",
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([
'task_id' => '<string>'
]),
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://octopusx.ai/v1/seedance/asset/GetAsset"
payload := strings.NewReader("{\n \"task_id\": \"<string>\"\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://octopusx.ai/v1/seedance/asset/GetAsset")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"task_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://octopusx.ai/v1/seedance/asset/GetAsset")
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 \"task_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"state": 1,
"data": {
"Id": "asset-xxx",
"Name": "child",
"URL": "https://example.com/processed.webp",
"AssetType": "Image",
"GroupId": "group-20260415111540-w9pkb",
"Status": "Active",
"CreateTime": "2026-04-15T11:15:40Z",
"UpdateTime": "2026-04-15T11:16:02Z",
"Error": null
},
"error": null
}
{
"error": {
"code": "Unauthorized",
"message": "Invalid API key provided",
"type": "new_api_error"
}
}
{
"error": {
"code": "Forbidden",
"message": "access denied",
"type": "new_api_error"
}
}
{
"error": {
"code": "NotFound",
"message": "task not found",
"type": "new_api_error"
}
}
{
"error": {
"code": "RateLimitExceeded",
"message": "Current request rate is too high, please try again later",
"type": "new_api_error"
}
}
{
"error": {
"code": "InternalError",
"message": "internal server error",
"type": "new_api_error"
}
}
Query Asset
Query asset processing progress and details based on thetask_id returned by Upload Asset.
Method and Path
POST /v1/seedance/asset/GetAsset
Request Example
curl -X POST https://octopusx.ai/v1/seedance/asset/GetAsset \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"task_id": "task_xxxx"
}'
import requests
resp = requests.post(
"https://octopusx.ai/v1/seedance/asset/GetAsset",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
"Accept": "application/json",
},
json={"task_id": "task_xxxx"},
timeout=30,
)
print(resp.json())
Response Example
{
"state": 1,
"data": {
"Id": "asset-xxx",
"Name": "child",
"URL": "https://example.com/processed.webp",
"AssetType": "Image",
"GroupId": "group-20260415111540-w9pkb",
"Status": "Active",
"CreateTime": "2026-04-15T11:15:40Z",
"UpdateTime": "2026-04-15T11:16:02Z",
"Error": null
},
"error": null
}
{
"error": {
"code": "Unauthorized",
"message": "Invalid API key provided",
"type": "new_api_error"
}
}
{
"error": {
"code": "Forbidden",
"message": "access denied",
"type": "new_api_error"
}
}
{
"error": {
"code": "NotFound",
"message": "task not found",
"type": "new_api_error"
}
}
{
"error": {
"code": "RateLimitExceeded",
"message": "Current request rate is too high, please try again later",
"type": "new_api_error"
}
}
{
"error": {
"code": "InternalError",
"message": "internal server error",
"type": "new_api_error"
}
}
Authentication
Authorization: Bearer YOUR_API_KEY
Body
The task ID returned when uploading the asset.
Response
Asset ID.
Asset name.
Asset URL.
Asset type:
Image, Video, Audio.ID of the asset group it belongs to.
Asset status:
Processing (processing), Active (available for video generation), Failed (failed).Error message when the asset fails.
Related Pages
⌘I