Download the PHP package runapi-ai/producer without Composer
On this page you can find all versions of the php package runapi-ai/producer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package producer
Producer PHP SDK for RunAPI
The Producer PHP SDK is the language-specific package for Producer on RunAPI. Use this package when your application needs Composer installs, associative-array request bodies, task status lookup, and consistent RunAPI errors in PHP.
This README is the PHP package guide for the public producer-php split
repository. For model details, use https://runapi.ai/models/producer; for API
reference, use https://runapi.ai/docs/api/producer/text-to-music; for SDK docs, use
https://runapi.ai/docs/resources/sdks.
Install
Quick start
Use create() to submit a task and return quickly, get() to fetch the latest
task state, and run() when a script should create and poll until completion.
In web request handlers, prefer create() plus webhook or later get()
polling so a worker is not held open.
RunAPI-generated file URLs are temporary. Download and store generated files in your own durable storage within the retention window; do not treat returned URLs as long-term assets.
Language notes
Pass request parameters as associative arrays with snake_case keys. The
available resources are textToMusic. Keep RUNAPI_API_KEY in the environment
or your secret manager; never commit API keys or callback secrets.
Links
- Model page: https://runapi.ai/models/producer
- SDK docs: https://runapi.ai/docs/resources/sdks
- Product docs: https://runapi.ai/docs/api/producer/text-to-music
- Pricing and rate limits: https://runapi.ai/models/producer
- Full catalog: https://runapi.ai/models
- GitHub repository: https://github.com/runapi-ai/producer-php
- Multi-language SDK repository: https://github.com/runapi-ai/producer-sdk
License
Licensed under the Apache License, Version 2.0.