source_video_id 或 video_media_id 指定源视频,填写 keyframe_id 与 mask_prompt;返回的遮罩结果可用于主体替换等后续视频编辑能力。curl --location 'https://app-api.pixverseai.cn/openapi/v2/video/mask/selection' \
--header 'API-KEY: your-api-key' \
--header 'Ai-trace-id: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Content-Type: application/json' \
--data '{
"source_video_id": 123456789,
"video_media_id": 987654321,
"keyframe_id": 1,
"mask_prompt": "the person in the center"
}'{
"ErrCode": 0,
"ErrMsg": "Success",
"Resp": {
"property1": "string",
"property2": "string"
}
}