Reference examples to quickly integrate document splitting functionality with APIs
📖 Detailed Documentation: See File Splitting Feature Detailed Documentation for more use cases, API parameters, and example code.
📖 Detailed Documentation: See Multi-Image Cropping Feature Detailed Documentation for more use cases, API parameters, and example code.Through file splitting and multi-image cropping, different file categories in files can be split out, which can help subsequent extraction processes more accurately extract information from various types of files.
split_flag
Whether to perform file splitting, default false
crop_flag
Whether to perform multi-image cropping, default false
file/fetch
to query. The child_files
field in the response describes sub-task information:
files[].child_files[]
: Sub-task list (exists when splitting or cropping)files[].child_files[].task_type
indicates the splitting task type:
task_type=0
, indicates the sub-file was generated by file splittingtask_type=3
, indicates the sub-file was generated by multi-image croppingchild_files[].from_parent_position_list
represents the coordinates of the cropping result in the original image. The coordinate representation can refer to the Coordinate System Description.