- Image Translation
- Image AI Tools
- Create product image generation taskPOST
- Query product image generation taskPOST
- Create precise cutout taskPOST
- Query precise cutout taskPOST
- Create basic HD upscaling taskPOST
- Query basic HD upscaling taskPOST
- Create smart cutout taskPOST
- Query smart cutout taskPOST
- Create face swapping taskPOST
- Query face swapping taskPOST
- Create image upscaling taskPOST
- Query image upscaling taskPOST
- Create image variation taskPOST
- Query image variation taskPOST
- Text Service
- Video Translation
Create video subtitle translation task
POST
https://api.piclaza.com/task/v1/video/translate-text
Video
Last modified:2025-06-23 10:53:58
Request
Body Params application/json
Video translation request parameters
video_url
string
optional
video_urls
array[string]
optional
video_shortcode
string
optional
grouping
boolean
optional
title
string
optional
source
enum<string> <enum>
optional
Allowed values:
unknownapiwebext
source_language
enum<string> <enum>
required
Allowed values:
ARCHSCHTCSYDEUENGESPFRAHUNIDITAJPNJWKORMSMYNLDPLKPTBROMRUSTHTLTRKVIN
target_language
enum<string> <enum>
required
Allowed values:
ARCHSCHTCSYDEUENGESPFRAHUNIDITAJPNJWKORMSMYNLDPLKPTBROMRUSTHTLTRKVIN
subtitle_options
object
optional
disable
boolean
optional
font_name
string
optional
font_size
integer <int32>
optional
bold
boolean
optional
italic
boolean
optional
text_color
string
optional
background_color
string
optional
stroke_width
integer <int32>
optional
stroke_color
string
optional
shadow_x
integer <int32>
optional
shadow_y
integer <int32>
optional
shadow_range
integer <int32>
optional
shadow_color
string
optional
dubbing_options
object
optional
gender
enum<string> <enum>
optional
Allowed values:
MaleFemale
style
enum<string> <enum>
optional
Allowed values:
chatangrycheerfulexcitedfriendlyhopefulsadshoutingterrifiedunfriendlywhispering
locale
string
optional
name
string
optional
rate
number <float>
optional
pitch
number <float>
optional
volume
integer <int32>
optional
bgm_options
object
optional
mode
enum<string> <enum>
optional
Allowed values:
randomnamestyleoriginalsilenceupload
name
string
optional
style
enum<string> <enum>
optional
Allowed values:
fashionmandarinforeignlivelyfunnylong
volume
integer <int32>
optional
audio
string
optional
Example
{
"video_url": "string",
"video_urls": [
"string"
],
"video_shortcode": "string",
"grouping": true,
"title": "string",
"source": "unknown",
"source_language": "AR",
"target_language": "AR",
"subtitle_options": {
"disable": true,
"font_name": "string",
"font_size": 0,
"bold": true,
"italic": true,
"text_color": "string",
"background_color": "string",
"stroke_width": 0,
"stroke_color": "string",
"shadow_x": 0,
"shadow_y": 0,
"shadow_range": 0,
"shadow_color": "string"
},
"dubbing_options": {
"gender": "Male",
"style": "chat",
"locale": "string",
"name": "string",
"rate": 0,
"pitch": 0,
"volume": 0
},
"bgm_options": {
"mode": "random",
"name": "string",
"style": "fashion",
"volume": 0,
"audio": "string"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.piclaza.com/task/v1/video/translate-text' \
--header 'Content-Type: application/json' \
--data-raw '{
"video_url": "string",
"video_urls": [
"string"
],
"video_shortcode": "string",
"grouping": true,
"title": "string",
"source": "unknown",
"source_language": "AR",
"target_language": "AR",
"subtitle_options": {
"disable": true,
"font_name": "string",
"font_size": 0,
"bold": true,
"italic": true,
"text_color": "string",
"background_color": "string",
"stroke_width": 0,
"stroke_color": "string",
"shadow_x": 0,
"shadow_y": 0,
"shadow_range": 0,
"shadow_color": "string"
},
"dubbing_options": {
"gender": "Male",
"style": "chat",
"locale": "string",
"name": "string",
"rate": 0,
"pitch": 0,
"volume": 0
},
"bgm_options": {
"mode": "random",
"name": "string",
"style": "fashion",
"volume": 0,
"audio": "string"
}
}'
Responses
🟢200OK
application/json
Body
Response result
code
integer <int32>
optional
message
string
optional
data
object
optional
results
array[object (VideoTranslateTextResult) {7}]
optional
groups
array[object (VideoTranslateTextGroup) {13}]
optional
Example
{
"code": 0,
"message": "string",
"data": {
"results": [
{
"code": 0,
"message": "string",
"task_id": "string",
"type": "string",
"status": "string",
"created_at": "string",
"updated_at": "string"
}
],
"groups": [
{
"group_id": "string",
"user_id": "string",
"type": "string",
"source": "unknown",
"status": "string",
"title": "string",
"cover_image_url": "string",
"cover_video_url": "string",
"task_ids": [
"string"
],
"task_count": 0,
"meta": {
"property1": "string",
"property2": "string"
},
"created_at": "string",
"updated_at": "string"
}
]
}
}
Modified at 2025-06-23 10:53:58