# Like a Design

Add a design to your personas liked collection. Save a design to your liked collection by creating a training.

### Endpoint

```
POST /v2/personas/:persona_id/trainings
```

### Parameters

| Parameter | Type   | Description                                                                                                                                                                                                    |
| --------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| image     | string | **Required.** Image URL of the design you want to like. You can upload it to Luw\.ai servers with [**/upload**](https://luw-ai.gitbook.io/api/luw.ai-api-documentation/introduction/uploading-files) endpoint. |
| extras    | string | *Optional.* Prompt of the liked design.                                                                                                                                                                        |

### Example Request

```bash
curl -X POST https://api.luw.ai/v2/personas/123/trainings \
    -H "Authorization: Bearer YOUR_API_TOKEN" \
    -d "image=https://example.com/interior-design.jpg" \
    -d "extras=cozy living room"
```

### Response

```json
{
    "status": true,
    "training_id": 789
}
```

> **Note:** Using the training endpoint without a slot allows you to save **(like)** designs to your persona's collection.

To remove likes, you can use [**Remove Training Endpoint**](https://luw-ai.gitbook.io/api/luw.ai-api-documentation/training-endpoints#delete-training) with **`training_id`** returns from Luw\.ai API.
