# Waves

To request a task on chain on the Waves network, smart contract have to send their request to the following contract:<br>

**TESTNET**

```properties
3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV
```

**See on explorer:** [3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV](https://testnet.wavesexplorer.com/address/3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV)<br>

**MAINNET**\
Soon...

***

### METHOD AND PARAMETERS

Smart Contract need to send their request to the **registerTaskCallback (**&#x64;escription: string, type:string, callback: strin&#x67;**)** method.

**Description:** \
The prompt or URL (for the video summarizer)

**Type:** \
The AI type (see available type list)

**Callback:** \
The name of the method to call back once the task is resolved. \
The callback have to be on the task initiating contract and it have to accept one parameter as string.

***

### AVAILABLE TASK TYPES

**Simple Text Request:**\
chatgpt, orca, gemini, llama3

**Image Generation:**\
dalle, stable-diffusion

**Video Summarize:**\
youtube

**Discussion:**\
discussion

**Brainstorming:**\
brainstorm

***

### TASK PRICE

Text & Chat

| Model              | Price      |
| ------------------ | ---------- |
| OpenAI ChatGPT 4.0 | 0.07 $BAI  |
| Orca 2.0           | 0.01 $BAI  |
| Google Gemini 1.5  | 0.005 $BAI |
| Llama 3.1          | 0.003 $BAI |

Image Generation

| Model              | Price     |
| ------------------ | --------- |
| OpenAI Dall-E 3    | 0.12 $BAI |
| Stable Diffusion 3 | 0.3 $BAI  |

Video Summarizer

| Model   | Price     |
| ------- | --------- |
| Youtube | 0.07 $BAI |

Discussion

| Model      | Price    |
| ---------- | -------- |
| Discussion | 0.1 $BAI |

Brainstorm

| Model      | Price    |
| ---------- | -------- |
| Brainstorm | 0.1 $BAI |

***

### BAI TOKEN DETAILS

**TESTNET**

```properties
AssetId: AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1
Decimal: 8
Name: BAI.
```

**See on explorer:** [AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1](https://testnet.wavesexplorer.com/assets/AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1)<br>

**MAINNET**

```properties
AssetId: 2fdzyHvXGCqaz1XA8m9fodemmP9giVBcpe4Jq9F63oFL
Decimal: 8
Name: BAI.
```

**See on explorer:** [2fdzyHvXGCqaz1XA8m9fodemmP9giVBcpe4Jq9F63oFL](https://wavesexplorer.com/assets/2fdzyHvXGCqaz1XA8m9fodemmP9giVBcpe4Jq9F63oFL)
