Sora 2

microsoft_sora2

Sora 2 from OpenAI generates photorealistic videos up to 20 seconds with exceptional understanding of physics, motion, and spatial relationships. Creates coherent scenes with complex camera movements.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request.

Value: microsoft_sora2


prompt string required

Video Generate Prompt, Description to Generate Video Content, Length must be in 1-1000 characters.


size string

Video Size, Format as ‘width x high’.

Options: 720 x 1280, 1280 x 720, 1024 x 1792, 1792 x 1024

Error Codes

CodeDescription
401API key is missing or invalid
403Insufficient balance or permission denied
429Rate limit exceeded
500Internal server error