Skip to content

About

RunAPI Muse Video Composer package for PHP applications

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Muse Video PHP SDK for RunAPI

Packagist License

The Muse Video PHP SDK is the language-specific package for Muse Video on RunAPI. Use it to create tasks from a text prompt or one source image and retrieve their status.

composer require runapi-ai/muse-video
<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\MuseVideo\MuseVideoClient;

$client = new MuseVideoClient();
$task = $client->textToVideo->create([
    'model' => 'muse-video-v1',
    'prompt' => 'A city at dawn',
]);
$status = $client->textToVideo->get($task->id);

Use create() and get() for asynchronous workflows, or run() to poll until completion. Generated file URLs are temporary; store needed results in durable storage during their retention window.

Links

Licensed under the Apache License, Version 2.0.

About

RunAPI Muse Video Composer package for PHP applications

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages