grokvideo_app 0.1.0
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/README.md +4 -0
- data/lib/grokvideo_app.rb +9 -0
- metadata +51 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 918730856b8b04c6489bd152b572cf81cae5f86f6bcde963e2361780be7cb9ca
|
|
4
|
+
data.tar.gz: 212c92de487ed78b040f58eaaea76393c66918d9c1f602bfd1ebff25fb7efc0a
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 473d67aec3576d1b6d92a16c4bf9a9c991c386dcf15a6cbc2423f46356b542551702af9b51652f247c239cca949ff2f4af4d7c450b4764e0adf1e110272d70b1
|
|
7
|
+
data.tar.gz: 47f86a2cc4d7a609376144e2a7783e8baf1a9cbb580eb17cb66482c87af58b92b518a0121946a5f8571fffe04c43aa06a8a4bfda923b540951a8a743d99b019a
|
data/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module GrokvideoApp
|
|
3
|
+
URL = "https://grokvideo.app/"
|
|
4
|
+
IMAGINE_URL = "https://grokvideo.app/grok-imagine"
|
|
5
|
+
def self.estimate_credits(sec = 5, model = :grok)
|
|
6
|
+
base = model == :magi2 ? 28 : 24
|
|
7
|
+
(base * (sec.to_f / 5.0)).ceil
|
|
8
|
+
end
|
|
9
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: grokvideo_app
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Tengda Studio
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-12-06 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Lightweight Ruby render-quote and duration helper for Grok Video (https://grokvideo.app/)
|
|
14
|
+
and Grok Imagine (https://grokvideo.app/grok-imagine). Supports Grok Imagine Video
|
|
15
|
+
1.5 and MAGI-2 with native audio. Pay-as-you-go never-expiring credit packs, no
|
|
16
|
+
forced subscription, auto-refund on failed jobs, SFW compliant.
|
|
17
|
+
email:
|
|
18
|
+
- submit@nene.video
|
|
19
|
+
executables: []
|
|
20
|
+
extensions: []
|
|
21
|
+
extra_rdoc_files: []
|
|
22
|
+
files:
|
|
23
|
+
- README.md
|
|
24
|
+
- lib/grokvideo_app.rb
|
|
25
|
+
homepage: https://grokvideo.app/
|
|
26
|
+
licenses:
|
|
27
|
+
- MIT
|
|
28
|
+
metadata:
|
|
29
|
+
homepage_uri: https://grokvideo.app/
|
|
30
|
+
documentation_uri: https://grokvideo.app/grok-imagine
|
|
31
|
+
source_code_uri: https://grokvideo.app/
|
|
32
|
+
post_install_message:
|
|
33
|
+
rdoc_options: []
|
|
34
|
+
require_paths:
|
|
35
|
+
- lib
|
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 2.6.0
|
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
requirements: []
|
|
47
|
+
rubygems_version: 3.0.3.1
|
|
48
|
+
signing_key:
|
|
49
|
+
specification_version: 4
|
|
50
|
+
summary: Pre-render credit estimator for Grok Video (grokvideo.app)
|
|
51
|
+
test_files: []
|