tencent cloud

APIs

Data Types

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-08-06 18:48:04

BoundingBox

Paragraph text box location: x, y represent the top-left corner, width and height represent width and height.

Used by actions: ImageTranslateLLM.

Name Type Description
X Integer

x-coordinate of the top-left corner

Y Integer

y-coordinate of the top-left corner

Width Integer

Width.

Unit: px.

Height Integer

High.

Unit: px.

Coord

Coordinate details

Used by actions: ImageTranslateLLM.

Name Type Required Description
X Integer No X coordinate
Y Integer No Y-axis coordinate

RotateParagraphRect

Paragraph text rotation information

Used by actions: ImageTranslateLLM.

Name Type Required Description
Coord Array of Coord No Paragraph text coordinates
TiltAngle Float No Rotation angle
Valid Boolean No Whether the paragraph text information is valid

TransDetail

Large model image translation detailed information

Used by actions: ImageTranslateLLM.

Name Type Description
SourceLineText String

Original text of the current row

TargetLineText String

Translation of the current row

BoundingBox BoundingBox

Paragraph text box location

LinesCount Integer

Row count

LineHeight Integer

Line height.

Unit: px.

SpamCode Integer

The spam_code field is 0 in a normal paragraph; if the spam_code field exists and its value is above 0 (1: hit garbage check; 2: hit security policy; 3: another.), then the security check hit is filtered.

RotateParagraphRect RotateParagraphRect

Rotation information of paragraph text. Coordinates are valid only when valid is true.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백