Download the PHP package thehocinesaad/stability-php without Composer
On this page you can find all versions of the php package thehocinesaad/stability-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thehocinesaad/stability-php
More information about thehocinesaad/stability-php
Files in thehocinesaad/stability-php
Package stability-php
Short Description Stability PHP is a comprehensive PHP API client designed for seamless interaction with the Stability AI API.
License MIT
Homepage https://github.com/thehocinesaad/stability-php
Informations about the package stability-php
Stability PHP is a PHP API client offering developers an intuitive and efficient interface to interact seamlessly with the Stability AI API.
Table of Contents
- Installation
- Usage
- User
- Account
- Balance
- Engines
- List
- Generations
- Text to Image
- Image to Image
- Image to Image Upscale
- Image to Image Masking
- User
- License
Installation
You can install the package via composer:
After that, you can start using it:
You can add additional HTTP headers (which the API supports) to requests:
Usage
User
Manage your Stability.ai account, and view account/organization balances.
Account
Get information about the account associated with the provided API key.
Balance
Get the credit balance of the account/organization associated with the API key.
Engines
Enumerate available engines.
List
List all engines available to your organization/user.
Generations
Generate images from text, existing images, or both.
Text to Image
Generate a new image from a text prompt.
Image to Image
Modify an image based on a text prompt.
Image to Image Upscale
Create a higher resolution version of an input image.
Image to Image Masking
Selectively modify portions of an image using a mask.
License
The MIT License (MIT). Please see License File for more information.