Assets
Upload an asset
Multipart upload of a single image to your asset library. Use this when you have a reference you'll reuse across multiple generations — for example a recurring model headshot or a brand-approved background. For one-off references, attaching to POST /v1/generations directly is fine; that endpoint also saves uploads as assets automatically. Counts against your storage quota.
post/v1/assets
Request
- Base URL: https://nanostudiopro.com/api
- URL: https://nanostudiopro.com/api/v1/assets
- Auth: HTTP bearer
Response
The same file (byte for byte) was already uploaded to this account in this category: the existing asset comes back with duplicate: true. Nothing is stored, scanned or charged; a project_id adds it to that project.
Changes
No recorded changes to this operation across all 2 revisions of this API.