@zodic/shared 0.0.341 → 0.0.343
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/app/api/index.ts +8 -8
- package/package.json +1 -1
package/app/api/index.ts
CHANGED
|
@@ -810,18 +810,18 @@ export const Api = (env: BackendBindings) => ({
|
|
|
810
810
|
|
|
811
811
|
const body = JSON.stringify({
|
|
812
812
|
model: 'Qubico/image-toolkit',
|
|
813
|
-
type: '
|
|
813
|
+
type: 'face-swap',
|
|
814
814
|
input: {
|
|
815
815
|
source_image_url: sourceImageUrl,
|
|
816
816
|
target_image_url: targetImageUrl,
|
|
817
817
|
},
|
|
818
|
-
config: {
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
},
|
|
818
|
+
// config: {
|
|
819
|
+
// webhook_config: {
|
|
820
|
+
// endpoint:
|
|
821
|
+
// 'https://zodic-backend.lucdelbel.workers.dev/api/webhook/faceswap',
|
|
822
|
+
// // secret: '',
|
|
823
|
+
// },
|
|
824
|
+
// },
|
|
825
825
|
});
|
|
826
826
|
|
|
827
827
|
console.log('Sending FaceSwap request:', { sourceImageUrl, targetImageUrl });
|