---
title: "Generate upload URL for model content media"
method: POST
path: "/admin/model-content/upload-url"
tags: ["Admin Model Content"]
---

# Generate upload URL for model content media

`POST /admin/model-content/upload-url`

## Request body

- GenerateModelContentUploadUrlDto
  - `target` 'content' | 'story' | 'pack-preview', required
  - `contentType` string

## Response `200`

- ModelContentUploadUrlResponseDto
  - `uploadUrl` string, required
  - `s3Key` string, required

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
