# Set embed cover image
`PUT https://octopus.livepush.io/streams/{stream_id}/embed/assets/cover_img`
Attaches an already-uploaded image as the player cover, shown before playback starts.
Upload the file first with `POST /streams/{stream_id}/embed/assets/upload_url`.

Requires a token with write access to the stream (`CanWriteStreams`).
- **Tag:** Stream Embed
- **Operation ID:** `putStreamEmbedAssetsCoverImg`
- **Authentication:** Bearer token required
- **Docs:** https://developers.livepush.io/stream-embed/set-embed-cover-image/

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `stream_id` | string | yes | Unique identifier of the stream. |


### Request body

`application/json` (required)

- `imageName` (string) **required** — Original filename of the uploaded image.
- `imageId` (string) **required** — Identifier returned when the asset was uploaded.


```json
{
  "imageName": "cover.jpg",
  "imageId": "img_xxxxxxxxxxxx"
}
```


### Example request

```bash
curl -X PUT 'https://octopus.livepush.io/streams/st_xxxxxxxxxxxxx/embed/assets/cover_img' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "imageName": "cover.jpg",
    "imageId": "img_xxxxxxxxxxxx"
  }'
```


### Responses


#### 200 — Setting applied.

- `success` (boolean)


```json
{
  "success": true
}
```


#### 400 — Response


#### 401 — Response

