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

# Upload media for generation inputs

> Upload an image or video and receive a URL for image_url / video_url fields.



## OpenAPI

````yaml /openapi.json post /v1/media/upload
openapi: 3.1.0
info:
  title: Seedance API
  version: 1.0.0
  description: REST API for SeedDance video and Seedream image generation models.
servers:
  - url: https://api.seedanceapi.us
security: []
paths:
  /v1/media/upload:
    post:
      summary: Upload media for generation inputs
      description: >-
        Upload an image or video and receive a URL for image_url / video_url
        fields.
      responses:
        '200':
          description: Uploaded media URL
        '400':
          description: Invalid request
        '413':
          description: File too large
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key (ak_...) from your SeedanceAPI dashboard

````