webscout 8.2.6__py3-none-any.whl → 8.2.8__py3-none-any.whl

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.

Potentially problematic release.


This version of webscout might be problematic. Click here for more details.

Files changed (150) hide show
  1. webscout/AIauto.py +1 -1
  2. webscout/AIutel.py +298 -239
  3. webscout/Extra/Act.md +309 -0
  4. webscout/Extra/GitToolkit/gitapi/README.md +110 -0
  5. webscout/Extra/YTToolkit/README.md +375 -0
  6. webscout/Extra/YTToolkit/ytapi/README.md +44 -0
  7. webscout/Extra/YTToolkit/ytapi/extras.py +92 -19
  8. webscout/Extra/autocoder/autocoder.py +309 -114
  9. webscout/Extra/autocoder/autocoder_utiles.py +15 -15
  10. webscout/Extra/gguf.md +430 -0
  11. webscout/Extra/tempmail/README.md +488 -0
  12. webscout/Extra/weather.md +281 -0
  13. webscout/Litlogger/Readme.md +175 -0
  14. webscout/Provider/AISEARCH/DeepFind.py +41 -37
  15. webscout/Provider/AISEARCH/README.md +279 -0
  16. webscout/Provider/AISEARCH/__init__.py +0 -1
  17. webscout/Provider/AISEARCH/genspark_search.py +228 -86
  18. webscout/Provider/AISEARCH/hika_search.py +11 -11
  19. webscout/Provider/AISEARCH/scira_search.py +324 -322
  20. webscout/Provider/AllenAI.py +7 -14
  21. webscout/Provider/Blackboxai.py +518 -74
  22. webscout/Provider/Cloudflare.py +0 -1
  23. webscout/Provider/Deepinfra.py +23 -21
  24. webscout/Provider/Flowith.py +217 -0
  25. webscout/Provider/FreeGemini.py +250 -0
  26. webscout/Provider/GizAI.py +15 -5
  27. webscout/Provider/Glider.py +11 -8
  28. webscout/Provider/HeckAI.py +80 -52
  29. webscout/Provider/Koboldai.py +7 -4
  30. webscout/Provider/LambdaChat.py +2 -2
  31. webscout/Provider/Marcus.py +10 -18
  32. webscout/Provider/OPENAI/BLACKBOXAI.py +735 -0
  33. webscout/Provider/OPENAI/Cloudflare.py +378 -0
  34. webscout/Provider/OPENAI/FreeGemini.py +282 -0
  35. webscout/Provider/OPENAI/NEMOTRON.py +244 -0
  36. webscout/Provider/OPENAI/README.md +1253 -0
  37. webscout/Provider/OPENAI/__init__.py +8 -0
  38. webscout/Provider/OPENAI/ai4chat.py +293 -286
  39. webscout/Provider/OPENAI/api.py +810 -0
  40. webscout/Provider/OPENAI/base.py +217 -14
  41. webscout/Provider/OPENAI/c4ai.py +373 -367
  42. webscout/Provider/OPENAI/chatgpt.py +7 -0
  43. webscout/Provider/OPENAI/chatgptclone.py +7 -0
  44. webscout/Provider/OPENAI/chatsandbox.py +172 -0
  45. webscout/Provider/OPENAI/deepinfra.py +30 -20
  46. webscout/Provider/OPENAI/e2b.py +6 -0
  47. webscout/Provider/OPENAI/exaai.py +7 -0
  48. webscout/Provider/OPENAI/exachat.py +6 -0
  49. webscout/Provider/OPENAI/flowith.py +162 -0
  50. webscout/Provider/OPENAI/freeaichat.py +359 -352
  51. webscout/Provider/OPENAI/glider.py +323 -316
  52. webscout/Provider/OPENAI/groq.py +361 -354
  53. webscout/Provider/OPENAI/heckai.py +30 -64
  54. webscout/Provider/OPENAI/llmchatco.py +8 -0
  55. webscout/Provider/OPENAI/mcpcore.py +7 -0
  56. webscout/Provider/OPENAI/multichat.py +8 -0
  57. webscout/Provider/OPENAI/netwrck.py +356 -350
  58. webscout/Provider/OPENAI/opkfc.py +8 -0
  59. webscout/Provider/OPENAI/scirachat.py +471 -462
  60. webscout/Provider/OPENAI/sonus.py +9 -0
  61. webscout/Provider/OPENAI/standardinput.py +9 -1
  62. webscout/Provider/OPENAI/textpollinations.py +339 -329
  63. webscout/Provider/OPENAI/toolbaz.py +7 -0
  64. webscout/Provider/OPENAI/typefully.py +355 -0
  65. webscout/Provider/OPENAI/typegpt.py +358 -346
  66. webscout/Provider/OPENAI/uncovrAI.py +7 -0
  67. webscout/Provider/OPENAI/utils.py +103 -7
  68. webscout/Provider/OPENAI/venice.py +12 -0
  69. webscout/Provider/OPENAI/wisecat.py +19 -19
  70. webscout/Provider/OPENAI/writecream.py +7 -0
  71. webscout/Provider/OPENAI/x0gpt.py +7 -0
  72. webscout/Provider/OPENAI/yep.py +50 -21
  73. webscout/Provider/OpenGPT.py +1 -1
  74. webscout/Provider/TTI/AiForce/README.md +159 -0
  75. webscout/Provider/TTI/FreeAIPlayground/README.md +99 -0
  76. webscout/Provider/TTI/ImgSys/README.md +174 -0
  77. webscout/Provider/TTI/MagicStudio/README.md +101 -0
  78. webscout/Provider/TTI/Nexra/README.md +155 -0
  79. webscout/Provider/TTI/PollinationsAI/README.md +146 -0
  80. webscout/Provider/TTI/README.md +128 -0
  81. webscout/Provider/TTI/aiarta/README.md +134 -0
  82. webscout/Provider/TTI/artbit/README.md +100 -0
  83. webscout/Provider/TTI/fastflux/README.md +129 -0
  84. webscout/Provider/TTI/huggingface/README.md +114 -0
  85. webscout/Provider/TTI/piclumen/README.md +161 -0
  86. webscout/Provider/TTI/pixelmuse/README.md +79 -0
  87. webscout/Provider/TTI/talkai/README.md +139 -0
  88. webscout/Provider/TTS/README.md +192 -0
  89. webscout/Provider/TTS/__init__.py +2 -1
  90. webscout/Provider/TTS/speechma.py +500 -100
  91. webscout/Provider/TTS/sthir.py +94 -0
  92. webscout/Provider/TeachAnything.py +3 -7
  93. webscout/Provider/TextPollinationsAI.py +4 -2
  94. webscout/Provider/{aimathgpt.py → UNFINISHED/ChatHub.py} +88 -68
  95. webscout/Provider/UNFINISHED/liner_api_request.py +263 -0
  96. webscout/Provider/UNFINISHED/oivscode.py +351 -0
  97. webscout/Provider/UNFINISHED/test_lmarena.py +119 -0
  98. webscout/Provider/Writecream.py +11 -2
  99. webscout/Provider/__init__.py +8 -14
  100. webscout/Provider/ai4chat.py +4 -58
  101. webscout/Provider/asksteve.py +17 -9
  102. webscout/Provider/cerebras.py +3 -1
  103. webscout/Provider/koala.py +170 -268
  104. webscout/Provider/llmchat.py +3 -0
  105. webscout/Provider/lmarena.py +198 -0
  106. webscout/Provider/meta.py +7 -4
  107. webscout/Provider/samurai.py +223 -0
  108. webscout/Provider/scira_chat.py +4 -2
  109. webscout/Provider/typefully.py +23 -151
  110. webscout/__init__.py +4 -2
  111. webscout/cli.py +3 -28
  112. webscout/conversation.py +35 -35
  113. webscout/litagent/Readme.md +276 -0
  114. webscout/scout/README.md +402 -0
  115. webscout/swiftcli/Readme.md +323 -0
  116. webscout/version.py +1 -1
  117. webscout/webscout_search.py +2 -182
  118. webscout/webscout_search_async.py +1 -179
  119. webscout/zeroart/README.md +89 -0
  120. webscout/zeroart/__init__.py +134 -54
  121. webscout/zeroart/base.py +19 -13
  122. webscout/zeroart/effects.py +101 -99
  123. webscout/zeroart/fonts.py +1239 -816
  124. {webscout-8.2.6.dist-info → webscout-8.2.8.dist-info}/METADATA +116 -74
  125. {webscout-8.2.6.dist-info → webscout-8.2.8.dist-info}/RECORD +130 -103
  126. {webscout-8.2.6.dist-info → webscout-8.2.8.dist-info}/WHEEL +1 -1
  127. webscout-8.2.8.dist-info/entry_points.txt +3 -0
  128. webscout-8.2.8.dist-info/top_level.txt +1 -0
  129. webscout/Provider/AISEARCH/ISou.py +0 -256
  130. webscout/Provider/ElectronHub.py +0 -773
  131. webscout/Provider/Free2GPT.py +0 -241
  132. webscout/Provider/GPTWeb.py +0 -249
  133. webscout/Provider/bagoodex.py +0 -145
  134. webscout/Provider/geminiprorealtime.py +0 -160
  135. webscout/scout/core.py +0 -881
  136. webscout-8.2.6.dist-info/entry_points.txt +0 -3
  137. webscout-8.2.6.dist-info/top_level.txt +0 -2
  138. webstoken/__init__.py +0 -30
  139. webstoken/classifier.py +0 -189
  140. webstoken/keywords.py +0 -216
  141. webstoken/language.py +0 -128
  142. webstoken/ner.py +0 -164
  143. webstoken/normalizer.py +0 -35
  144. webstoken/processor.py +0 -77
  145. webstoken/sentiment.py +0 -206
  146. webstoken/stemmer.py +0 -73
  147. webstoken/tagger.py +0 -60
  148. webstoken/tokenizer.py +0 -158
  149. /webscout/Provider/{Youchat.py → UNFINISHED/Youchat.py} +0 -0
  150. {webscout-8.2.6.dist-info → webscout-8.2.8.dist-info}/licenses/LICENSE.md +0 -0
