Image Translation Pro Version Result API Call Description
Using the task ID obtained from the Image Translation Pro Version task submission API, you can call this API to query the generated results of the Image Translation Pro Version.
Request Parameter
Parameter
Type
Required
Description
taskId
String
Yes
Unique task ID. Used for subsequent result queries.
Sample Request
Response Parameters
Parameter
Type
Description
resCode
Number
Response code;200 indicates a successful call. For other response codes,please refer to the error code information.
resMessage
String
Error message,e.g. "content has sensitive data, please try other input".
data
Object
Result data that generated,where result_image_url is the URL of the actual result.
Sample Response
Errors
Error
Code
Error Message
Description
501
rate limit exceed
700
invalid input
The format of the input parameters does not meet the requirements, and resMessage will return detailed fields that do not meet the requirements.
703
image size exceeds the limit
The image size in the request parameters exceeds the limit; the dimensions of the image must not exceed 4000x4000 pixels.
704
invalid image form
The image format in the request parameters is invalid.
705
image file size exceeds the
The image size in the request parameters exceeds the limit; the image size must not exceed 10MB.
801
model failed
900
tpp url error
1000
content has sensitive data, please try other input
Content has sensitive data, please try other input.
1001
content control failed, please retry
1002
content risk filter failed, please contact us
Last updated
Was this helpful?