@howells/motif-sdk 0.3.1 → 0.3.2
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/dist/index.cjs +17 -0
- package/dist/index.d.cts +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +17 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2256,6 +2256,23 @@ var FAL_TOOLS = {
|
|
|
2256
2256
|
output_format: "png"
|
|
2257
2257
|
}
|
|
2258
2258
|
},
|
|
2259
|
+
"sam3-1-image": {
|
|
2260
|
+
name: "SAM 3.1 Image",
|
|
2261
|
+
endpoint: "fal-ai/sam-3-1/image",
|
|
2262
|
+
task: "promptable image segmentation",
|
|
2263
|
+
category: "segmentation",
|
|
2264
|
+
description: "Segment image objects with text, point, or box prompts. SAM 3.1 adds Object Multiplex for faster multi-object tracking.",
|
|
2265
|
+
inputKind: "image",
|
|
2266
|
+
inputField: "image_url",
|
|
2267
|
+
outputKeys: ["image", "masks", "metadata", "scores", "boxes"],
|
|
2268
|
+
pricing: "$0.005/request",
|
|
2269
|
+
sourceUrl: "https://fal.ai/models/fal-ai/sam-3-1/image",
|
|
2270
|
+
defaultOptions: {
|
|
2271
|
+
apply_mask: true,
|
|
2272
|
+
max_masks: 3,
|
|
2273
|
+
output_format: "png"
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2259
2276
|
"sam3-image-rle": {
|
|
2260
2277
|
name: "SAM 3 Image RLE",
|
|
2261
2278
|
endpoint: "fal-ai/sam-3/image-rle",
|
package/dist/index.d.cts
CHANGED
|
@@ -783,6 +783,23 @@ declare class MotifServer {
|
|
|
783
783
|
readonly output_format: "png";
|
|
784
784
|
};
|
|
785
785
|
};
|
|
786
|
+
readonly "sam3-1-image": {
|
|
787
|
+
readonly name: "SAM 3.1 Image";
|
|
788
|
+
readonly endpoint: "fal-ai/sam-3-1/image";
|
|
789
|
+
readonly task: "promptable image segmentation";
|
|
790
|
+
readonly category: "segmentation";
|
|
791
|
+
readonly description: "Segment image objects with text, point, or box prompts. SAM 3.1 adds Object Multiplex for faster multi-object tracking.";
|
|
792
|
+
readonly inputKind: "image";
|
|
793
|
+
readonly inputField: "image_url";
|
|
794
|
+
readonly outputKeys: ["image", "masks", "metadata", "scores", "boxes"];
|
|
795
|
+
readonly pricing: "$0.005/request";
|
|
796
|
+
readonly sourceUrl: "https://fal.ai/models/fal-ai/sam-3-1/image";
|
|
797
|
+
readonly defaultOptions: {
|
|
798
|
+
readonly apply_mask: true;
|
|
799
|
+
readonly max_masks: 3;
|
|
800
|
+
readonly output_format: "png";
|
|
801
|
+
};
|
|
802
|
+
};
|
|
786
803
|
readonly "sam3-image-rle": {
|
|
787
804
|
readonly name: "SAM 3 Image RLE";
|
|
788
805
|
readonly endpoint: "fal-ai/sam-3/image-rle";
|
|
@@ -1163,6 +1180,23 @@ declare const FAL_TOOLS: {
|
|
|
1163
1180
|
readonly output_format: "png";
|
|
1164
1181
|
};
|
|
1165
1182
|
};
|
|
1183
|
+
readonly "sam3-1-image": {
|
|
1184
|
+
readonly name: "SAM 3.1 Image";
|
|
1185
|
+
readonly endpoint: "fal-ai/sam-3-1/image";
|
|
1186
|
+
readonly task: "promptable image segmentation";
|
|
1187
|
+
readonly category: "segmentation";
|
|
1188
|
+
readonly description: "Segment image objects with text, point, or box prompts. SAM 3.1 adds Object Multiplex for faster multi-object tracking.";
|
|
1189
|
+
readonly inputKind: "image";
|
|
1190
|
+
readonly inputField: "image_url";
|
|
1191
|
+
readonly outputKeys: ["image", "masks", "metadata", "scores", "boxes"];
|
|
1192
|
+
readonly pricing: "$0.005/request";
|
|
1193
|
+
readonly sourceUrl: "https://fal.ai/models/fal-ai/sam-3-1/image";
|
|
1194
|
+
readonly defaultOptions: {
|
|
1195
|
+
readonly apply_mask: true;
|
|
1196
|
+
readonly max_masks: 3;
|
|
1197
|
+
readonly output_format: "png";
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1166
1200
|
readonly "sam3-image-rle": {
|
|
1167
1201
|
readonly name: "SAM 3 Image RLE";
|
|
1168
1202
|
readonly endpoint: "fal-ai/sam-3/image-rle";
|
package/dist/index.d.ts
CHANGED
|
@@ -783,6 +783,23 @@ declare class MotifServer {
|
|
|
783
783
|
readonly output_format: "png";
|
|
784
784
|
};
|
|
785
785
|
};
|
|
786
|
+
readonly "sam3-1-image": {
|
|
787
|
+
readonly name: "SAM 3.1 Image";
|
|
788
|
+
readonly endpoint: "fal-ai/sam-3-1/image";
|
|
789
|
+
readonly task: "promptable image segmentation";
|
|
790
|
+
readonly category: "segmentation";
|
|
791
|
+
readonly description: "Segment image objects with text, point, or box prompts. SAM 3.1 adds Object Multiplex for faster multi-object tracking.";
|
|
792
|
+
readonly inputKind: "image";
|
|
793
|
+
readonly inputField: "image_url";
|
|
794
|
+
readonly outputKeys: ["image", "masks", "metadata", "scores", "boxes"];
|
|
795
|
+
readonly pricing: "$0.005/request";
|
|
796
|
+
readonly sourceUrl: "https://fal.ai/models/fal-ai/sam-3-1/image";
|
|
797
|
+
readonly defaultOptions: {
|
|
798
|
+
readonly apply_mask: true;
|
|
799
|
+
readonly max_masks: 3;
|
|
800
|
+
readonly output_format: "png";
|
|
801
|
+
};
|
|
802
|
+
};
|
|
786
803
|
readonly "sam3-image-rle": {
|
|
787
804
|
readonly name: "SAM 3 Image RLE";
|
|
788
805
|
readonly endpoint: "fal-ai/sam-3/image-rle";
|
|
@@ -1163,6 +1180,23 @@ declare const FAL_TOOLS: {
|
|
|
1163
1180
|
readonly output_format: "png";
|
|
1164
1181
|
};
|
|
1165
1182
|
};
|
|
1183
|
+
readonly "sam3-1-image": {
|
|
1184
|
+
readonly name: "SAM 3.1 Image";
|
|
1185
|
+
readonly endpoint: "fal-ai/sam-3-1/image";
|
|
1186
|
+
readonly task: "promptable image segmentation";
|
|
1187
|
+
readonly category: "segmentation";
|
|
1188
|
+
readonly description: "Segment image objects with text, point, or box prompts. SAM 3.1 adds Object Multiplex for faster multi-object tracking.";
|
|
1189
|
+
readonly inputKind: "image";
|
|
1190
|
+
readonly inputField: "image_url";
|
|
1191
|
+
readonly outputKeys: ["image", "masks", "metadata", "scores", "boxes"];
|
|
1192
|
+
readonly pricing: "$0.005/request";
|
|
1193
|
+
readonly sourceUrl: "https://fal.ai/models/fal-ai/sam-3-1/image";
|
|
1194
|
+
readonly defaultOptions: {
|
|
1195
|
+
readonly apply_mask: true;
|
|
1196
|
+
readonly max_masks: 3;
|
|
1197
|
+
readonly output_format: "png";
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1166
1200
|
readonly "sam3-image-rle": {
|
|
1167
1201
|
readonly name: "SAM 3 Image RLE";
|
|
1168
1202
|
readonly endpoint: "fal-ai/sam-3/image-rle";
|
package/dist/index.js
CHANGED
|
@@ -2198,6 +2198,23 @@ var FAL_TOOLS = {
|
|
|
2198
2198
|
output_format: "png"
|
|
2199
2199
|
}
|
|
2200
2200
|
},
|
|
2201
|
+
"sam3-1-image": {
|
|
2202
|
+
name: "SAM 3.1 Image",
|
|
2203
|
+
endpoint: "fal-ai/sam-3-1/image",
|
|
2204
|
+
task: "promptable image segmentation",
|
|
2205
|
+
category: "segmentation",
|
|
2206
|
+
description: "Segment image objects with text, point, or box prompts. SAM 3.1 adds Object Multiplex for faster multi-object tracking.",
|
|
2207
|
+
inputKind: "image",
|
|
2208
|
+
inputField: "image_url",
|
|
2209
|
+
outputKeys: ["image", "masks", "metadata", "scores", "boxes"],
|
|
2210
|
+
pricing: "$0.005/request",
|
|
2211
|
+
sourceUrl: "https://fal.ai/models/fal-ai/sam-3-1/image",
|
|
2212
|
+
defaultOptions: {
|
|
2213
|
+
apply_mask: true,
|
|
2214
|
+
max_masks: 3,
|
|
2215
|
+
output_format: "png"
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2201
2218
|
"sam3-image-rle": {
|
|
2202
2219
|
name: "SAM 3 Image RLE",
|
|
2203
2220
|
endpoint: "fal-ai/sam-3/image-rle",
|