Skip to main content
POST
중국 본토 사용자 안내: 중국 본토 사용자는 https://toapis.cn 를 API 엔드포인트(Base URL)로 사용해 주세요. 본 문서의 예시에서 https://toapis.com 을 https://toapis.cn 로 바꿔 주세요.
The docs Playground does not support file uploads: Please use the cURL, Python, or JavaScript code examples below for testing.

Why Upload First?

  1. Unified input flow - Upload local videos once and reuse the returned public URL
  2. Less repeated transfer - The same uploaded video can be referenced by multiple generation requests

Authorizations

string
필수
Use Bearer Token for authenticationGet your API Key: Visit API Key Management

Body

file
필수
Video fileSupported formats:
  • MP4 (.mp4)
  • WebM (.webm)
  • MOV (.mov)
Limits:
  • Maximum file size: 50MB
string
Upload purpose (optional)Default: generation

응답

boolean
Whether the request succeeded
object