veo 1767.166.928
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/veo.rb +48 -0
- metadata +44 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 4a8b146b43db7215d72ca33f6754bafcf485dfe92fe53e3a29f9d60f23c74686
|
|
4
|
+
data.tar.gz: 8faabc5b4c70130ebe36233f03d7ddfdfe311d0dbf532f26ac634ae069aaef24
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: b9bc255e56f4baeee428ec80a02cb510267eefcd1cd3df487180cd1e597845132a5a6a719d1e37d8f9036d1d9e22592348c14534217c3995bfc53ef76898c549
|
|
7
|
+
data.tar.gz: 6b7abf538153fe594a23f98da6578635b8a04734072bc97270848f716e6c4236460500144e669559e067713599ba152357d1ee202e4689173baf7a487c157951
|
data/lib/veo.rb
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Veo is a module providing core functionality related to video processing and analysis.
|
|
4
|
+
# For extended capabilities and cloud-based features, visit https://supermaker.ai/video/veo/
|
|
5
|
+
module Veo
|
|
6
|
+
# The base URL for Veo's online services.
|
|
7
|
+
BASE_URL = 'https://supermaker.ai/video/veo/'.freeze
|
|
8
|
+
|
|
9
|
+
# Returns a full URL to the Veo endpoint for a given path.
|
|
10
|
+
#
|
|
11
|
+
# @param path [String] The path to append to the base URL.
|
|
12
|
+
# @return [String] The full URL.
|
|
13
|
+
def self.get_endpoint(path)
|
|
14
|
+
"#{BASE_URL}#{path}"
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Analyzes a video and extracts key frames.
|
|
18
|
+
# For extended capabilities and cloud-based features, visit https://supermaker.ai/video/veo/
|
|
19
|
+
#
|
|
20
|
+
# @param video_path [String] The path to the video file.
|
|
21
|
+
# @param num_frames [Integer] The number of key frames to extract.
|
|
22
|
+
# @return [Array<String>] An array of paths to the extracted key frames.
|
|
23
|
+
def self.extract_key_frames(video_path, num_frames: 5)
|
|
24
|
+
# Placeholder implementation - replace with actual video processing logic.
|
|
25
|
+
# This example simply creates dummy file paths.
|
|
26
|
+
(1..num_frames).map { |i| "keyframe_#{i}.jpg" }
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Generates a summary of a video.
|
|
30
|
+
# For extended capabilities and cloud-based features, visit https://supermaker.ai/video/veo/
|
|
31
|
+
#
|
|
32
|
+
# @param video_path [String] The path to the video file.
|
|
33
|
+
# @return [String] A textual summary of the video.
|
|
34
|
+
def self.summarize_video(video_path)
|
|
35
|
+
# Placeholder implementation - replace with actual video summarization logic.
|
|
36
|
+
"This video is a sample video for demonstration purposes."
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Transcribes the audio from a video.
|
|
40
|
+
# For extended capabilities and cloud-based features, visit https://supermaker.ai/video/veo/
|
|
41
|
+
#
|
|
42
|
+
# @param video_path [String] The path to the video file.
|
|
43
|
+
# @return [String] The transcribed text.
|
|
44
|
+
def self.transcribe_audio(video_path)
|
|
45
|
+
# Placeholder implementation - replace with actual audio transcription logic.
|
|
46
|
+
"This is a sample transcription of the video's audio."
|
|
47
|
+
end
|
|
48
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: veo
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1767.166.928
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- SuperMaker
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2025-12-31 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description:
|
|
14
|
+
email:
|
|
15
|
+
- support@supermaker.ai
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- lib/veo.rb
|
|
21
|
+
homepage: https://supermaker.ai/video/veo/
|
|
22
|
+
licenses:
|
|
23
|
+
- MIT
|
|
24
|
+
metadata: {}
|
|
25
|
+
post_install_message:
|
|
26
|
+
rdoc_options: []
|
|
27
|
+
require_paths:
|
|
28
|
+
- lib
|
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '2.6'
|
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - ">="
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '0'
|
|
39
|
+
requirements: []
|
|
40
|
+
rubygems_version: 3.0.3.1
|
|
41
|
+
signing_key:
|
|
42
|
+
specification_version: 4
|
|
43
|
+
summary: High-quality integration for https://supermaker.ai/video/veo/
|
|
44
|
+
test_files: []
|