Download src/Ai/Domain/Image/ImageServiceInterface.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 769 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/Image/ImageServiceInterface.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Ai/Domain/Image/ImageServiceInterface.php
-
curl -L -o ImageServiceInterface.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/Image/ImageServiceInterface.php
769 Bytes
| declare(strict_types=1); | |
| namespace Ai\Domain\Image; | |
| use Ai\Domain\Exceptions\ApiException; | |
| use Ai\Domain\Exceptions\DomainException; | |
| use Ai\Domain\Services\AiServiceInterface; | |
| use Ai\Domain\ValueObjects\Height; | |
| use Ai\Domain\ValueObjects\Model; | |
| use Ai\Domain\ValueObjects\Width; | |
| interface ImageServiceInterface extends AiServiceInterface | |
| { | |
| /** | |
| * @param Model $model | |
| * @param null|Width $width | |
| * @param null|Height $height | |
| * @param null|array $params | |
| * @return GenerateImageResponse | |
| * @throws DomainException | |
| * @throws ApiException | |
| */ | |
| public function generateImage( | |
| Model $model, | |
| ?Width $width = null, | |
| ?Height $height = null, | |
| ?array $params = null | |
| ): GenerateImageResponse; | |
| } | |