pingpongai/pingpongai-php-sdk

PHP SDK for the PingPong AI Platform

dev-main 2024-12-18 13:26 UTC

This package is not auto-updated.

Last update: 2025-04-02 18:32:46 UTC


README

published at

https://packagist.org/packages/pingpongai/pingpongai-php-sdk

pre-requisites

  • Install php
  • install composer
  • install php optional libraries if offered by your linux distribution

Install Command

composer require pingpongai/pingpongai-php-sdk:dev-main

Example


use \PingPong\Client;

$client = new Client();
$deployment = $client->deployments->create(new \PingPong\Deployments\DeploymentInput(
    'my-deployment',
    'pingpongai/<model-name>',
    'input_image_file' => '<url>/my-file.jpg'
));