Skip to main content
POST
/
v3
/
async
/
sora-2-video-reverse
OpenAI Sora 2 (reverse) Generate Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/sora-2-video-reverse \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "image": "<string>",
  "duration": 123,
  "size": "<string>",
  "watermark": true,
  "character_url": "<string>",
  "character_timestamps": "<string>"
}
'
{
  "task_id": "<string>"
}
Sora 2 (reverse) is a state-of-the-art video + audio generator. It improves on the original Sora with more accurate physics, clearer realism, synchronized audio, stronger controllability, and a broader range of styles.
This is an asynchronous API and only returns the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the video generation result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

prompt
string
required
The positive text prompt for video generation.
image
string
The input image only supports URL format. Supported image formats include .jpg, .jpeg, and .png.
duration
number
Video duration (seconds)Enum values: 10,15
size
string
Width x height. The specific values are ignored: width > height indicates landscape, and width < height indicates portrait.Enum values:
  • 1280x720 - Standard-definition landscape (actual output resolution is approximately 480P; marked as 480P in the pricing column)
  • 720x1280 - Standard-definition portrait (actual output resolution is approximately 480P; marked as 480P in the pricing column)
watermark
boolean
default:false
Whether a watermark is required. If omitted, the default is no watermark.
character_url
string
The video link required to create a character. Note that no real person may appear in the video, otherwise it will fail.
character_timestamps
string
The time range in seconds during which the video character appears, in the format {start},{end}. Note that the end-start range must be 1–3 seconds.Example value: 1,3

Response Information

task_id
string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result.