magic-hour 0.94.0 → 0.94.1

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.
@@ -1,4 +1,4 @@
1
1
  export declare enum Environment {
2
2
  Environment = "https://api.magichour.ai",
3
- MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.98.0"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.98.1"
4
4
  }
@@ -4,5 +4,5 @@ exports.Environment = void 0;
4
4
  var Environment;
5
5
  (function (Environment) {
6
6
  Environment["Environment"] = "https://api.magichour.ai";
7
- Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.98.0";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.98.1";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -18,7 +18,7 @@ export type CreateRequest = {
18
18
  *
19
19
  * * **`wan-animate`**: 480p, 720p. Supports `points` subject selection.
20
20
  * * **`kling-3.0`**: 720p, 1080p. Clips of 3–10 seconds in `replace` mode or 3–30 seconds in `animate` mode. Picks the main person automatically, so `points` are rejected.
21
- * * **`minimax-h3`**: 480p, 720p, 1080p. Clips of 1–60 seconds in `replace` mode or 1–60 seconds in `animate` mode. Subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
21
+ * * **`minimax-h3`**: 480p, 720p, 1080p. Clips of 1–30 seconds in `replace` mode or 1–60 seconds in `animate` mode. Subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
22
22
  */
23
23
  model?: ("kling-3.0" | "minimax-h3" | "wan-animate") | undefined;
24
24
  /**
@@ -23,8 +23,8 @@ export declare class UploadUrlsClient extends CoreResourceClient {
23
23
  * Example:
24
24
  *
25
25
  * ```
26
- * curl -X PUT --data '@/path/to/file/video.mp4' \
27
- * https://videos.magichour.ai/api-assets/id/video.mp4?<auth params from the API response>
26
+ * curl -X PUT --data-binary '@/path/to/file/video.mp4' \
27
+ * "https://videos.magichour.ai/api-assets/id/video.mp4?<auth params from the API response>"
28
28
  * ```
29
29
  *
30
30
  *
@@ -28,8 +28,8 @@ class UploadUrlsClient extends make_api_request_js_1.CoreResourceClient {
28
28
  * Example:
29
29
  *
30
30
  * ```
31
- * curl -X PUT --data '@/path/to/file/video.mp4' \
32
- * https://videos.magichour.ai/api-assets/id/video.mp4?<auth params from the API response>
31
+ * curl -X PUT --data-binary '@/path/to/file/video.mp4' \
32
+ * "https://videos.magichour.ai/api-assets/id/video.mp4?<auth params from the API response>"
33
33
  * ```
34
34
  *
35
35
  *
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * * **`wan-animate`**: 480p, 720p. Supports `points` subject selection.
5
5
  * * **`kling-3.0`**: 720p, 1080p. Clips of 3–10 seconds in `replace` mode or 3–30 seconds in `animate` mode. Picks the main person automatically, so `points` are rejected.
6
- * * **`minimax-h3`**: 480p, 720p, 1080p. Clips of 1–60 seconds in `replace` mode or 1–60 seconds in `animate` mode. Subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
6
+ * * **`minimax-h3`**: 480p, 720p, 1080p. Clips of 1–30 seconds in `replace` mode or 1–60 seconds in `animate` mode. Subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
7
7
  */
8
8
  export type V1CharacterReplaceCreateBodyModelEnum = "kling-3.0" | "minimax-h3" | "wan-animate";
@@ -12,7 +12,7 @@ export type V1CharacterReplaceCreateBodyStylePointsItem = {
12
12
  */
13
13
  positionY: number;
14
14
  /**
15
- * Timestamp on the source video timeline in seconds. Uses the same clock as `start_seconds` and `end_seconds`.
15
+ * Timestamp on the source video timeline in seconds. Uses the same clock as `start_seconds` and `end_seconds`. For MiniMax H3 manual replacement, `start_seconds <= time_seconds < end_seconds`.
16
16
  */
17
17
  timeSeconds: number;
18
18
  };
@@ -9,11 +9,11 @@ export type V1CharacterReplaceCreateBodyStyle = {
9
9
  */
10
10
  mode?: ("animate" | "replace") | undefined;
11
11
  /**
12
- * On-frame markers for manual subject selection. Required when `selection_mode` is `point`. Ignored when `selection_mode` is `auto` or omitted. Rejected for models without subject selection (supported by `wan-animate`, `minimax-h3`). `minimax-h3` subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
12
+ * On-frame markers for manual subject selection. Required when `selection_mode` is `point`. Ignored when `selection_mode` is `auto` or omitted. Rejected for models without subject selection (supported by `wan-animate`, `minimax-h3`). `minimax-h3` subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored. MiniMax H3 manual replacement accepts 1 to 10 points; each must satisfy `start_seconds <= time_seconds < end_seconds`.
13
13
  */
14
14
  points?: V1CharacterReplaceCreateBodyStylePointsItem[] | undefined;
15
15
  /**
16
- * Optional direction. Supported by kling-3.0, minimax-h3.
16
+ * Optional direction. Supported by kling-3.0, minimax-h3. For MiniMax H3 in replace mode, ignored and not saved when `selection_mode` is `point`; applies only to automatic person selection.
17
17
  */
18
18
  prompt?: string | undefined;
19
19
  /**
@@ -18,7 +18,7 @@ export type V1CharacterReplaceCreateBody = {
18
18
  *
19
19
  * * **`wan-animate`**: 480p, 720p. Supports `points` subject selection.
20
20
  * * **`kling-3.0`**: 720p, 1080p. Clips of 3–10 seconds in `replace` mode or 3–30 seconds in `animate` mode. Picks the main person automatically, so `points` are rejected.
21
- * * **`minimax-h3`**: 480p, 720p, 1080p. Clips of 1–60 seconds in `replace` mode or 1–60 seconds in `animate` mode. Subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
21
+ * * **`minimax-h3`**: 480p, 720p, 1080p. Clips of 1–30 seconds in `replace` mode or 1–60 seconds in `animate` mode. Subject `points` are `replace`-only; `animate` with `selection_mode` `point` returns 422, and with `auto` or no `selection_mode` the points are ignored.
22
22
  */
23
23
  model?: ("kling-3.0" | "minimax-h3" | "wan-animate") | undefined;
24
24
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.94.0",
3
+ "version": "0.94.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {