Casa  /  Gif in mp4 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;
}

Vantaggi dell'utilizzo della nostra API

Converti facilmente file GIF in video MP4 con la nostra versatile API da GIF a MP4. Goditi una conversione senza interruzioni e compatibilità su piattaforme diverse. Semplifica le tue esigenze di conversione di file con la nostra soluzione versatile.
Dimensione file illimitata
Users can convert files of any size without restrictions, providing convenience and flexibility when working with a variety of data.
Tempo massimo di conversione illimitato per file
The absence of time restrictions on the conversion process allows you to process even large and complex files without having to wait for the process to complete.
Conversioni simultanee illimitate
Users have the ability to simultaneously convert multiple files, which increases efficiency and saves time when working with large amounts of data.
What our customers say