Download the PHP package aisdk/replicate without Composer
On this page you can find all versions of the php package aisdk/replicate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aisdk/replicate
More information about aisdk/replicate
Files in aisdk/replicate
Download aisdk/replicate
More information about aisdk/replicate
Files in aisdk/replicate
Vendor aisdk
Package replicate
Short Description Official Replicate provider for the PHP AI SDK.
License MIT
Homepage https://github.com/phpaisdk/replicate
Package replicate
Short Description Official Replicate provider for the PHP AI SDK.
License MIT
Homepage https://github.com/phpaisdk/replicate
Please rate this library. Is it a good library?
Informations about the package replicate
aisdk/replicate
The Replicate provider package for the PHP AI SDK supports image and video generation via the /v1/predictions API (prefer: wait + polling), consistent with @ai-sdk/replicate.
Installation
Configuration
| Variable | Purpose |
|---|---|
REPLICATE_API_TOKEN |
API token (required). |
REPLICATE_BASE_URL |
Defaults to https://api.replicate.com/v1. |
Model IDs use either owner/name or version-hash:version forms as in the upstream SDK.
Usage
Video jobs resolve to a VideoJob with a result URL in VideoData. Provider options under replicate support maxWaitTimeInSeconds, pollIntervalMs, and pollTimeoutMs, plus model-specific input fields.
Documentation
Community
- Contributing
- Support
- For private security reports, email [email protected].
License
MIT.
All versions of replicate with dependencies
PHP Build Version
Package Version
The package aisdk/replicate contains the following files
Loading the files please wait ...