Sora 2 Character
Sora2
Sora Character Generation
- Sora 2 character ID generation, extracts characters from videos for character consistency in subsequent video generation
- Free
- Async processing mode, use the returned task ID to query task status
- Character IDs are returned in the
resultsfield of the task details
POST
Sora 2 Character
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
sora-2-character: Character ID extraction, free
Example:
"sora-2-character"
Video URL containing the character
Notes:
- Must be an
MP4video URL - Input video minimum
720p - Maximum aspect ratio approximately
2.67:1 - Videos exceeding
1080pwill be automatically scaled down - Videos longer than
4seconds will only use the first4seconds
Example:
"https://example.com/character-clip.mp4"
Character name
Notes:
- Length
1-80characters - Use this name to reference the character in subsequent prompts
Maximum string length:
80Example:
"Alice"
Response
Task created successfully
Task creation timestamp
Example:
1757165031
Task ID
Example:
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
Available options:
video.generation.task Task progress percentage (0-100)
Required range:
0 <= x <= 100Example:
0
Task status
Available options:
pending, processing, completed, failed Example:
"pending"
Async task information
Task output type
Available options:
video Example:
"video"