Add a kit piece
add_kit_pieceAn outfit, place or prop from an image, a link or a stock photo, cropped. The kit is what a music video is made from besides the artist’s photos: outfits (an artist’s), places and props (the workspace’s, for every artist). Each has a name and an @handle; a music video brief (direction) that mentions @handle uses that piece exactly as it is, and the director designs the rest. An outfit needs artist_id; a place or prop is the workspace's. The image is an upload or file_url (JPEG, PNG or WebP, at least 512 px on its short side, up to 15 MB, with rights_confirmed) or a stock_id from search_stock (credited, no rights needed). crop keeps a rectangle of it (fractions; at least 256 px on its short side), for a prop cut out of a bigger photo. handle follows the name (Blue set → blue-set; -2 when taken) unless given. Needs an active plan (402 plan_required without one; get_account: plan.active) and room in its storage (402 storage_full when it would not fit; get_account: storage).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | The rectangle to keep, in fractions of the image: {"x","y","w","h"}; the whole image when omitted | |
| kind | Yes | outfit (an artist’s), place or prop (the workspace’s) | |
| name | Yes | What it is called, e.g. Blue set | |
| handle | No | Its @handle (default: from the name) | |
| file_url | No | A public https URL of the image (or upload a file with the CLI) | |
| stock_id | No | A stock photo id from search_stock instead of an image | |
| artist_id | No | The artist an outfit belongs to (outfits only) | |
| description | No | What it is, for the director (a stock photo’s caption by default) | |
| rights_confirmed | No | You have the rights to use the image (needed for an upload or file_url) |