Skip to main content
PUT
Save an asset

Authorizations

Authorization
string
header
required

Send the raw luk- API key. Do not add Bearer.

Body

The asset properties and source URL.

Specifies the source and metadata for an asset record.

sourceUrl
string
required
Maximum string length: 2048
attributes
object
required

Represents the attributes associated with a Customer asset record.

name
null | string
Maximum string length: 128
mediaType
enum<string>
Available options:
Image,
Video,
Audio
assetType
enum<string>
Available options:
General,
Character,
Product,
Scene
assetSource
enum<string>
Available options:
Uploaded,
Generated,
Preset
description
null | string
tags
string[]

Response

OK

Represents an asset record exposed by the Customer service.

id
string
ownerId
string
name
null | string
mediaType
enum<string>
Available options:
Image,
Video,
Audio
assetType
enum<string>
Available options:
General,
Character,
Product,
Scene
assetSource
enum<string>
Available options:
Uploaded,
Generated,
Preset
fingerprint
null | string
fileId
null | string<uuid>
description
null | string
sourceUrl
null | string
location
null | string
attributes
object

Represents the attributes associated with a Customer asset record.

tags
string[]
expiresAt
string<date-time>
createdAt
string<date-time>
updatedAt
string<date-time>
file
null | object

Represents the file associated with a Customer asset record.

thumbnail
null | object

Represents the file associated with a Customer asset record.

thumbnailStatus
string