Upload an asset
Changed onUpload a new asset (image, video, audio, or 3D model). Accepts multipart/form-data with a file and optional description. Maximum file size: 75MB.
Request
- Base URL: https://api.krea.ai
- URL: https://api.krea.ai/assets
- Auth: HTTP bearer
Response
Asset uploaded successfully
Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
response property
heightlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
mime_typelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
size_byteslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
widthlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
the
response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status
- breaking