1. Sora
TikHub-AI-Proxy
  • Overview (PLEASE READ)
  • Streaming API
  • OpenAI
    • OpenAI response
      POST
    • OpenAI embeddings
      POST
    • OpenAI audio transcription
      POST
    • OpenAI chat completion
      POST
  • Claude
    • Claude chat completion
      POST
    • Claude message
      POST
  • DeepSeek
    • DeepSeek chat completion
      POST
  • Sora
    • Sora video generation
      POST
    • Get Sora video status
      GET
    • Download Sora video content
      GET
    • Remix Sora video
      POST
    • List Sora videos
      GET
    • Delete Sora video
      DELETE
  • Gemini
    • Gemini content
      POST
  • Seedance
    • Seedance video generation
      POST
    • Retrieve Seedance task
      GET
  • Kling
    • Kling text-to-video
      POST
    • Retrieve Kling text-to-video task
      GET
    • Kling image-to-video
      POST
    • Retrieve Kling image-to-video task
      GET
  • Veo
    • Veo video generation
    • Fetch Veo video generation status
  • Schemas
    • ChatCompletionRequest
    • ChatMessage
    • Tool
    • ToolCall
    • ChatCompletionResponse
    • ChatCompletionChoice
    • ContentFilterResults
    • UsageInfo
    • EmbeddingRequest
    • EmbeddingResponse
    • TranscriptionRequest
    • TranscriptionResponse
    • ClaudeMessageRequest
    • ClaudeMessageResponse
    • VideoCreateRequest
    • VideoResponse
    • VideoRemixRequest
    • GeminiGenerateContentRequest
    • VideoListResponse
    • GeminiContent
    • VideoDeleteResponse
    • GeminiGenerationConfig
    • ResponseRequest
    • GeminiGenerateContentResponse
    • ResponseObject
    • SeedanceTaskRequest
    • SeedanceTaskCreateResponse
    • SeedanceTaskResponse
    • KlingText2VideoRequest
    • KlingImage2VideoRequest
    • KlingTaskResponse
    • KlingTaskDetailResponse
    • KlingTaskListResponse
    • VeoGenerateRequest
    • VeoOperationResponse
    • VeoFetchOperationRequest
    • VeoFetchOperationResponse
  1. Sora

Sora video generation

POST
https://ai.tikhub.io/v1/videos
Sora
Creates a video generation request using OpenAI Sora models. Generate high-quality videos from text prompts with customizable size and duration.

How To Use#

Simply specify the model name in your request payload. All other parameters remain the same across different models.

Supported Models#

sora-2-vip (same as sora-2)
sora-2-pro

Video Sizes#

1280x720 (landscape)
720x1280 (portrait)

Duration#

8 seconds
12 seconds
15 seconds

Input Reference (Optional)#

You can guide a generation with an input image, which acts as the first frame of your video. This is useful if you need the output video to preserve the look of a brand asset, a character, or a specific environment. The image must match the target video's resolution (size). Supported formats: image/jpeg, image/png, image/webp.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples
{
    "model": "sora-2",
    "prompt": "A calico cat playing a piano on stage"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://ai.tikhub.io/v1/videos' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "sora-2",
    "prompt": "A calico cat playing a piano on stage"
}'

Responses

🟢200OK
application/json
Video generation request created successfully
Body

Example
{
    "id": "video_68d7512d07848190b3e45da0ecbebcde004da08e1e0678d5",
    "object": "video",
    "created_at": 1758941485,
    "status": "queued",
    "model": "sora-2-pro",
    "progress": 0,
    "seconds": "8",
    "size": "1280x720"
}
🟠400Bad Request
🟠401Unauthorized
🟠429Too Many Requests
🔴500Internal Server Error
Modified at 2026-03-03 02:32:11
Previous
DeepSeek chat completion
Next
Get Sora video status
Built with