@koda-sl/baker-cli 0.186.1 → 0.187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2137,6 +2137,17 @@ baker images get j571abc123def
2137
2137
  baker images get j571abc123def --full
2138
2138
  ```
2139
2139
 
2140
+ ### `baker images group <id>`
2141
+
2142
+ List every image that arrived in the same set — the slides of one Instagram carousel, the images pulled off one scraped page. Carousel slides are authored to be read in order and usually only make sense together, so pull the set before using any one slide on its own.
2143
+
2144
+ ```bash
2145
+ baker images group j571abc123def
2146
+ baker images group --group-key "instagram:Cx7Ab9"
2147
+ ```
2148
+
2149
+ Returns the set's shared caption or page title, a link back to the original post/page, and the members in order — as both `images` and `videos`, since a carousel can mix stills and clips across the two libraries. Accepts an **image or a video id**, for the same reason: `baker videos group` is the same lookup from the other side.
2150
+
2140
2151
  ### `baker images upload <file|url>`
2141
2152
 
2142
2153
  Add an image to the library — accepts a **local file path** or a **remote `http(s)://` URL**. The positional arg is sniffed: if it starts with `http://` or `https://`, the call dispatches to `/api/images/ingest` (hash-deduped on bytes + externalId, byte-fetch happens server-side); otherwise the local file is read, base64-encoded, and sent to `/api/images/upload`.
@@ -2320,10 +2331,25 @@ Upload a video file via Mux direct upload.
2320
2331
  ```bash
2321
2332
  baker videos upload ./demo.mp4
2322
2333
  baker videos upload ./demo.mp4 --dry-run
2334
+ baker videos upload ./testimonial-maria.mp4 \
2335
+ --context "Testimonial from Maria, a real customer, filmed on her phone for the autumn campaign"
2323
2336
  ```
2324
2337
 
2325
2338
  Supported extensions: `.mp4`, `.mov`, `.webm`, `.avi`, `.mkv`
2326
2339
 
2340
+ `--context` describes what the clip is and what it's for. The analysis watches the frames and hears the audio, but it can't know which campaign a clip belongs to or whether the person on camera is a real customer or a hired actor — and those are what you'll search on later. The filename is sent automatically as a weaker hint.
2341
+
2342
+ ### `baker videos group <id>`
2343
+
2344
+ List every asset that arrived in the same set as this clip — the other slides of the Instagram post it came from, stills included. A carousel is authored to be read in order, so a clip lifted out of one is usually missing half its meaning.
2345
+
2346
+ ```bash
2347
+ baker videos group xd7abc123def
2348
+ baker videos group --group-key "instagram:Cx7Ab9"
2349
+ ```
2350
+
2351
+ Same lookup as `baker images group` and takes either kind of id; the two exist so the noun you happen to hold does not decide whether you can ask.
2352
+
2327
2353
  ### `baker videos delete <id>`
2328
2354
 
2329
2355
  Delete a video by ID.