@imgly/plugin-ai-image-generation-web 0.2.4 → 0.2.6
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/CHANGELOG.md +22 -0
- package/README.md +186 -4
- package/dist/fal-ai/NanoBanana.d.ts +13 -0
- package/dist/fal-ai/NanoBananaEdit.d.ts +13 -0
- package/dist/fal-ai/RecraftV3.constants.d.ts +2 -2
- package/dist/fal-ai/RecraftV3.d.ts +5 -5
- package/dist/fal-ai/__tests__/RecraftV3.test.d.ts +1 -0
- package/dist/fal-ai/createFalClient.d.ts +3 -0
- package/dist/fal-ai/createImageProvider.d.ts +4 -1
- package/dist/fal-ai/index.d.ts +4 -0
- package/dist/fal-ai/index.mjs +10 -10
- package/dist/fal-ai/index.mjs.map +4 -4
- package/dist/fal-ai/utils.d.ts +3 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +4 -4
- package/dist/open-ai/index.mjs +2 -2
- package/dist/open-ai/index.mjs.map +4 -4
- package/dist/quickActions/ArtistTransfer.d.ts +1 -0
- package/dist/quickActions/CombineImages.d.ts +1 -0
- package/dist/quickActions/CreateVariant.d.ts +1 -0
- package/dist/quickActions/EditImage.d.ts +1 -0
- package/dist/quickActions/RemixPage.d.ts +1 -0
- package/dist/quickActions/RemixPageWithPrompt.d.ts +1 -0
- package/dist/quickActions/StyleTransfer.d.ts +1 -0
- package/dist/quickActions/SwapBackground.d.ts +1 -0
- package/dist/quickActions/__tests__/EditImage.test.d.ts +1 -0
- package/package.json +2 -1
package/dist/fal-ai/utils.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import CreativeEditorSDK from '@cesdk/cesdk-js';
|
|
2
|
+
import { FalClient } from './createFalClient';
|
|
2
3
|
type CustomImageSize = {
|
|
3
4
|
width: number;
|
|
4
5
|
height: number;
|
|
5
6
|
};
|
|
6
7
|
export declare function isCustomImageSize(imageSize: any): imageSize is CustomImageSize;
|
|
7
|
-
export declare function uploadImageInputToFalIfNeeded(imageUrl?: string, cesdk?: CreativeEditorSDK): Promise<string | undefined>;
|
|
8
|
+
export declare function uploadImageInputToFalIfNeeded(client: FalClient, imageUrl?: string, cesdk?: CreativeEditorSDK): Promise<string | undefined>;
|
|
9
|
+
export declare function uploadImageArrayToFalIfNeeded(client: FalClient, imageUrls?: string[], cesdk?: CreativeEditorSDK): Promise<string[] | undefined>;
|
|
8
10
|
export {};
|