---
title: "Create a new hyper lora and get upload URLs"
method: POST
path: "/v1/hyper-loras"
tags: ["Hyper Loras"]
---

# Create a new hyper lora and get upload URLs

`POST /v1/hyper-loras`

Creates a new hyper lora entry and returns pre-signed upload URLs for the reference photo and lora file. Files will be stored at hyperlora/[race]/[ageSpan]/[id]/source and hyperlora/[race]/[ageSpan]/[id]/lora.safetensors

## Headers

- `x-api-key` string, required

## Request body

- CreateHyperLoraRequestDto
  - `race` 'afro' | 'arab' | 'asian' | 'caucasian' | 'latina', required
  - `ageSpan` '18' | '20' | '30' | '40' | '50', required
  - `referencePhotoContentType` 'image/jpeg' | 'image/png' | 'image/webp' — Content type for the reference photo

## Response `201`

Hyper lora created successfully with upload URLs

---

[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)
