@zodic/shared 0.0.340 → 0.0.342
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 +2 -2
- package/package.json +1 -1
package/app/api/index.ts
CHANGED
|
@@ -782,7 +782,7 @@ export const Api = (env: BackendBindings) => ({
|
|
|
782
782
|
}> => {
|
|
783
783
|
const endpoint = 'https://api.piapi.ai/api/v1/task';
|
|
784
784
|
const headers = {
|
|
785
|
-
|
|
785
|
+
'x-api-key': `${env.PIAPI_API_KEY}`,
|
|
786
786
|
'Content-Type': 'application/json',
|
|
787
787
|
};
|
|
788
788
|
|
|
@@ -810,7 +810,7 @@ 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,
|