/  Image 에서 text api

  • Prepaid packages
    1000
    $10
    1.00
  • Prepaid packages
    5000
    $39
    0.78
  • Prepaid packages
    10000
    $69
    0.69

<?php
require_once(__DIR__ . '/vendor/autoload.php');


$apiKey = 'myApiKey';

$client = new Webpractik\OcfConverter\Sdk\OcfClient($apiKey);

$filePath = '/path/to/file/to/convert.png';
$extensionToConvertTo = 'pdf';

try {
    $task = $client->uploadFile($filePath, $extensionToConvertTo);

    $result = $task->waitForConversion();

    if ($result->isSuccess()) {
        $resultUrl = $result->getResultingFileUrl();

        $resultFileName = basename($resultUrl);

        if (file_put_contents($resultFileName, file_get_contents($resultUrl))) {
            $result->deleteFile();
        }
    }
} catch (Exception $e) {
    echo 'Exception: ', $e->getMessage(), PHP_EOL;
}

API 사용의 이점

우리의 온라인 파일 변환기 - 쉬운 이미지에서 텍스트로의 변환을 위한 당신의 해결책입니다. 우리의 이미지에서 텍스트로 API는 광범위한 이점을 제공하여, 문서 변환 요구에 있어 최고의 선택으로서 그것을 차별화합니다.
파일 크기 무제한
사용자는 어떤 크기의 파일도 제한 없이 변환할 수 있어 다양한 데이터로 작업할 때 편리하고 유연하게 사용할 수 있습니다.
파일당 최대 변환 시간 무제한
변환 프로세스에 시간 제한이 없으므로 프로세스가 완료될 때까지 기다릴 필요 없이 크고 복잡한 파일도 처리할 수 있습니다.
무제한 동시 전환
사용자는 여러 파일을 동시에 변환할 수 있어 대량의 데이터로 작업할 때 효율성을 높이고 시간을 절약할 수 있습니다.
What our customers say