Sora2 Create Character (Character Management)
- Extract characters from videos for use in subsequent video generation
- Asynchronous processing mode, returns task ID for subsequent queries
- Video must contain sound and characters
POST
Authorizations
All API endpoints require Bearer Token authenticationGet your API Key:Visit the API Key Management Page to get your API KeyAdd it to the request header:
Body
Video generation model name
Character appearance timestamp rangeIn seconds, format:
"start_second,end_second"⚠️ Limitations:- Minimum time range difference: 1 second
- Maximum time range difference: 3 seconds
"1,3" means the character appearing from second 1 to second 3 in the videoVideo URL containing the character to create⚠️ Requirements:
- Video must contain sound
- Video must contain a character
- Either
urlorfrom_taskmust be provided (choose one)
"https://cdn.apimart.ai/modelDefaultUrl/Sora-2-vip.mp4"Previously generated video task IDCreate a character from an already generated video task💡 Note:
- Either
urlorfrom_taskmust be provided (choose one) - Use this parameter to extract characters directly from previously generated video tasks
"task_01KBYT59JDHB4A3KDDR9N9JVWP"Response
Response status code, 200 for success
Response data array