API 레퍼런스/파일
파일 형식 변환
document.any.convert지원하는 원본 파일을 선택한 출력 형식으로 변환합니다.
가격$0.06 / 1건
콘솔에서 사용하기요청 매개변수
| 매개변수 | 유형 | 설명 |
|---|---|---|
input_format필수 | string | docx docx기본값: "docx" |
output_format필수 | string | pdf기본값: "pdf" |
url필수 | string | 공개 원본 파일의 HTTPS URL 최소 길이: 1최대 4096 자 |
응답 데이터
결과 데이터 경로: execution.result.data에 있습니다. 실행 기록에는 상태, 실제 비용과 Anyuse 요청 ID도 포함됩니다.
| 매개변수 | 유형 | 설명 |
|---|---|---|
files | array | 출력 파일. 각 항목에는 url과 kind가 있습니다. 같은 Bearer 인증 정보로 다운로드하세요. 링크는 만료될 수 있습니다. |
files[].kind필수 | string | files[].kind |
files[].url필수 | string | files[].url |
files[].content_type | string | files[].content_type |
files[].duration | number | string | files[].duration |
files[].duration_seconds | number | string | files[].duration_seconds |
files[].file_size | number | string | files[].file_size |
files[].filename | string | files[].filename |
files[].height | number | string | files[].height |
files[].size | number | string | files[].size |
files[].width | number | string | files[].width |
실행 상태 및 복구
제출 후 작업 ID를 받습니다. 실행 조회 API로 최종 결과를 확인하세요. 서비스가 재시작되어도 이미 제출된 작업을 계속 조회합니다.