post
https://platform.perso.ai/api/video_translator/v2/script/
Create a new project script segment.
Request Parameters
| Parameter | Required | Description |
|---|---|---|
project | Yes | Project ID (starts with pvt-) |
order | Yes | Sequence order of this script segment |
source_language | Yes | Original language code |
target_language | Yes | Translation target language code |
projectvoice | No | Voice ID for this segment (starts with pvtv-) |
start_ms | Yes | Start time in milliseconds |
end_ms | Yes | End time in milliseconds |
duration_ms | Yes | Duration in milliseconds |
text_original | Yes | Original text content |
text_translated | No | Translated text content |
Example
Select "CreateScriptRequest" from the Examples dropdown to see a complete request example.
