Skip to main content
POST
/
api
/
open-api
/
v1
/
seedance
/
sp
/
assets
/
upload
SP Upload Asset
curl --request POST \
  --url https://www.jimmyai.cn/api/open-api/v1/seedance/sp/assets/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>"
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "asset_id": "<string>"
  }
}
Upload image, video, audio, or text assets to the Seedance SP economy asset library. Use the returned asset_id as asset://{asset_id} in SP Create Video.
This endpoint is for SP route models (economy seedance2.0-sp / seedance2.0-fast-sp and official seedance2.0-of-sp / seedance2.0-of-fast-sp). For the full Manxue route, use Submit Asset Audit.

Request body

FieldTypeRequiredDescription
namestringYesAsset name
typestringYesAsset type: image, video, audio, text
urlstringYesPublic asset URL

Example

curl -X POST 'https://www.jimmyai.cn/api/open-api/v1/seedance/sp/assets/upload' \
  -H 'Authorization: Bearer sk_xxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "reference-1",
    "type": "image",
    "url": "https://example.com/ref.jpg"
  }'

Response

{
  "code": 0,
  "msg": "ok",
  "data": {
    "asset_id": "asset_abc123"
  }
}

Next steps

  1. Poll Query Asset Detail or Batch Query Asset Status
  2. Wait until status is Active
  3. Reference asset://{asset_id} in video create requests

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Asset name

type
enum<string>
required

Asset type

Available options:
image,
video,
audio,
text
url
string
required

Public asset URL

Response

200 - application/json

Uploaded successfully

code
integer
Example:

0

msg
string
Example:

"ok"

data
object