Pin a generation output (gen_<id>#<n>) or a file (file_<id>) to a shelf with a name.

post/v1/shelves/{project}/items

Request

  • Base URL: https://api.lumeta.ai
  • URL: https://api.lumeta.ai/v1/shelves/{project}/items
  • Auth: HTTP bearer

Path parameters

projectstring required

proj_<id>; proj_0 is the All Projects shelf.

Request body

mediastring required

gen_<id>#<n> or file_<id>

namestring

Response

OK

idstring
namestring
projectstring
created_atstring
type'image' | 'video' | 'audio' | 'other'
urlstring

Durable https URL of the stored file.

widthinteger
heightinteger
durationnumber

Seconds, for audio and video.

Changes

No recorded changes to this operation across all 1 revision of this API.