定制 sawirricardo/replicate-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sawirricardo/replicate-php

最新稳定版本:0.0.1

Composer 安装命令:

composer require sawirricardo/replicate-php

包简介

PHP client for the Replicate API

README 文档

README

Latest Version on Packagist Tests Total Downloads

This is a PHP client for Replicate. It lets you run models from your PHP code and do various other things on Replicate.

Support us

Investing on this package is defintely a good move from you. You can support by donating to:

PayPal https://www.paypal.com/paypalme/sawirricardo. BCA 8330123584

Installation

You can install the package via composer:

composer require sawirricardo/replicate-php

Usage

$token = 'sxsaxada';
$client = new Sawirricardo\Replicate\Replicate($token);
$prediction = $client->predictions()->create('sd-v1.4', [
    'prompt' => 'my exciting project',
]);

echo $prediction->json('id');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 92
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-15