> ## 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.

# Create thumbnail

> Generate thumbnails including YouTube thumbnails via context

Pass YouTube URL in `context` for YouTube thumbnail mode:

```json theme={null}
{
  "prompt": "Bold title, shocked face",
  "context": [{ "type": "youtube", "content": "https://youtube.com/watch?v=..." }],
  "variations": 3
}
```


## OpenAPI

````yaml POST /thumbnails/create
openapi: 3.1.0
info:
  title: Unsora API
  version: 1.2.0
  description: >-
    Public API for Unsora integrations. Authenticate with Clerk JWT or
    uns_live_* API key. API keys are rate-limited to 60 requests/minute and
    support idempotency keys. Async jobs complete via polling GET
    /image/status/{id}.
servers:
  - url: https://mvp.tryunsora.com/api/v1
    description: Versioned API (recommended)
security: []
tags:
  - name: Clippings
  - name: Connect
  - name: Image Generations
  - name: Music Generations
  - name: Influencer Studio
  - name: Posts
  - name: Thumbnails
  - name: User
  - name: Video Generations
paths:
  /thumbnails/create:
    post:
      tags:
        - Thumbnails
      summary: Create thumbnail generation job
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
                variations:
                  type: integer
                context:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - youtube
                          - document
                      content:
                        type: string
      responses:
        '200':
          description: Job queued
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````