@melius-ai/cli 0.50.0 → 0.51.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
@@ -214,6 +214,17 @@ States are `submitting`, `running`, `captioning`, `ready`, and `failed`. `status
214
214
 
215
215
  `mel cast library`, `templates`, and `history` print arrays to stdout and pagination metadata to stderr. Use `--page-size` (1–100), `--cursor <nextCursor>`, and optional `--include-count`. Default page sizes are 50, 25, and 24 respectively. History defaults to your generations; `mel cast history --scope team` includes authorized team history, and `--include-replacements` or `--operation replacement` includes Ditto jobs. Existing `mel ditto` and `mel cast replacement` commands remain available.
216
216
 
217
+ **Microdrama series.** For teams with Microdramas, a series groups Microdrama videos into episodes the server numbers. Start one with a title and, optionally, a genre and a style (`mel cast series create --help` lists them), then pass its ID to `mel cast run`. Every episode is filmed in the series' style (`videoStyleId`, `drama` unless you chose another): prepare each with `"creationSettings": { "videoStyle": { "id": "<videoStyleId>", "version": 1 }, "speech": "on-screen" }`.
218
+
219
+ ```bash
220
+ mel cast series create --title "The Heiress Returns" --genre revenge
221
+ mel cast run --input-file prepared.json --series-id <seriesId>
222
+ mel cast series episodes --id <seriesId>
223
+ mel cast run --input-file prepared.json --episode-id <episodeId>
224
+ ```
225
+
226
+ `--series-id` makes the video the series' next episode; `--episode-id` makes another take of an episode. Pass one, and the same one when recovering a submission. `mel cast series list` and `get` read your team's series, and `update` renames one or sets its genre (`--genre none` removes it).
227
+
217
228
  ### Ditto video replacement
218
229
 
219
230
  Replace multiple characters, props, and backgrounds together in a supplied video with Melius Ditto. Each replacement has one reference image and an optional description identifying what to change. All replacements share one generation, quote, attempt ID, and finalized output. These commands use the same access rules, model eligibility, pricing, and finalized results as Cast. They do not require a canvas, script, or saved avatar. Scripts written against `mel cast replacement` keep working; it runs the same commands.
@@ -276,7 +287,7 @@ Replacement input JSON:
276
287
 
277
288
  `replacements` contains 1–30 ordered items. Each item's `targetKind` is `character`, `prop`, or `background`; multiple items may have the same kind. Targeting text is optional per item, while `additionalInstructions` applies to the whole edit. Omit `sourceRange` to use the entire source; otherwise provide both endpoints in milliseconds. The source is never silently shortened. Optional `modelId` honors the specified model; `resolution` is `480p`, `720p`, or `1080p`, subject to model eligibility. `audioMode` is `original` (default) or `mute`.
278
289
 
279
- Seedance 2.5 accepts up to 30 replacement images. A model must support both the selected duration and every reference. Unsupported models stay visible with reasons; items are never dropped or split into separate paid generations. Legacy single-item JSON with top-level `referenceAssetId`, `targetKind`, and optional `targetDescription` is still accepted. Do not combine those legacy fields with `replacements`.
290
+ Melius Ditto accepts up to 30 replacement images. A model must support both the selected duration and every reference. Unsupported models stay visible with reasons; items are never dropped or split into separate paid generations. Legacy single-item JSON with top-level `referenceAssetId`, `targetKind`, and optional `targetDescription` is still accepted. Do not combine those legacy fields with `replacements`.
280
291
 
281
292
  `prepare` returns `{ attemptId, input, sourceDurationMs, selectedDurationMs, models, quote }`. Ineligible models remain in `models` with structured reasons. A missing quote means the input must be corrected before running. Save the returned `attemptId`, normalized `input`, and `quote.id`.
282
293
 
package/dist/bin/mel.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  printUpgradeNoticeIfNeeded,
8
8
  withDefaultHelp,
9
9
  writeError
10
- } from "../chunk-HQBTQ4N6.js";
10
+ } from "../chunk-QW6BJWR4.js";
11
11
 
12
12
  // bin/mel.ts
13
13
  var program = createProgram();