@howells/motif-sdk 5.1.1 → 5.3.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 +16 -0
- package/dist/image.js +370 -120
- package/dist/index.cjs +581 -253
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +581 -253
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -524,10 +524,10 @@ export declare const TASKS: {
|
|
|
524
524
|
readonly summary: "Remove an object, person, text or clutter from an image and fill the gap.";
|
|
525
525
|
};
|
|
526
526
|
readonly generate: {
|
|
527
|
-
readonly basis: "
|
|
527
|
+
readonly basis: "Order follows Arena text-to-image (https://arena.ai/leaderboard/image/text-to-image), read 2026-10-29 (MOT-72). Sunburst and Flare lead quality at the benchmarked max setting. Balanced starts with Nano Banana 2.1 on preliminary Arena evidence, then Grok Image 2 and Muse Image. Models not yet on the board follow the ranked ones in their Tier, in their previous order. The Artificial Analysis v2 snapshot of 2026-10-07 stays as recorded benchmark data. Fast keeps Nano Banana 2 Lite, budget Grok and Seedream 5 Lite, and FLUX.2 Turbo. Design, transparency and tuned Look routes are capability exceptions. Generation with References uses the separate editing ranking. Older routes are explicit/pin/Look-only.";
|
|
528
528
|
readonly models: readonly RankedModel[];
|
|
529
529
|
readonly notFor: "Variations of an image you already have (vary), or a consistent set of images (series run).";
|
|
530
|
-
readonly rankedAt: "2026-
|
|
530
|
+
readonly rankedAt: "2026-10-29";
|
|
531
531
|
readonly rankedFrom: "hand";
|
|
532
532
|
readonly summary: "Make an image from a prompt, or change an image you pass as a reference.";
|
|
533
533
|
};
|
|
@@ -937,10 +937,10 @@ export declare const TASKS: {
|
|
|
937
937
|
readonly summary: "Trace a raster image to a clean SVG.";
|
|
938
938
|
};
|
|
939
939
|
readonly vary: {
|
|
940
|
-
readonly basis: "
|
|
941
|
-
readonly models: RankedModel[];
|
|
940
|
+
readonly basis: "Order follows Arena image edit, single image (https://arena.ai/leaderboard/image/image-edit/single-image), read 2026-10-29 (MOT-72). Editing order differs from generation: Grok Image 2 leads balanced, ahead of Nano Banana 2.1, and Seedream 5 Pro outranks GPT Image 1.5. Arena scores Krea 3 only at its Ultra setting, which costs $0.27 to $0.35 an edit and ignores the requested size, so krea3, which runs fal's default setting, is ranked as unscored. Models not yet on the board follow the ranked ones in their Tier, in their previous order. The Artificial Analysis v2 snapshot of 2026-10-07 stays as recorded benchmark data. Sunburst and Flare use max quality. vary reuses a previously chosen Model when explicitly supplied, including retained legacy routes.";
|
|
941
|
+
readonly models: readonly RankedModel[];
|
|
942
942
|
readonly notFor: "A specific change to an image described in words (generate with a reference), or a set of different scenes in one style (series run).";
|
|
943
|
-
readonly rankedAt: "2026-
|
|
943
|
+
readonly rankedAt: "2026-10-29";
|
|
944
944
|
readonly rankedFrom: "hand";
|
|
945
945
|
readonly summary: "Make variations of an image you already have.";
|
|
946
946
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -524,10 +524,10 @@ export declare const TASKS: {
|
|
|
524
524
|
readonly summary: "Remove an object, person, text or clutter from an image and fill the gap.";
|
|
525
525
|
};
|
|
526
526
|
readonly generate: {
|
|
527
|
-
readonly basis: "
|
|
527
|
+
readonly basis: "Order follows Arena text-to-image (https://arena.ai/leaderboard/image/text-to-image), read 2026-10-29 (MOT-72). Sunburst and Flare lead quality at the benchmarked max setting. Balanced starts with Nano Banana 2.1 on preliminary Arena evidence, then Grok Image 2 and Muse Image. Models not yet on the board follow the ranked ones in their Tier, in their previous order. The Artificial Analysis v2 snapshot of 2026-10-07 stays as recorded benchmark data. Fast keeps Nano Banana 2 Lite, budget Grok and Seedream 5 Lite, and FLUX.2 Turbo. Design, transparency and tuned Look routes are capability exceptions. Generation with References uses the separate editing ranking. Older routes are explicit/pin/Look-only.";
|
|
528
528
|
readonly models: readonly RankedModel[];
|
|
529
529
|
readonly notFor: "Variations of an image you already have (vary), or a consistent set of images (series run).";
|
|
530
|
-
readonly rankedAt: "2026-
|
|
530
|
+
readonly rankedAt: "2026-10-29";
|
|
531
531
|
readonly rankedFrom: "hand";
|
|
532
532
|
readonly summary: "Make an image from a prompt, or change an image you pass as a reference.";
|
|
533
533
|
};
|
|
@@ -937,10 +937,10 @@ export declare const TASKS: {
|
|
|
937
937
|
readonly summary: "Trace a raster image to a clean SVG.";
|
|
938
938
|
};
|
|
939
939
|
readonly vary: {
|
|
940
|
-
readonly basis: "
|
|
941
|
-
readonly models: RankedModel[];
|
|
940
|
+
readonly basis: "Order follows Arena image edit, single image (https://arena.ai/leaderboard/image/image-edit/single-image), read 2026-10-29 (MOT-72). Editing order differs from generation: Grok Image 2 leads balanced, ahead of Nano Banana 2.1, and Seedream 5 Pro outranks GPT Image 1.5. Arena scores Krea 3 only at its Ultra setting, which costs $0.27 to $0.35 an edit and ignores the requested size, so krea3, which runs fal's default setting, is ranked as unscored. Models not yet on the board follow the ranked ones in their Tier, in their previous order. The Artificial Analysis v2 snapshot of 2026-10-07 stays as recorded benchmark data. Sunburst and Flare use max quality. vary reuses a previously chosen Model when explicitly supplied, including retained legacy routes.";
|
|
941
|
+
readonly models: readonly RankedModel[];
|
|
942
942
|
readonly notFor: "A specific change to an image described in words (generate with a reference), or a set of different scenes in one style (series run).";
|
|
943
|
-
readonly rankedAt: "2026-
|
|
943
|
+
readonly rankedAt: "2026-10-29";
|
|
944
944
|
readonly rankedFrom: "hand";
|
|
945
945
|
readonly summary: "Make variations of an image you already have.";
|
|
946
946
|
};
|