---
title: "Add photo"
method: POST
path: "/medias/photo"
tags: ["Media"]
---

# Add photo

`POST /medias/photo`

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- CreatePhotoInput
  - `filename` string, required — File name
  - `status` 'Uploading' | 'Uploaded' | 'Transcoding' | 'Ready' | 'Ingest' | 'Processing' | 'Complete' | 'ImageComplete' | 'AudioComplete' | 'SubtitleComplete', required — The current status of the photo file. Enum
  - `width` number, required — Width of image
  - `height` number, required — Height of image
  - `imgPath` string, required — The URL of the image file

## Response `201`

Image media created.

---

[API](https://skmtc.net/fanhero/apis/tenant-endpoints.md) · [All operations](https://skmtc.net/fanhero/apis/tenant-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fanhero/tenant-endpoints/revisions/8e7584c449dc/schema)
