Skip to main content
POST
/
v1
/
videos
/
{video_id}
/
remix
curl --request POST \
  --url https://toapis.com/v1/videos/task_01K8SGYNNNVBQTXNR4MM964S7K/remix \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "sora-2",
    "prompt": "Add a puppy playing in the scene",
    "duration": 15,
    "aspect_ratio": "16:9"
  }'
{
  "id": "video_01K8SGYNNNVBQTXNR4MM964S7K",
  "object": "generation.task",
  "model": "sora-2",
  "status": "queued",
  "progress": 0,
  "created_at": 1768380224,
  "metadata": {
    "size": "720x720"
  }
}
  • Sora2 video remix feature
  • Remix and edit existing generated videos
  • Supports secondary creation based on existing videos
  • Asynchronous processing mode, returns task ID for subsequent queries

Path Parameters

video_id
string
required
Original video task IDThis is the task ID returned from a previous video generation request

Authorizations

Authorization
string
required
All endpoints require Bearer Token authenticationGet your API Key from the API Key Management PageAdd to request header:
Authorization: Bearer YOUR_API_KEY

Body

model
string
default:"sora-2"
required
Video remix model nameSupported models:
  • sora-2 - Standard version
  • sora-2-pro - Professional version, supports longer duration
  • sora-2-vip - VIP version, higher priority
Example: "sora-2" or "sora-2-pro"
prompt
string
required
Remix instruction description
duration
integer
Video duration in seconds
  • sora-2: Supports 10 or 15 seconds
  • sora-2-pro: Supports 15 seconds (HD) or 25 seconds
Example: 15
aspect_ratio
string
Video aspect ratioSupported ratios:
  • 16:9 - Standard widescreen (recommended)
  • 9:16 - Portrait mode
  • 1:1 - Square
Example: "16:9"

Response

id
string
Unique task identifier for status queries
object
string
Object type, always generation.task
model
string
Model name used
status
string
Task status
  • queued - Queued for processing
  • in_progress - Processing
  • completed - Successfully completed
  • failed - Failed
progress
integer
Task progress percentage (0-100)
created_at
integer
Task creation timestamp (Unix timestamp)
metadata
object
Task metadata
curl --request POST \
  --url https://toapis.com/v1/videos/task_01K8SGYNNNVBQTXNR4MM964S7K/remix \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "sora-2",
    "prompt": "Add a puppy playing in the scene",
    "duration": 15,
    "aspect_ratio": "16:9"
  }'
{
  "id": "video_01K8SGYNNNVBQTXNR4MM964S7K",
  "object": "generation.task",
  "model": "sora-2",
  "status": "queued",
  "progress": 0,
  "created_at": 1768380224,
  "metadata": {
    "size": "720x720"
  }
}