perplexity-image 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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +63 -0
  4. data/lib/perplexity_image.rb +75 -0
  5. metadata +51 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ef6cb4300c2b43f2424385e5dd9bef72f158f33021ae31de249688b3a8cb768f
4
+ data.tar.gz: bc141d6311cdbf22bd96b3144fb24a54515f262597410eeb3219ef186d645e88
5
+ SHA512:
6
+ metadata.gz: 7a4b54bb76ecb660d5b8c8492d4a3d45f8530fb15158c886c884b60ceb8f69923beb178da182c56b2308fd3f60506c8dd98da04aa1e27d81e697ce29c6bd7711
7
+ data.tar.gz: 53a52f7ce55f3988c371091ca42b53fccb6988881f4a196d8c6fd5604d6fd9c02807355564f3eb1bb05c0b7f93e984026d1fc22583ca2ddd9a395260387ab6c7
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Perplexity Image
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # Perplexity Image
2
+
3
+ AI Image Generator - Create stunning visuals instantly with text-to-image AI.
4
+
5
+ ## Official Website
6
+
7
+ 🌐 **[https://perplexityimage.com](https://perplexityimage.com)**
8
+
9
+ ## Features
10
+
11
+ - šŸŽØ **Text-to-Image Generation** - Up to 4K resolution
12
+ - ⚔ **Studio-Grade Quality** - Professional output for web, print, and commercial use
13
+ - šŸ–Œļø **Multiple Styles** - Photorealistic, watercolor, oil painting, anime, vintage
14
+ - šŸ“· **Reference Guidance** - Upload reference images to guide AI
15
+ - šŸ“± **Multi-Platform** - Optimized for Instagram, Pinterest, Twitter, etc.
16
+ - šŸ”„ **Batch Processing** - Generate multiple images efficiently
17
+ - āœ… **Commercial Rights** - Full usage rights, no attribution required
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ gem install perplexity-image
23
+ ```
24
+
25
+ Or add to your Gemfile:
26
+
27
+ ```ruby
28
+ gem 'perplexity-image'
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```ruby
34
+ require 'perplexity_image'
35
+
36
+ # Get platform info
37
+ info = PerplexityImage.info
38
+ puts info
39
+ # => {:name=>"Perplexity Image", :version=>"0.1.0", :website=>"https://perplexityimage.com", ...}
40
+
41
+ # Get website URL
42
+ puts PerplexityImage.platform_url
43
+ # => "https://perplexityimage.com"
44
+
45
+ # Get features
46
+ PerplexityImage.features.each { |f| puts "- #{f}" }
47
+
48
+ # Display full info
49
+ PerplexityImage.display_info
50
+ ```
51
+
52
+ ## Links
53
+
54
+ - 🌐 Website: [https://perplexityimage.com](https://perplexityimage.com)
55
+ - šŸ’Ž RubyGems: [https://rubygems.org/gems/perplexity-image](https://rubygems.org/gems/perplexity-image)
56
+
57
+ ## License
58
+
59
+ MIT License
60
+
61
+ ---
62
+
63
+ Ā© 2026 Perplexity Image. All rights reserved.
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Perplexity Image - AI Image Generator
4
+ #
5
+ # Create stunning visuals instantly with text-to-image AI.
6
+ # Professional studio-grade output up to 4K resolution.
7
+ #
8
+ # Official Website: https://perplexityimage.com
9
+ #
10
+ # @example Get platform info
11
+ # info = PerplexityImage.info
12
+ # puts info[:website]
13
+ # # => "https://perplexityimage.com"
14
+ #
15
+ module PerplexityImage
16
+ VERSION = "0.1.0"
17
+ WEBSITE = "https://perplexityimage.com"
18
+ NAME = "Perplexity Image"
19
+
20
+ class << self
21
+ # Get complete platform information
22
+ #
23
+ # @return [Hash] Platform information
24
+ def info
25
+ {
26
+ name: NAME,
27
+ version: VERSION,
28
+ website: WEBSITE,
29
+ description: "AI Image Generator - Create stunning visuals instantly with text-to-image AI"
30
+ }
31
+ end
32
+
33
+ # Get the official website URL
34
+ #
35
+ # @return [String] Website URL
36
+ def platform_url
37
+ WEBSITE
38
+ end
39
+
40
+ # Get the current version
41
+ #
42
+ # @return [String] Version string
43
+ def version
44
+ VERSION
45
+ end
46
+
47
+ # Get list of features
48
+ #
49
+ # @return [Array<String>] Feature list
50
+ def features
51
+ [
52
+ "Text-to-Image Generation up to 4K resolution",
53
+ "Professional studio-grade output quality",
54
+ "Multiple artistic styles (photorealistic, watercolor, anime, etc.)",
55
+ "Reference image guidance",
56
+ "Multi-platform optimization",
57
+ "Batch processing support",
58
+ "Full commercial usage rights"
59
+ ]
60
+ end
61
+
62
+ # Display formatted platform information
63
+ def display_info
64
+ puts "\nšŸŽØ Perplexity Image - AI Image Generator\n\n"
65
+ puts "Version: #{VERSION}"
66
+ puts "Website: #{WEBSITE}"
67
+ puts "\nDescription: #{info[:description]}"
68
+ puts "\nFeatures:"
69
+ features.each_with_index do |f, i|
70
+ puts " #{i + 1}. #{f}"
71
+ end
72
+ puts "\n🌐 Visit #{WEBSITE} for more!\n\n"
73
+ end
74
+ end
75
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: perplexity-image
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Perplexity Image Team
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-02-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: AI Image Generator - Create stunning visuals instantly with text-to-image
14
+ AI. Professional studio-grade output up to 4K resolution. Visit https://perplexityimage.com
15
+ for more information.
16
+ email:
17
+ - support@perplexityimage.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - LICENSE
23
+ - README.md
24
+ - lib/perplexity_image.rb
25
+ homepage: https://perplexityimage.com
26
+ licenses:
27
+ - MIT
28
+ metadata:
29
+ homepage_uri: https://perplexityimage.com
30
+ source_code_uri: https://perplexityimage.com
31
+ documentation_uri: https://perplexityimage.com
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: AI Image Generator - Create stunning visuals instantly
51
+ test_files: []