Create asset
Assets API
Create an asset
Upload an image, video, or audio asset; preprocessing is asynchronous, so use it only after its status becomes Active.
POST
Create asset
Authorizations
A workspace API key beginning with gengen_live_.
Body
application/json
Provider asset group ID for an active group owned by the workspace.
Minimum string length:
1Publicly reachable asset URL. Base64 uploads are not supported.
File requirements:
- Images: JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, or HEIF; aspect ratio between 0.4 and 2.5; each dimension over 300 px and under 6,000 px; under 30 MB
- Videos: MP4 or MOV; 480p, 720p, or 1080p; 2–15 seconds; aspect ratio from 0.4 through 2.5; each dimension from 300 px through 6,000 px; 409,600–2,086,876 total pixels; 24–60 FPS; up to 50 MB
- Audio: WAV or MP3; 2–15 seconds; up to 15 MB
Supported asset types:
- Image — image asset
- Video — video asset
- Audio — audio asset
Available options:
Image, Video, Audio Asset name used for management and fuzzy search.
Maximum string length:
64