varg.ai-sdk 0.1.0 → 0.1.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.
package/index.ts CHANGED
@@ -8,6 +8,51 @@ export { fal } from "@ai-sdk/fal";
8
8
  export { replicate } from "@ai-sdk/replicate";
9
9
  export { fal as falClient } from "@fal-ai/client";
10
10
  export { HiggsfieldClient } from "@higgsfield/client";
11
+ // action exports (excluding meta to avoid conflicts)
12
+ export {
13
+ type AddCaptionsOptions,
14
+ addCaptions,
15
+ type SubtitleStyle,
16
+ } from "./action/captions";
17
+ export {
18
+ type CreateMontageOptions,
19
+ createMontage,
20
+ type EditPipelineOptions,
21
+ type EditPipelineStep,
22
+ editPipeline,
23
+ mergeWithAudio,
24
+ type PrepareForSocialOptions,
25
+ prepareForSocial,
26
+ quickResize,
27
+ quickTrim,
28
+ } from "./action/edit";
29
+ export {
30
+ generateWithFal,
31
+ generateWithSoul,
32
+ type ImageGenerationResult,
33
+ } from "./action/image";
34
+ export {
35
+ type LipsyncOptions,
36
+ lipsync,
37
+ lipsyncOverlay,
38
+ lipsyncWav2Lip,
39
+ type Wav2LipOptions,
40
+ } from "./action/sync";
41
+ export {
42
+ type TranscribeOptions,
43
+ type TranscribeResult,
44
+ transcribe,
45
+ } from "./action/transcribe";
46
+ export {
47
+ generateVideoFromImage,
48
+ generateVideoFromText,
49
+ type VideoGenerationResult,
50
+ } from "./action/video";
51
+ export {
52
+ type GenerateVoiceOptions,
53
+ generateVoice,
54
+ type VoiceResult,
55
+ } from "./action/voice";
11
56
  // lib exports - ai-sdk/fal (provider)
12
57
  export * as aiSdkFal from "./lib/ai-sdk/fal";
13
58
  // lib exports - ai-sdk/replicate (provider)
@@ -26,13 +71,5 @@ export * from "./lib/groq";
26
71
  export * from "./lib/higgsfield";
27
72
  // lib exports - replicate
28
73
  export * from "./lib/replicate";
29
- // service exports
30
- export * from "./service/captions";
31
- export * from "./service/edit";
32
- export * from "./service/image";
33
- export * from "./service/sync";
34
- export * from "./service/transcribe";
35
- export * from "./service/video";
36
- export * from "./service/voice";
37
74
  // utilities exports
38
75
  export * from "./utilities/s3";
package/lib/fal.ts CHANGED
@@ -170,17 +170,6 @@ interface FalImageToImageArgs {
170
170
  aspectRatio?: string; // auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
171
171
  }
172
172
 
173
- interface FalWan25Args {
174
- prompt: string;
175
- imageUrl: string; // can be url or local file path
176
- audioUrl: string; // can be url or local file path
177
- resolution?: "480p" | "720p" | "1080p";
178
- duration?: "5" | "10";
179
- negativePrompt?: string;
180
- enablePromptExpansion?: boolean;
181
- enableSafetyChecker?: boolean;
182
- }
183
-
184
173
  export async function imageToImage(args: FalImageToImageArgs) {
185
174
  const modelId = "fal-ai/nano-banana-pro/edit";
186
175
 
package/package.json CHANGED
@@ -2,6 +2,9 @@
2
2
  "name": "varg.ai-sdk",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
+ "bin": {
6
+ "varg": "./cli/index.ts"
7
+ },
5
8
  "scripts": {
6
9
  "lint": "biome check .",
7
10
  "format": "biome format --write ."
@@ -24,6 +27,7 @@
24
27
  "@remotion/cli": "^4.0.377",
25
28
  "@types/fluent-ffmpeg": "^2.1.28",
26
29
  "ai": "^5.0.98",
30
+ "citty": "^0.1.6",
27
31
  "fluent-ffmpeg": "^2.1.3",
28
32
  "groq-sdk": "^0.36.0",
29
33
  "react": "^19.2.0",
@@ -31,5 +35,8 @@
31
35
  "remotion": "^4.0.377",
32
36
  "replicate": "^1.4.0"
33
37
  },
34
- "version": "0.1.0"
38
+ "version": "0.1.1",
39
+ "exports": {
40
+ ".": "./index.ts"
41
+ }
35
42
  }