Skip to main content
POST

Path Parameters

string
required
The unique identifier of the project to validate against.

Request Body

The request body uses the same format as Create Re-translation. All the same parameters are accepted:
array
required
Array of target language script segments for dubbing.
array
required
Array of target speaker configurations for dubbing.
string
Audio mixing mode for validation.
boolean
Whether to use fixed timings from the target script.
string
TTS volume level for validation.

Response

Valid Request

boolean
Always true when validation passes.

Invalid Request

When validation fails, the response includes error details:
string
Error type (e.g., “ValidationError”).
string
Detailed error message explaining what’s wrong.

Common Validation Errors

Voice Validation

  • Unknown voice keys that don’t exist in the system
  • Voice keys not compatible with the project’s target language
  • Missing voice_key in speaker configuration

Speaker Validation

  • Speaker IDs in script don’t match any target_speakers entries
  • Duplicate speaker IDs in target_speakers array
  • Missing required speaker fields (speaker_id, voice_key, style)

Script Validation

  • Invalid timing values (start_ms >= end_ms)
  • Empty or missing text content
  • Invalid speaker_id references
  • Overlapping time segments

Language Compatibility

  • Voice doesn’t support the project’s target language
  • Special voice keys (soundalike, emotional_transfer) used with unsupported languages