Developer docs

Add a kit piece

MCP tool
add_kit_piece
CLI
kinetune kit add
POST/api/v1/kit

Not sent from the docs: it uploads files to your workspace. Run it with curl, the CLI or its MCP tool.

An 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 character: outfits, places and props. Each is in one artist’s kit (owner_artist_id, a project in a Creator workspace; an outfit’s is its artist_id) and serves their songs; shared true offers it to every other artist’s songs too (owner_name says whose it is). Each has a name and an @handle unique in the workspace; 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 (its artist's kit); a place or prop goes in owner_artist_id's kit (left out: the workspace's only artist, else its first, shared). shared true offers it to every other artist's songs too (default false). 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).

headerAuthorizationBearer <token>

An organization API key (kt_live_…) or an OAuth access token

  1. body
kind*string

outfit (an artist’s), place or prop

Value in"outfit""place""prop"
name*string

What it is called, e.g. Blue set

Length1 <= length <= 60
artist_id?string

The artist an outfit belongs to (outfits only)

Length1 <= length <= 120
owner_artist_id?string

A place or prop: the artist whose kit it goes in (a project in a Creator workspace)

Length1 <= length <= 120
shared?boolean

Offer it to every other artist’s songs too (default false)

handle?string

Its @handle (default: from the name)

Match^[a-z0-9][a-z0-9-]{0,39}$
description?string

What it is, for the director (a stock photo’s caption by default)

Lengthlength <= 300
crop?

The rectangle to keep, in fractions of the image: {"x","y","w","h"}; the whole image when omitted

file_url?string

A public https URL of the image (a file on your computer: create_upload's file_url, or upload it with the CLI)

Formaturi
Lengthlength <= 2000
stock_id?string

A stock photo id from search_stock instead of an image

Match^(?:(pexels|pixabay):)?\d{1,20}$
rights_confirmed?boolean

You have the rights to use the image (needed for an upload or file_url)

Response Body

OK

Example Request
curl -X POST 'https://dev.kinetune.com/api/v1/kit' \
  -H 'Content-Type: application/json' \
  -d '{
  "kind": "outfit",
  "name": "string"
}'
Example Response
Empty