Module: RunApi::RunwayAleph

Defined in:
lib/runapi/runway_aleph.rb,
lib/runapi/runway_aleph/types.rb,
lib/runapi/runway_aleph/client.rb,
lib/runapi/runway_aleph/contract_gen.rb,
lib/runapi/runway_aleph/resources/edit_video.rb

Defined Under Namespace

Modules: Resources, Types Classes: Client

Constant Summary collapse

AuthenticationError =
RunApi::Core::AuthenticationError
RateLimitError =
RunApi::Core::RateLimitError
InsufficientCreditsError =
RunApi::Core::InsufficientCreditsError
NotFoundError =
RunApi::Core::NotFoundError
ValidationError =
RunApi::Core::ValidationError
TaskFailedError =
RunApi::Core::TaskFailedError
TaskTimeoutError =
RunApi::Core::TaskTimeoutError
CONTRACT =
{
  "edit-video" => {
    "models" => ["runway-aleph"],
    "fields_by_model" => {
      "runway-aleph" => {
        "aspect_ratio" => {
          "enum" => ["16:9", "9:16", "4:3", "3:4", "1:1", "21:9"]
        },
        "prompt" => {
          "required" => true
        },
        "seed" => {
          "type" => "integer"
        },
        "source_video_url" => {
          "required" => true
        }
      }
    }
  }
}.freeze