Skip to main content
POST
Create asset

Introduction

Create an asset in a group. Content-Type: application/json; public https URLs only (BytePlus must fetch directly). No Base64 / Data URI / multipart upload. Upload local files to OSS / TOS / S3 first. Both aigc and liveness_face libraries support Image / Video / Audio. Initial status is pending; poll until active (usually 1โ€“3 minutes) before using asset://.
BytePlus CreateAsset no longer supports Base64 as of 2026. See Create an Asset.

Authentication

string
required
Bearer Token, e.g. Bearer sk-xxxxxxxxxx

Request body

string
required
Public https URL; passed through to upstream unchanged
string
required
string
default:"Image"
Image / Video / Audio (case-insensitive)
string
Display name (โ‰ค 64 chars; UI/search only, not used in inference)

Format and size limits

Image (Image)

Video (Video)

Audio (Audio)

Gateway checks URL suffix only; BytePlus validates size/duration asynchronously. Invalid assets end as status: failed.

Examples

Same JSON shape for image, video, and audioโ€”only asset_type and URL differ:

Response

Next: List assets or Get asset to poll status.