/api/v1/playground/createAsset API 可帮助用户将图片、视频和音频文件上传并转存至字节跳动资产存储系统。assetType,系统便会将该资源导入并存储为字节跳动资产。Image(图片)Video(视频)Audio(音频)assetId。该 assetId 可在后续需要字节跳动资产输入的下游 API 中重复使用。curl --location --request POST 'https://api.kie.ai/api/v1/playground/createAsset' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "http://example.com",
"assetType": "Image"
}'{
"id": "task_1234567890abcdef"
}