> ## Documentation Index
> Fetch the complete documentation index at: https://tryunsora.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Upscale video

> Upscale a video up to 25 seconds long with the standard, Ultra 1080p or Ultra 4K model.

Upscales a video up to 25 seconds long. The price comes from the video's measured length:

| `model` | Up to 5 s | Up to 10 s | Longer |
| - | - | - | - |
| `standard` (default) | 10 | 10 | 10 |
| `ultra-1080p` | 6 | 11 | 16 |
| `ultra-4k` | 22 | 43 | 64 |

Poll [Poll video status](https://tryunsora.com/docs/api-reference/video/poll-status.md) with `job.id`.

```bash theme={null}
curl -X POST "https://mvp.tryunsora.com/api/v1/video-upscaler/create" \
  -H "Authorization: Bearer uns_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "videoUrl": "https://cdn.example.com/clip.mp4", "model": "ultra-1080p" }'
```


## OpenAPI

````yaml POST /video-upscaler/create
openapi: 3.1.0
info:
  title: Unsora API
  version: 1.4.0
  description: >-
    Public API for Unsora integrations. Authenticate with an Unsora API key
    (`uns_…`, created under Developers → API keys in the app) as a Bearer token
    in the Authorization header. Limit: 60 requests per minute per key; over it,
    429 with code RATE_LIMIT_EXCEEDED.
servers:
  - url: https://mvp.tryunsora.com/api/v1
    description: Production
  - url: /api/v1
    description: This server
security: []
tags:
  - name: User
  - name: Models
    description: >-
      Every video, image and motion-control model, with each model's inputs
      taken from the provider's own request schema and prices quoted live. One
      generate endpoint covers all of them.
  - name: Video
  - name: Image
  - name: Influencer
  - name: Thumbnail
  - name: Clipping
  - name: Music
  - name: Voiceover
  - name: Upscaler
  - name: Subtitle removal
  - name: Motion control
  - name: Avatar
  - name: Movie materials
  - name: Voice clones
  - name: Voice changer
  - name: Uploads
  - name: Scheduler
paths:
  /video-upscaler/create:
    post:
      tags:
        - Upscaler
      summary: Upscale a video
      description: >-
        Upscales a video up to 25 seconds long. Credits depend on the model and
        the video's measured length: `standard` 10; `ultra-1080p` 6 up to 5s, 11
        up to 10s, 16 longer; `ultra-4k` 22 up to 5s, 43 up to 10s, 64 longer.
        Poll GET /video/status/{id} with `job.id`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                videoUrl:
                  type: string
                  format: uri
                  description: Public http(s) URL of the video file (MP4, WebM or MOV).
                model:
                  type: string
                  enum:
                    - standard
                    - ultra-1080p
                    - ultra-4k
                  default: standard
              required:
                - videoUrl
      responses:
        '200':
          description: Job queued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpscaleJobCreateResponse'
        '400':
          description: >-
            videoUrl isn't an http(s) URL, the video's length can't be read,
            it's longer than 25 seconds, or the model is unknown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Insufficient credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UpscaleJobCreateResponse:
      type: object
      properties:
        success:
          type: boolean
        job:
          type: object
          properties:
            id:
              type: string
            status:
              type: string
              example: QUEUED
            model:
              type: string
              description: Video upscales only.
          required:
            - id
            - status
        creditsDeducted:
          type: integer
        creditsRemaining:
          type: integer
      required:
        - success
        - job
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Unsora API key (`uns_…`). A Clerk session token also works.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.