doc2x_parse_image_layout_wait_text
Extracts text from images by waiting for layout parsing completion, returning structured markdown output for document processing workflows.
Instructions
Wait for an image-layout parse task until success, returning first page markdown. Prefer passing uid (no re-submit). If only image_path is provided, it will (a) reuse an in-process cached uid if available, otherwise (b) submit a new async task then wait.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Doc2x image-layout parse task uid returned by doc2x_parse_image_layout_submit. | |
| image_path | No | Absolute path to a local image file (png/jpg). Used to reuse cached uid or submit a new async task. | |
| poll_interval_ms | No | ||
| max_wait_ms | No |