Skip to content

Commit

Permalink
Merge pull request #9 from MGalaCyber/master
Browse files Browse the repository at this point in the history
fixed tiktok not found | v2.1.9
  • Loading branch information
MGalaCyber authored Feb 8, 2024
2 parents 2208cb0 + 5199f73 commit 7e927ee
Show file tree
Hide file tree
Showing 15 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mgalacyber/universeapi",
"version": "2.1.7",
"version": "2.1.9",
"description": "UniverseAPI Scraper package endpoint",
"main": "index.js",
"typings": "./typings/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/v1/AI/Blackbox.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = function(Api) {
return {
Model1: async (promt) => (await Api()).Get("v1/ai/blackbox/model1", { promt }),
Model2v4: async (promt) => (await Api()).Get("v1/ai/blackbox/model2-v4", { promt }),
Model1: async (prompt) => (await Api()).Get("v1/ai/blackbox/model1", { prompt }),
Model2v4: async (prompt) => (await Api()).Get("v1/ai/blackbox/model2-v4", { prompt }),
}
};
26 changes: 13 additions & 13 deletions src/v1/AI/ChatGPT.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module.exports = function(Api) {
return {
Model1: async (promt) => (await Api()).Get("v1/ai/chatgpt/model1", { promt }),
Model2: async (promt) => (await Api()).Get("v1/ai/chatgpt/model2", { promt }),
Model3: async (promt) => (await Api()).Get("v1/ai/chatgpt/model3", { promt }),
Model4: async (promt) => (await Api()).Get("v1/ai/chatgpt/model4", { promt }),
Model5: async (promt) => (await Api()).Get("v1/ai/chatgpt/model5", { promt }),
Model6: async (promt) => (await Api()).Get("v1/ai/chatgpt/model6", { promt }),
Model7Go: async (promt) => (await Api()).Get("v1/ai/chatgpt/model7-go", { promt }),
Model8Promt: async (promt, text) => (await Api()).Get("v1/ai/chatgpt/model8-promt", { promt, text }),
Model9v4: async (promt) => (await Api()).Get("v1/ai/chatgpt/model9-v4", { promt }),
Model10v4: async (promt) => (await Api()).Get("v1/ai/chatgpt/model10-v4", { promt }),
Model11Dalle: async (promt) => (await Api()).Get("v1/ai/chatgpt/model11-dalle", { promt }),
Model12Turbo: async (promt) => (await Api()).Get("v1/ai/chatgpt/model12-turbo", { promt }),
Model13Turbo: async (promt) => (await Api()).Get("v1/ai/chatgpt/model13-turbo", { promt }),
Model1: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model1", { prompt }),
Model2: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model2", { prompt }),
Model3: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model3", { prompt }),
Model4: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model4", { prompt }),
Model5: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model5", { prompt }),
Model6: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model6", { prompt }),
Model7Go: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model7-go", { prompt }),
Model8Prompt: async (prompt, text) => (await Api()).Get("v1/ai/chatgpt/model8-prompt", { prompt, text }),
Model9v4: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model9-v4", { prompt }),
Model10v4: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model10-v4", { prompt }),
Model11Dalle: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model11-dalle", { prompt }),
Model12Turbo: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model12-turbo", { prompt }),
Model13Turbo: async (prompt) => (await Api()).Get("v1/ai/chatgpt/model13-turbo", { prompt }),
}
};
10 changes: 5 additions & 5 deletions src/v1/AI/Google.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = function(Api) {
return {
Gemini: {
Pro: async (promt) => (await Api()).Get("v1/ai/google/gemini/pro", { promt }),
ProVisionModelAttach: async (image, promt) => (await Api()).Post("v1/ai/google/gemini/pro-vision-attach", { image, promt }),
ProVisionModelUrl: async (image, promt) => (await Api()).Get("v1/ai/google/gemini/pro-vision-url", { image, promt })
Pro: async (prompt) => (await Api()).Get("v1/ai/google/gemini/pro", { prompt }),
ProVisionModelAttach: async (image, prompt) => (await Api()).Post("v1/ai/google/gemini/pro-vision-attach", { image, prompt }),
ProVisionModelUrl: async (image, prompt) => (await Api()).Get("v1/ai/google/gemini/pro-vision-url", { image, prompt })
},
Bard: {
Model1: async (promt) => (await Api()).Get("v1/ai/google/bard/model1", { promt }),
Model2Image: async (url, promt) => (await Api()).Get("v1/ai/google/bard/model2-img", { url, promt }),
Model1: async (prompt) => (await Api()).Get("v1/ai/google/bard/model1", { prompt }),
Model2Image: async (url, prompt) => (await Api()).Get("v1/ai/google/bard/model2-img", { url, prompt }),
}
}
};
4 changes: 2 additions & 2 deletions src/v1/AI/Microsoft.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = function(Api) {
return {
Bing: {
Model1: async (promt) => (await Api()).Get("v1/ai/microsoft/bing/model1", { promt }),
Model2Image: async (url, promt) => (await Api()).Get("v1/ai/microsoft/bing/model2-img", { url, promt }),
Model1: async (prompt) => (await Api()).Get("v1/ai/microsoft/bing/model1", { prompt }),
Model2Image: async (url, prompt) => (await Api()).Get("v1/ai/microsoft/bing/model2-img", { url, prompt }),
}
}
};
2 changes: 1 addition & 1 deletion src/v1/AI/StableDiffusion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = function(Api) {
return {
Model1: async (promt) => (await Api()).Get("v1/ai/stablediffusion/model1", { promt }),
Model1: async (prompt) => (await Api()).Get("v1/ai/stablediffusion/model1", { prompt }),
}
};
12 changes: 6 additions & 6 deletions src/v1/AI/TextToImage.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = function(Api) {
return {
Model1: async (promt) => (await Api()).Get("v1/ai/text2img/model1", { promt }),
Model2: async (promt) => (await Api()).Get("v1/ai/text2img/model2", { promt }),
Model3: async (promt) => (await Api()).Get("v1/ai/text2img/model3", { promt }),
Model4: async (promt) => (await Api()).Get("v1/ai/text2img/model4", { promt }),
Model5: async (promt) => (await Api()).Get("v1/ai/text2img/model5", { promt }),
Model6: async (promt) => (await Api()).Get("v1/ai/text2img/model6", { promt }),
Model1: async (prompt) => (await Api()).Get("v1/ai/text2img/model1", { prompt }),
Model2: async (prompt) => (await Api()).Get("v1/ai/text2img/model2", { prompt }),
Model3: async (prompt) => (await Api()).Get("v1/ai/text2img/model3", { prompt }),
Model4: async (prompt) => (await Api()).Get("v1/ai/text2img/model4", { prompt }),
Model5: async (prompt) => (await Api()).Get("v1/ai/text2img/model5", { prompt }),
Model6: async (prompt) => (await Api()).Get("v1/ai/text2img/model6", { prompt }),
}
};
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ declare module "@mgalacyber/universeapi" {
* const result = await UniverseAPI.V1.Download.TikTok.Model1(url);
* console.log(result);
*/
TikTok: import("./v1/Download/Tiktok").TikTok,
Tiktok: import("./v1/Download/Tiktok").TikTok,

/**
* Download content from Twitter.
Expand Down
4 changes: 2 additions & 2 deletions typings/v1/AI/Blackbox.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export class Blackbox {
Model1: (promt: string) => Promise<any>;
Model2v4: (promt: string) => Promise<any>;
Model1: (prompt: string) => Promise<any>;
Model2v4: (prompt: string) => Promise<any>;
}
26 changes: 13 additions & 13 deletions typings/v1/AI/ChatGPT.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export class ChatGPT {
Model1: (promt: string) => Promise<any>;
Model2: (promt: string) => Promise<any>;
Model3: (promt: string) => Promise<any>;
Model4: (promt: string) => Promise<any>;
Model5: (promt: string) => Promise<any>;
Model6: (promt: string) => Promise<any>;
Model7Go: (promt: string) => Promise<any>;
Model8Promt: (promt: string, text: string) => Promise<any>;
Model9v4: (promt: string) => Promise<any>;
Model10v4: (promt: string) => Promise<any>;
Model11Dalle: (promt: string) => Promise<any>;
Model12Turbo: (promt: string) => Promise<any>;
Model13Turbo: (promt: string) => Promise<any>;
Model1: (prompt: string) => Promise<any>;
Model2: (prompt: string) => Promise<any>;
Model3: (prompt: string) => Promise<any>;
Model4: (prompt: string) => Promise<any>;
Model5: (prompt: string) => Promise<any>;
Model6: (prompt: string) => Promise<any>;
Model7Go: (prompt: string) => Promise<any>;
Model8Prompt: (prompt: string, text: string) => Promise<any>;
Model9v4: (prompt: string) => Promise<any>;
Model10v4: (prompt: string) => Promise<any>;
Model11Dalle: (prompt: string) => Promise<any>;
Model12Turbo: (prompt: string) => Promise<any>;
Model13Turbo: (prompt: string) => Promise<any>;
}
10 changes: 5 additions & 5 deletions typings/v1/AI/Google.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export class Gemini {
Pro: (promt: string) => Promise<any>;
ProVisionModelAttach: (image: string, promt: string) => Promise<any>;
ProVisionModelUrl: (image: string, promt: string) => Promise<any>;
Pro: (prompt: string) => Promise<any>;
ProVisionModelAttach: (image: string, prompt: string) => Promise<any>;
ProVisionModelUrl: (image: string, prompt: string) => Promise<any>;
}

export class Bard {
Model1: (promt: string) => Promise<any>;
Model2Image: (url: string, promt: string) => Promise<any>;
Model1: (prompt: string) => Promise<any>;
Model2Image: (url: string, prompt: string) => Promise<any>;
}
4 changes: 2 additions & 2 deletions typings/v1/AI/Microsoft.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export class Bing {
Model1: (promt: string) => Promise<any>;
Model2Image: (url: string, promt: string) => Promise<any>;
Model1: (prompt: string) => Promise<any>;
Model2Image: (url: string, prompt: string) => Promise<any>;
}
2 changes: 1 addition & 1 deletion typings/v1/AI/StableDiffusion.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export class StableDiffusion {
Model1: (promt: string) => Promise<any>;
Model1: (prompt: string) => Promise<any>;
}
12 changes: 6 additions & 6 deletions typings/v1/AI/TextToImage.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export class TextToImage {
Model1: (promt: string) => Promise<any>;
Model2: (promt: string) => Promise<any>;
Model3: (promt: string) => Promise<any>;
Model4: (promt: string) => Promise<any>;
Model5: (promt: string) => Promise<any>;
Model6: (promt: string) => Promise<any>;
Model1: (prompt: string) => Promise<any>;
Model2: (prompt: string) => Promise<any>;
Model3: (prompt: string) => Promise<any>;
Model4: (prompt: string) => Promise<any>;
Model5: (prompt: string) => Promise<any>;
Model6: (prompt: string) => Promise<any>;
}
2 changes: 1 addition & 1 deletion typings/v1/Download/Tiktok.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export class TikTok {
export class Tiktok {
Model1: (url: string) => Promise<any>;
Model2: (url: string) => Promise<any>;
Model3: (url: string) => Promise<any>;
Expand Down

0 comments on commit 7e927ee

Please sign in to comment.