Module: RunApi::Omnihuman
- Defined in:
- lib/runapi/omnihuman.rb,
lib/runapi/omnihuman/types.rb,
lib/runapi/omnihuman/client.rb,
lib/runapi/omnihuman/contract_gen.rb,
lib/runapi/omnihuman/resources/audio_to_video.rb,
lib/runapi/omnihuman/resources/subject_detection.rb,
lib/runapi/omnihuman/resources/human_identification.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 =
{ "audio-to-video" => { "models" => ["omnihuman-1.5"], "fields_by_model" => { "omnihuman-1.5" => { "output_resolution" => { "enum" => ["720p", "1080p"] }, "prompt" => { "max" => 1000, "length" => true }, "seed" => { "type" => "integer" }, "source_audio_url" => { "required" => true }, "source_image_url" => { "required" => true } } } }, "human-identification" => { "models" => ["omnihuman-1.5-human-identification"], "fields_by_model" => { "omnihuman-1.5-human-identification" => { "source_image_url" => { "required" => true } } } }, "subject-detection" => { "models" => ["omnihuman-1.5-subject-detection"], "fields_by_model" => { "omnihuman-1.5-subject-detection" => { "source_image_url" => { "required" => true } } } } }.freeze