Commit a7343fea authored by duanjinfei's avatar duanjinfei

update model prediction

parent 169bf0df
...@@ -51,7 +51,7 @@ const data = { ...@@ -51,7 +51,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/bark", data, price); const response = await aonweb.prediction("/predictions/ai/bark@suno-ai", data, price);
// Handle response // Handle response
console.log("Bark result:", response); console.log("Bark result:", response);
} catch (error) { } catch (error) {
......
...@@ -72,7 +72,7 @@ const data = { ...@@ -72,7 +72,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/blip", data, price); const response = await aonweb.prediction("/predictions/ai/blip@salesforce", data, price);
// Handle response // Handle response
console.log("Blip result:", response); console.log("Blip result:", response);
} catch (error) { } catch (error) {
......
...@@ -84,7 +84,7 @@ const data = { ...@@ -84,7 +84,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/blip-2", data, price); const response = await aonweb.prediction("/predictions/ai/blip-2@andreasjansson", data, price);
// Handle response // Handle response
console.log("Blip-2 result:", response); console.log("Blip-2 result:", response);
} catch (error) { } catch (error) {
......
...@@ -72,7 +72,7 @@ const data = { ...@@ -72,7 +72,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/chat-tts", data, price); const response = await aonweb.prediction("/predictions/ai/chat-tts@thlz998", data, price);
// Handle response // Handle response
console.log("Chattts result:", response); console.log("Chattts result:", response);
} catch (error) { } catch (error) {
......
...@@ -54,7 +54,7 @@ const data = { ...@@ -54,7 +54,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/codeformer", data, price); const response = await aonweb.prediction("/predictions/ai/codeformer@lucataco", data, price);
// Handle response // Handle response
console.log("Codeformer result:", response); console.log("Codeformer result:", response);
} catch (error) { } catch (error) {
......
...@@ -90,7 +90,7 @@ const data = { ...@@ -90,7 +90,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/controlnet", data, price); const response = await aonweb.prediction("/predictions/ai/controlnet@jagilley", data, price);
// Handle response // Handle response
console.log("Controlnet result:", response); console.log("Controlnet result:", response);
} catch (error) { } catch (error) {
......
...@@ -52,7 +52,7 @@ const data = { ...@@ -52,7 +52,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/face-swap", data, price); const response = await aonweb.prediction("/predictions/ai/face-swap@omniedgeio", data, price);
// Handle response // Handle response
console.log("Face swap result:", response); console.log("Face swap result:", response);
} catch (error) { } catch (error) {
......
...@@ -79,7 +79,7 @@ const data = { ...@@ -79,7 +79,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/flux-schnells", data, price); const response = await aonweb.prediction("/predictions/ai/flux-schnell@iAON", data, price);
// Handle response // Handle response
console.log("Flux-Schnell result:", response); console.log("Flux-Schnell result:", response);
} catch (error) { } catch (error) {
......
...@@ -52,7 +52,7 @@ const data = { ...@@ -52,7 +52,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/gfpgan", data, price); const response = await aonweb.prediction("/predictions/ai/gfpgan@lucataco", data, price);
// Handle response // Handle response
console.log("Gfpgan result:", response); console.log("Gfpgan result:", response);
} catch (error) { } catch (error) {
......
...@@ -59,7 +59,7 @@ const data = { ...@@ -59,7 +59,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/idm-vton", data, price); const response = await aonweb.prediction("/predictions/ai/idm-vton@cuuupid", data, price);
// Handle response // Handle response
console.log("IDM-VTON Response:", response); console.log("IDM-VTON Response:", response);
} catch (error) { } catch (error) {
......
...@@ -57,7 +57,7 @@ const data = { ...@@ -57,7 +57,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/minigpt-4", data, price); const response = await aonweb.prediction("/predictions/ai/minigpt-4@daanelson", data, price);
// Handle response // Handle response
console.log("MiniGpt-4 result:", response); console.log("MiniGpt-4 result:", response);
} catch (error) { } catch (error) {
......
...@@ -63,7 +63,7 @@ const data = { ...@@ -63,7 +63,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/pulid", data, price); const response = await aonweb.prediction("/predictions/ai/pulid@zsxkib", data, price);
// Handle response // Handle response
console.log("pulid result:", response); console.log("pulid result:", response);
} catch (error) { } catch (error) {
......
...@@ -52,7 +52,7 @@ const data = { ...@@ -52,7 +52,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/real-esrgan", data, price); const response = await aonweb.prediction("/predictions/ai/real-esrgan@lucataco", data, price);
// Handle response // Handle response
console.log("Real-Esrgan result:", response); console.log("Real-Esrgan result:", response);
} catch (error) { } catch (error) {
......
...@@ -55,7 +55,7 @@ const data = { ...@@ -55,7 +55,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/sadtalker", data, price); const response = await aonweb.prediction("/predictions/ai/sadtalker@lucataco", data, price);
// Handle response // Handle response
console.log("sadtalker result:", response); console.log("sadtalker result:", response);
} catch (error) { } catch (error) {
......
...@@ -102,7 +102,7 @@ const data = { ...@@ -102,7 +102,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/sdxl", data, price); const response = await aonweb.prediction("/predictions/ai/sdxl@asiryan", data, price);
// Handle response // Handle response
console.log("Sdxl result:", response); console.log("Sdxl result:", response);
} catch (error) { } catch (error) {
......
...@@ -55,7 +55,7 @@ const data = { ...@@ -55,7 +55,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/stable-diffusion-3", data, price); const response = await aonweb.prediction("/predictions/ai/stable-diffusion-3@stability-ai", data, price);
// Handle response // Handle response
} catch (error) { } catch (error) {
// Error handling // Error handling
......
...@@ -89,7 +89,7 @@ const data = { ...@@ -89,7 +89,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/stable-diffusion", data, price); const response = await aonweb.prediction("/predictions/ai/stable-diffusion@stability-ai", data, price);
// Handle response // Handle response
console.log("Stable-Diffusion result:", response); console.log("Stable-Diffusion result:", response);
} catch (error) { } catch (error) {
......
...@@ -121,7 +121,7 @@ const data = { ...@@ -121,7 +121,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/whisper", data, price); const response = await aonweb.prediction("/predictions/ai/whisper@soykertje", data, price);
// Handle response // Handle response
console.log("Whisper result:", response); console.log("Whisper result:", response);
} catch (error) { } catch (error) {
......
...@@ -54,7 +54,7 @@ const data = { ...@@ -54,7 +54,7 @@ const data = {
```js ```js
const price = 8; // Cost of the AI call const price = 8; // Cost of the AI call
try { try {
const response = await aonweb.prediction("/predictions/ai/xtts-v2", data, price); const response = await aonweb.prediction("/predictions/ai/xtts-v2@lucataco", data, price);
// Handle response // Handle response
console.log("XTTS-V2 result:", response); console.log("XTTS-V2 result:", response);
} catch (error) { } catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment