# Type

### What exactly does it change?

It only changes the structure of the api response it is not that this function is very important but it can be useful sometimes.

#### Usage:

```python
https://kawaii.red/api/gif/kiss?token=token&type=txt
```

#### Json Response:

```python
{"response": "https://api.kawaii.red/gif/kiss/kiss1.gif"}
```

#### Text Response:

```python
"https://api.kawaii.red/gif/kiss/kiss1.gif"
```

{% hint style="info" %}
The default type is json.
{% endhint %}
