luroa_spec 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 +20 -0
- data/lib/luroa_spec.rb +37 -0
- metadata +54 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d473533a7b0f61716b6f01645652f86dbecaabd4378a7d7bb66e012c5b8541f8
|
|
4
|
+
data.tar.gz: 5afd15db90c22543b43a897f2938a3edd59bbabbf7a8cb2b98ad281fe13da20a
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 5d015818f685edc2dcde26ea25887f0af65fed15cefc9a7cbd511d4644d2adcefc26950d7dee25e446524e0861001d56a60638408430264a024c24444c1c3ed0
|
|
7
|
+
data.tar.gz: debc4437571478dfc4b3574a4d2a60e622e2f78a8c54cc18515ac50292553bbb96163b22833f1e28613dea79d0e41ba0ee643a6258c643f00398c0da062e37d3
|
data/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# luroa_spec
|
|
2
|
+
|
|
3
|
+
Unlimited AI video & image generator on paid plans: sharp 2K pictures and videos that come back with their own sound, and no counter ticking down while you work.
|
|
4
|
+
|
|
5
|
+
`luroa_spec` is a lightweight pure-Ruby specification and plan-math helper for [Luroa AI](https://luroa.ai/). It exposes verified model parameters (GPT Image 2.6 1K & 2K, GPT Image 2.5 editing, MiniMax H3 480p/768p 4–15s video with native synchronized sound across 8 aspect ratios) and flat-rate subscription math (Starter, Creator, Pro, Studio).
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
require "luroa_spec"
|
|
11
|
+
|
|
12
|
+
LuroaSpec.valid_video_duration?(10) # => true
|
|
13
|
+
LuroaSpec.yearly_savings(:creator) # => 120.0
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- Studio: https://luroa.ai/
|
|
17
|
+
- Image Generator: https://luroa.ai/unlimited-ai-image-generator
|
|
18
|
+
- Video Generator: https://luroa.ai/unlimited-ai-video-generator
|
|
19
|
+
- Image to Video with Sound: https://luroa.ai/image-to-video-with-sound
|
|
20
|
+
- Pricing: https://luroa.ai/pricing · https://luroa.ai/pricing.md
|
data/lib/luroa_spec.rb
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module LuroaSpec
|
|
4
|
+
VERSION = "0.1.0"
|
|
5
|
+
HOMEPAGE = "https://luroa.ai/"
|
|
6
|
+
PRICING_MD_URL = "https://luroa.ai/pricing.md"
|
|
7
|
+
LLMS_TXT_URL = "https://luroa.ai/llms.txt"
|
|
8
|
+
|
|
9
|
+
ENGINES = {
|
|
10
|
+
image_generate: { name: "GPT Image 2.6", resolutions: %w[1K 2K] }.freeze,
|
|
11
|
+
image_edit: { name: "GPT Image 2.5" }.freeze,
|
|
12
|
+
video_generate: {
|
|
13
|
+
name: "MiniMax H3",
|
|
14
|
+
resolutions: %w[480p 768p].freeze,
|
|
15
|
+
min_duration_sec: 4,
|
|
16
|
+
max_duration_sec: 15,
|
|
17
|
+
native_audio: true,
|
|
18
|
+
aspect_ratios: %w[9:16 4:5 3:4 1:1 4:3 3:2 16:9 21:9].freeze
|
|
19
|
+
}.freeze
|
|
20
|
+
}.freeze
|
|
21
|
+
|
|
22
|
+
PLANS = {
|
|
23
|
+
starter: { monthly_usd: 19.90, yearly_monthly_usd: 15.90, unlimited: true, watermark: false, commercial_rights: true, priority_speed: "1x" }.freeze,
|
|
24
|
+
creator: { monthly_usd: 39.00, yearly_monthly_usd: 29.00, unlimited: true, watermark: false, commercial_rights: true, priority_speed: "higher" }.freeze,
|
|
25
|
+
pro: { monthly_usd: 79.00, yearly_monthly_usd: 59.00, unlimited: true, watermark: false, commercial_rights: true, priority_speed: "high" }.freeze,
|
|
26
|
+
studio: { monthly_usd: 149.00, yearly_monthly_usd: 119.00, unlimited: true, watermark: false, commercial_rights: true, priority_speed: "up to 10x" }.freeze
|
|
27
|
+
}.freeze
|
|
28
|
+
|
|
29
|
+
def self.valid_video_duration?(seconds)
|
|
30
|
+
seconds.is_a?(Integer) && seconds >= 4 && seconds <= 15
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def self.yearly_savings(plan_key)
|
|
34
|
+
p = PLANS.fetch(plan_key.to_sym)
|
|
35
|
+
((p[:monthly_usd] - p[:yearly_monthly_usd]) * 12).round(2)
|
|
36
|
+
end
|
|
37
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: luroa_spec
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Luroa Team
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-11-30 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: 'Unlimited AI video & image generator on paid plans: sharp 2K pictures
|
|
14
|
+
and videos that come back with their own sound, and no counter ticking down while
|
|
15
|
+
you work. Pure-Ruby specification, resolution/duration validator, and flat-rate
|
|
16
|
+
plan calculator for Luroa AI (GPT Image 2.6 1K/2K, GPT Image 2.5 editing, MiniMax
|
|
17
|
+
H3 480p/768p 4-15s video with native audio).'
|
|
18
|
+
email:
|
|
19
|
+
- support@luroa.ai
|
|
20
|
+
executables: []
|
|
21
|
+
extensions: []
|
|
22
|
+
extra_rdoc_files: []
|
|
23
|
+
files:
|
|
24
|
+
- README.md
|
|
25
|
+
- lib/luroa_spec.rb
|
|
26
|
+
homepage: https://luroa.ai/
|
|
27
|
+
licenses:
|
|
28
|
+
- MIT
|
|
29
|
+
metadata:
|
|
30
|
+
homepage_uri: https://luroa.ai/
|
|
31
|
+
source_code_uri: https://github.com/nanochidga/luroa
|
|
32
|
+
documentation_uri: https://luroa.ai/pricing.md
|
|
33
|
+
bug_tracker_uri: https://github.com/nanochidga/luroa/issues
|
|
34
|
+
post_install_message:
|
|
35
|
+
rdoc_options: []
|
|
36
|
+
require_paths:
|
|
37
|
+
- lib
|
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 2.6.0
|
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
requirements: []
|
|
49
|
+
rubygems_version: 3.0.3.1
|
|
50
|
+
signing_key:
|
|
51
|
+
specification_version: 4
|
|
52
|
+
summary: 'Unlimited AI video & image generator on paid plans: sharp 2K pictures and
|
|
53
|
+
videos with native sound — Luroa AI local spec helper.'
|
|
54
|
+
test_files: []
|