@@ -0,0 +1,134 @@
1
+ # AIArta Image Generator
2
+
3
+ Generate stunning AI art with AI Arta! 🎨 This package provides both synchronous and asynchronous interfaces to the AIArta image generation service.
4
+
5
+ ## Features
6
+
7
+ - Generate high-quality images from text prompts
8
+ - 45+ artistic styles and models to choose from
9
+ - Customize image generation with various parameters
10
+ - Save images with automatic naming and organization
11
+ - Both synchronous and asynchronous implementations
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ pip install webscout
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ### Synchronous Usage
22
+
23
+ ```python
24
+ from webscout import AIArtaImager
25
+
26
+ # Initialize the provider
27
+ provider = AIArtaImager()
28
+
29
+ # Generate a single image
30
+ images = provider.generate("A cool cyberpunk city at night")
31
+ paths = provider.save(images, dir="my_images")
32
+
33
+ # Generate multiple images with different settings
34
+ images = provider.generate(
35
+ prompt="Epic dragon breathing fire",
36
+ amount=2,
37
+ model="flux"
38
+ )
39
+ provider.save(images, dir="dragon_pics")
40
+ ```
41
+
42
+ ### Asynchronous Usage
43
+
44
+ ```python
45
+ from webscout import AsyncAIArtaImager
46
+ import asyncio
47
+
48
+ async def generate_images():
49
+ # Initialize with logging
50
+ provider = AsyncAIArtaImager(logging=True)
51
+
52
+ # Generate a single image
53
+ images = await provider.generate("A beautiful sunset over mountains")
54
+ paths = await provider.save(images)
55
+
56
+ # Generate multiple images with parameters
57
+ images = await provider.generate(
58
+ prompt="Epic dragon in cyberpunk city",
59
+ amount=2,
60
+ model="fantasy_art",
61
+ negative_prompt="ugly, deformed",
62
+ guidance_scale=7,
63
+ num_inference_steps=30
64
+ )
65
+ paths = await provider.save(images, name="dragon", dir="outputs")
66
+
67
+ # Run the async function
68
+ asyncio.run(generate_images())
69
+ ```
70
+
71
+ ## Available Models
72
+
73
+ The AIArta provider supports 45+ models, including:
74
+
75
+ - `flux` - General purpose model
76
+ - `fantasy_art` - Fantasy-style images
77
+ - `photographic` - Realistic photographic style
78
+ - `watercolor` - Watercolor painting style
79
+ - `low_poly` - Low-poly art style
80
+ - `anime_tattoo` - Anime-inspired tattoo designs
81
+ - `cinematic_art` - Movie-like cinematic images
82
+
83
+ See the full list in the `model_aliases` variable in the code.
84
+
85
+ ## Parameters
86
+
87
+ | Parameter | Type | Default | Description |
88
+ |-----------|------|---------|-------------|
89
+ | prompt | str | | Your image description |
90
+ | amount | int | 1 | Number of images to generate |
91
+ | model | str | "Flux" | Model to use for generation |
92
+ | negative_prompt | str | "blurry, deformed hands, ugly" | What to avoid in the image |
93
+ | guidance_scale | int | 7 | How closely to follow the prompt |
94
+ | num_inference_steps | int | 30 | More steps = better quality but slower |
95
+ | aspect_ratio | str | "1:1" | Image aspect ratio |
96
+
97
+ ## Advanced Usage
98
+
99
+ ### Custom Timeouts and Proxies
100
+
101
+ ```python
102
+ # Synchronous with custom settings
103
+ provider = AIArtaImager(
104
+ timeout=120,
105
+ proxies={"http": "http://proxy:8080"},
106
+ logging=True
107
+ )
108
+
109
+ # Asynchronous with custom settings
110
+ async_provider = AsyncAIArtaImager(
111
+ timeout=120,
112
+ proxies={"http": "http://proxy:8080"},
113
+ logging=True
114
+ )
115
+ ```
116
+
117
+ ### Saving Images with Custom Naming
118
+
119
+ ```python
120
+ # Generate images
121
+ images = provider.generate("Beautiful landscape")
122
+
123
+ # Save with custom name and directory
124
+ provider.save(
125
+ images,
126
+ name="landscape",
127
+ dir="my_art_folder",
128
+ filenames_prefix="vacation_"
129
+ )
130
+ ```
131
+
132
+ ## Authentication
133
+
134
+ The provider handles authentication automatically, storing and refreshing tokens as needed. No manual setup required!
@@ -0,0 +1,100 @@
1
+ # 🔥 Artbit Image Providers
2
+
3
+ Your go-to solution for generating fire images with Artbit.ai! Both sync and async support! 🚀
4
+
5
+ ## 🌟 Features
6
+
7
+ - 🎨 Support for all Artbit models
8
+ - ⚡ Both sync and async implementations
9
+ - 🔄 Smart retry mechanism
10
+ - 🌐 Proxy support
11
+ - 📝 Optional logging
12
+ - 🎯 Type hints
13
+ - 🚀 Easy to use
14
+
15
+ ## 📦 Installation
16
+
17
+ ```bash
18
+ pip install webscout
19
+ ```
20
+
21
+ ## 🚀 Quick Start
22
+
23
+ ### Sync Usage
24
+
25
+ ```python
26
+ from webscout import ArtbitImager
27
+
28
+ # Initialize with logging
29
+ provider = ArtbitImager(logging=True)
30
+
31
+ # Generate a single image
32
+ images = provider.generate("A shiny red sports car")
33
+ paths = provider.save(images)
34
+
35
+ # Generate multiple images with parameters
36
+ images = provider.generate(
37
+ prompt="Epic dragon in cyberpunk city",
38
+ amount=3,
39
+ caption_model="sdxl",
40
+ selected_ratio="1024",
41
+ negative_prompt="blurry, bad quality"
42
+ )
43
+ paths = provider.save(images, name="dragon", dir="outputs")
44
+ ```
45
+
46
+ ### Async Usage
47
+
48
+ ```python
49
+ from webscout import AsyncArtbitImager
50
+ import asyncio
51
+
52
+ async def example():
53
+ # Initialize with logging
54
+ provider = AsyncArtbitImager(logging=True)
55
+
56
+ # Generate a single image
57
+ images = await provider.generate("A shiny red sports car")
58
+ paths = await provider.save(images)
59
+
60
+ # Generate multiple images with parameters
61
+ images = await provider.generate(
62
+ prompt="Epic dragon in cyberpunk city",
63
+ amount=3,
64
+ caption_model="sdxl",
65
+ selected_ratio="1024",
66
+ negative_prompt="blurry, bad quality"
67
+ )
68
+ paths = await provider.save(images, name="dragon", dir="outputs")
69
+
70
+ # Run the example
71
+ asyncio.run(example())
72
+ ```
73
+
74
+ ## 🎨 Supported Models
75
+
76
+ - `sdxl` (default) - Stable Diffusion XL
77
+ - `sd` - Stable Diffusion
78
+ - And more coming soon! 🎉
79
+
80
+ ## ⚙️ Configuration Options
81
+
82
+ - `timeout`: Request timeout in seconds
83
+ - `proxies`: Proxy settings for requests
84
+ - `logging`: Enable/disable fire logging
85
+
86
+ ## 🎯 Generation Parameters
87
+
88
+ - `prompt`: Your image description
89
+ - `amount`: Number of images to generate
90
+ - `caption_model`: Which model to use
91
+ - `selected_ratio`: Image size ratio
92
+ - `negative_prompt`: What you don't want in the image
93
+
94
+ ## 💾 Save Options
95
+
96
+ - `name`: Custom name for your images
97
+ - `dir`: Where to save your images
98
+ - `filenames_prefix`: Add prefix to filenames
99
+
100
+ ## 🔥 Made with Love by HelpingAI
@@ -0,0 +1,129 @@
1
+ # 🎨 FastFlux Image Generator
2
+
3
+ Generate amazing images with FastFlux's AI art generator! 🚀
4
+
5
+ ## 🌟 Features
6
+
7
+ - Fast and reliable image generation
8
+ - Both sync and async implementations
9
+ - Smart retry mechanism
10
+ - Multiple model options
11
+ - Different aspect ratios
12
+ - Proxy support
13
+ - Custom timeouts
14
+ - Easy-to-use interface
15
+
16
+ ## 📦 Installation
17
+
18
+ ```bash
19
+ pip install webscout
20
+ ```
21
+
22
+ ## 🚀 Quick Start
23
+
24
+ ### Sync Usage
25
+
26
+ ```python
27
+ from webscout import FastFluxImager
28
+
29
+ # Initialize the provider
30
+ provider = FastFluxImager()
31
+
32
+ # Generate a single image
33
+ images = provider.generate("A beautiful sunset over mountains")
34
+ paths = provider.save(images)
35
+
36
+ # Generate multiple images with parameters
37
+ images = provider.generate(
38
+ prompt="Epic dragon breathing fire",
39
+ amount=3,
40
+ model="flux_1_dev",
41
+ size="16_9"
42
+ )
43
+ paths = provider.save(images, dir="dragon_pics")
44
+ ```
45
+
46
+ ### Async Usage
47
+
48
+ ```python
49
+ from webscout import AsyncFastFluxImager
50
+ import asyncio
51
+
52
+ async def generate_images():
53
+ provider = AsyncFastFluxImager()
54
+
55
+ # Generate multiple images
56
+ images = await provider.generate(
57
+ "Epic dragon in cyberpunk city",
58
+ amount=2,
59
+ model="flux_1_schnell"
60
+ )
61
+ paths = await provider.save(images, dir="outputs")
62
+
63
+ # Run the async function
64
+ asyncio.run(generate_images())
65
+ ```
66
+
67
+ ## 🎨 Available Models
68
+
69
+ - `flux_1_schnell` - Fast generation model (default)
70
+ - `flux_1_dev` - Developer model with detailed outputs
71
+ - `sana_1_6b` - SANA 1.6B model for specialized images
72
+
73
+ ## ⚙️ Configuration
74
+
75
+ ```python
76
+ # Custom settings
77
+ provider = FastFluxImager(
78
+ timeout=120, # Longer timeout
79
+ proxies={
80
+ 'http': 'http://proxy:8080',
81
+ 'https': 'http://proxy:8080'
82
+ },
83
+ logging=True # Enable logging
84
+ )
85
+
86
+ # Advanced usage
87
+ images = provider.generate(
88
+ prompt="A shiny red sports car",
89
+ amount=3,
90
+ model="flux_1_dev",
91
+ size="16_9",
92
+ is_public=False,
93
+ max_retries=5,
94
+ retry_delay=3
95
+ )
96
+ ```
97
+
98
+ ## 💾 Save Options
99
+
100
+ ```python
101
+ # Save with custom options
102
+ paths = provider.save(
103
+ images,
104
+ name="sports_car", # Custom name
105
+ dir="my_images", # Custom directory
106
+ filenames_prefix="v1_" # Add prefix
107
+ )
108
+ ```
109
+
110
+ ## 🛡️ Error Handling
111
+
112
+ ```python
113
+ try:
114
+ images = provider.generate("Cool art")
115
+ paths = provider.save(images)
116
+ except ValueError as e:
117
+ print(f"Invalid input: {e}")
118
+ except Exception as e:
119
+ print(f"Generation failed: {e}")
120
+ ```
121
+
122
+ ## 💡 Tips
123
+
124
+ 1. Use clear, descriptive prompts
125
+ 2. `flux_1_schnell` is faster but `flux_1_dev` gives better quality
126
+ 3. Set longer timeouts for better quality models
127
+ 4. Enable proxies for better reliability
128
+ 5. Use retry mechanism for stability
129
+ 6. Save images with meaningful names
@@ -0,0 +1,114 @@
1
+ # 🔥 HuggingFace Image Providers
2
+
3
+ Your go-to solution for generating fire images with HuggingFace's models! Both sync and async support! 🚀
4
+
5
+ ## 🌟 Features
6
+
7
+ - 🎨 Support for all HuggingFace image models
8
+ - ⚡ Both sync and async implementations
9
+ - 🔄 Smart retry mechanism
10
+ - 🌐 Proxy support
11
+ - 📝 Comprehensive logging
12
+ - 🎯 Type hints
13
+ - 🚀 Easy to use
14
+
15
+ ## 📦 Installation
16
+
17
+ ```bash
18
+ pip install webscout
19
+ ```
20
+
21
+ ## 🚀 Quick Start
22
+
23
+ ### Sync Usage
24
+
25
+ ```python
26
+ from webscout import HFimager
27
+
28
+ # Initialize with your API key
29
+ provider = HFimager(api_token="your-hf-token")
30
+
31
+ # Generate a single image
32
+ images = provider.generate("A shiny red sports car")
33
+ paths = provider.save(images)
34
+
35
+ # Generate multiple images with parameters
36
+ images = provider.generate(
37
+ prompt="Epic dragon in cyberpunk city",
38
+ amount=3,
39
+ model="runwayml/stable-diffusion-v1-5",
40
+ guidance_scale=7.5,
41
+ negative_prompt="blurry, bad quality",
42
+ num_inference_steps=50,
43
+ width=768,
44
+ height=768
45
+ )
46
+ paths = provider.save(images, name="dragon", dir="outputs")
47
+ ```
48
+
49
+ ### Async Usage
50
+
51
+ ```python
52
+ from webscout import AsyncHFimager
53
+ import asyncio
54
+
55
+ async def example():
56
+ # Initialize with your API key
57
+ provider = AsyncHFimager(api_token="your-hf-token")
58
+
59
+ # Generate a single image
60
+ images = await provider.generate("A shiny red sports car")
61
+ paths = await provider.save(images)
62
+
63
+ # Generate multiple images with parameters
64
+ images = await provider.generate(
65
+ prompt="Epic dragon in cyberpunk city",
66
+ amount=3,
67
+ model="runwayml/stable-diffusion-v1-5",
68
+ guidance_scale=7.5,
69
+ negative_prompt="blurry, bad quality",
70
+ num_inference_steps=50,
71
+ width=768,
72
+ height=768
73
+ )
74
+ paths = await provider.save(images, name="dragon", dir="outputs")
75
+
76
+ # Run the example
77
+ asyncio.run(example())
78
+ ```
79
+
80
+ ## 🎨 Supported Models
81
+
82
+ - `stabilityai/stable-diffusion-xl-base-1.0` (default)
83
+ - `runwayml/stable-diffusion-v1-5`
84
+ - `CompVis/stable-diffusion-v1-4`
85
+ - `stabilityai/sdxl-turbo`
86
+ - And many more! 🎉
87
+
88
+ ## ⚙️ Configuration Options
89
+
90
+ - `api_token`: Your HuggingFace API token
91
+ - `timeout`: Request timeout in seconds
92
+ - `proxies`: Proxy settings for requests
93
+
94
+ ## 🎯 Generation Parameters
95
+
96
+ - `prompt`: Your image description
97
+ - `amount`: Number of images to generate
98
+ - `model`: Which model to use
99
+ - `guidance_scale`: Control how much to follow your prompt
100
+ - `negative_prompt`: What you don't want in the image
101
+ - `num_inference_steps`: More steps = better quality but slower
102
+ - `width`: Image width
103
+ - `height`: Image height
104
+ - `scheduler`: Which scheduler to use
105
+ - `seed`: Random seed for reproducibility
106
+
107
+ ## 💾 Save Options
108
+
109
+ - `name`: Custom name for your images
110
+ - `dir`: Where to save your images
111
+ - `filenames_prefix`: Add prefix to filenames
112
+
113
+ ## 🔥 Made with Love by HelpingAI
114
+
@@ -0,0 +1,161 @@
1
+ # 🎨 PiclumenImager - Professional AI Image Generation
2
+
3
+ Welcome to PiclumenImager - a powerful provider for creating high-quality AI-generated images.
4
+
5
+ ## ✨ Features
6
+
7
+ - Professional-grade image generation with photorealistic outputs
8
+ - Synchronous and asynchronous operation support
9
+ - Robust error handling and retry mechanisms
10
+ - Dynamic user agent management
11
+ - Configurable proxy support
12
+ - Customizable timeouts and retry settings
13
+ - Smart error recovery system
14
+
15
+ ## 📦 Installation
16
+
17
+ ```bash
18
+ pip install webscout
19
+ ```
20
+
21
+ ## 📘 Usage Guide
22
+
23
+ ### Synchronous Usage (PiclumenImager)
24
+
25
+ ```python
26
+ from webscout import PiclumenImager
27
+
28
+ # Basic initialization
29
+ imager = PiclumenImager()
30
+
31
+ # Generate a single image
32
+ images = imager.generate("Dragon in flight over mountain peaks")
33
+ paths = imager.save(images)
34
+ print(f"Image saved to: {paths[0]}")
35
+
36
+ # Generate multiple images with retry configuration
37
+ images = imager.generate(
38
+ "Bioluminescent deep sea creature in natural habitat",
39
+ amount=3,
40
+ max_retries=5,
41
+ retry_delay=3
42
+ )
43
+ paths = imager.save(images)
44
+ print(f"Images saved to: {paths}")
45
+
46
+ # Configure with custom settings
47
+ custom_imager = PiclumenImager(timeout=180)
48
+ images = custom_imager.generate("Abstract architectural concept")
49
+ paths = custom_imager.save(images)
50
+ ```
51
+
52
+ ### Asynchronous Usage (AsyncPiclumenImager)
53
+
54
+ ```python
55
+ from webscout import AsyncPiclumenImager
56
+ import asyncio
57
+
58
+ async def generate_images():
59
+ imager = AsyncPiclumenImager()
60
+
61
+ # Generate multiple images concurrently
62
+ images = await imager.generate(
63
+ "Architectural visualization of modern building",
64
+ amount=2,
65
+ max_retries=3,
66
+ retry_delay=5
67
+ )
68
+ paths = await imager.save(images)
69
+ print(f"Generated images: {paths}")
70
+
71
+ # Custom save configuration
72
+ images = await imager.generate("Modern art composition")
73
+ paths = await imager.save(
74
+ images,
75
+ dir="artwork",
76
+ filenames_prefix="modern_"
77
+ )
78
+
79
+ # Execute the async function
80
+ asyncio.run(generate_images())
81
+ ```
82
+
83
+ ### Advanced Configuration
84
+
85
+ ```python
86
+ # Initialize with proxy and extended timeout
87
+ imager = PiclumenImager(
88
+ timeout=180,
89
+ proxies={
90
+ 'http': 'http://proxy.example.com:8000',
91
+ 'https': 'http://proxy.example.com:8000'
92
+ }
93
+ )
94
+
95
+ # Advanced image generation with custom settings
96
+ images = imager.generate(
97
+ "Professional product photography of luxury watch",
98
+ max_retries=5,
99
+ retry_delay=3
100
+ )
101
+ paths = imager.save(
102
+ images,
103
+ name="product_photo",
104
+ dir="product_images",
105
+ filenames_prefix="watch_"
106
+ )
107
+ ```
108
+
109
+ ## ⚡ Error Handling
110
+
111
+ Comprehensive error handling implementation:
112
+
113
+ ```python
114
+ try:
115
+ images = imager.generate("Product photography")
116
+ paths = imager.save(images)
117
+ except requests.exceptions.RequestException as e:
118
+ print(f"Network error: {e}")
119
+ except ValueError as e:
120
+ print(f"Invalid parameter: {e}")
121
+ except Exception as e:
122
+ print(f"Unexpected error: {e}")
123
+ ```
124
+
125
+ ## 🎯 Image Quality Specializations
126
+
127
+ PiclumenImager excels in generating:
128
+
129
+ - Photorealistic images with accurate lighting and shadows
130
+ - Detailed textures and material representations
131
+ - Complex underwater and nature scenes
132
+ - Architectural and product visualizations
133
+ - Macro photography simulations
134
+
135
+ ## 🔒 Security Considerations
136
+
137
+ - Implement proxy configuration for enhanced privacy
138
+ - Use secure network connections
139
+ - Follow API rate limiting guidelines
140
+ - Handle sensitive data appropriately
141
+ - Monitor and log API usage when needed
142
+
143
+ ## 💡 Optimization Tips
144
+
145
+ For optimal results:
146
+
147
+ 1. Provide detailed, specific prompts
148
+ 2. Include lighting and environment details
149
+ 3. Reference professional photography styles
150
+ 4. Specify desired color schemes
151
+ 5. Adjust timeouts for complex generations
152
+ 6. Use appropriate retry settings for reliability
153
+
154
+ ## 📚 Technical Notes
155
+
156
+ - Default timeout: 120 seconds
157
+ - Maximum retries: 3 (configurable)
158
+ - Supports JPEG image format
159
+ - Implements automatic error recovery
160
+ - Handles concurrent image generation
161
+ - Supports both sync and async workflows
@@ -0,0 +1,79 @@
1
+ # PixelMuse Image Provider 🎨
2
+
3
+ A powerful image generation provider using PixelMuse's API to create stunning AI art.
4
+
5
+ ## Features ✨
6
+
7
+ - Generate high-quality AI images from text prompts
8
+ - Support for multiple models
9
+ - Customizable aspect ratio and style
10
+ - Automatic image saving with customizable filenames
11
+ - Built-in retry mechanism for reliability
12
+
13
+ ## Installation 📦
14
+
15
+ No additional installation required! This provider is included in the webscout package.
16
+
17
+ ## Usage 🚀
18
+
19
+ ```python
20
+ from webscout.Provider.TTI.pixelmuse import PixelMuseImager
21
+
22
+ # Create an instance of the provider
23
+ imager = PixelMuseImager(model="flux-schnell")
24
+
25
+ # Generate images
26
+ images = imager.generate(
27
+ prompt="A magical forest with glowing mushrooms",
28
+ amount=1,
29
+ style="none",
30
+ aspect_ratio="1:1"
31
+ )
32
+
33
+ # Save the generated images
34
+ paths = imager.save(images)
35
+ print(f"Saved images to: {paths}")
36
+ ```
37
+
38
+ ## Parameters ⚙️
39
+
40
+ ### Initialization
41
+
42
+ - `model` (str): Which model to use (default: "flux-schnell")
43
+ - `timeout` (int): Request timeout in seconds (default: 60)
44
+ - `proxies` (dict): Proxy settings for requests (default: {})
45
+ - `logging` (bool): Enable logging (default: True)
46
+
47
+ ### Generate Method
48
+
49
+ - `prompt` (str): Your creative prompt
50
+ - `amount` (int): Number of images to generate (default: 1)
51
+ - `max_retries` (int): Maximum retry attempts (default: 3)
52
+ - `retry_delay` (int): Seconds to wait between retries (default: 5)
53
+ - `style` (str): Style to apply (default: "none")
54
+ - `aspect_ratio` (str): Aspect ratio (default: "1:1")
55
+
56
+ ### Save Method
57
+
58
+ - `response` (List[bytes]): List of image data
59
+ - `name` (str): Base name for saved files (default: prompt)
60
+ - `dir` (str): Directory to save images (default: current directory)
61
+ - `filenames_prefix` (str): Prefix for filenames (default: "")
62
+
63
+ ## Available Models 🎯
64
+
65
+ - `flux-schnell`: Fast and efficient model
66
+ - `imagen-3-fast`: Quick Imagen 3 model
67
+ - `imagen-3`: Full Imagen 3 model
68
+ - `recraft-v3`: Recraft v3 model
69
+
70
+ ## Notes 📝
71
+
72
+ - Currently only supports 1:1 aspect ratio
73
+ - Images are saved in WebP format
74
+ - Requires internet connection
75
+ - Rate limits may apply based on PixelMuse's API policies
76
+
77
+ ## License 📄
78
+
79
+ This provider is part of the webscout package. See the main package license for details.