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,174 @@
1
+ # ImgSys Provider 🎨
2
+
3
+ A powerful text-to-image generation provider that uses multiple AI models to create unique images from your prompts!
4
+
5
+ ## Features ✨
6
+
7
+ - Generate 2 unique images from random providers for each prompt
8
+ - Support for both synchronous and asynchronous operations
9
+ - Built-in retry logic with configurable attempts and delays
10
+ - Comprehensive error handling and input validation
11
+ - Easy image saving with custom names and directories
12
+ - Random user agent rotation for requests
13
+ - Proxy support for enhanced privacy
14
+ - Detailed documentation and examples
15
+
16
+ ## Installation 🚀
17
+
18
+ The ImgSys provider is part of the Webscout package. You can install it using pip:
19
+
20
+ ```bash
21
+ pip install webscout
22
+ ```
23
+
24
+ ## Usage Examples 📝
25
+
26
+ ### Synchronous Usage
27
+
28
+ ```python
29
+ from webscout import ImgSys
30
+
31
+ # Initialize the provider
32
+ provider = ImgSys()
33
+
34
+ # Generate images
35
+ images = provider.generate("A cool cyberpunk city at night")
36
+
37
+ # Save the images
38
+ provider.save(images, dir="my_images")
39
+ ```
40
+
41
+ ### Asynchronous Usage
42
+
43
+ ```python
44
+ import asyncio
45
+ from webscout import AsyncImgSys
46
+
47
+ async def main():
48
+ # Initialize the provider
49
+ provider = AsyncImgSys()
50
+
51
+ # Generate images
52
+ images = await provider.generate("A cool cyberpunk city at night")
53
+
54
+ # Save the images
55
+ await provider.save(images, dir="my_images")
56
+
57
+ # Run the async function
58
+ asyncio.run(main())
59
+ ```
60
+
61
+ ### Advanced Usage
62
+
63
+ ```python
64
+ from webscout import ImgSys
65
+
66
+ # Initialize with custom settings
67
+ provider = ImgSys(
68
+ timeout=30, # Custom timeout in seconds
69
+ proxies={ # Optional proxy configuration
70
+ "http": "http://proxy:8080",
71
+ "https": "https://proxy:8080"
72
+ }
73
+ )
74
+
75
+ # Generate images with custom retry settings
76
+ images = provider.generate(
77
+ prompt="A majestic dragon in a fantasy landscape",
78
+ max_retries=5, # More retry attempts
79
+ retry_delay=10 # Longer delay between retries
80
+ )
81
+
82
+ # Save with custom naming
83
+ provider.save(
84
+ images,
85
+ name="dragon_art",
86
+ dir="fantasy_images",
87
+ filenames_prefix="fantasy_"
88
+ )
89
+ ```
90
+
91
+ ## API Reference 📚
92
+
93
+ ### ImgSys Class
94
+
95
+ #### Constructor
96
+
97
+ ```python
98
+ def __init__(
99
+ self,
100
+ timeout: int = 60,
101
+ proxies: Optional[dict] = None
102
+ )
103
+ ```
104
+
105
+ Parameters:
106
+ - `timeout` (int): HTTP request timeout in seconds (default: 60)
107
+ - `proxies` (dict, optional): Proxy configuration for requests
108
+
109
+ #### Methods
110
+
111
+ ##### generate()
112
+
113
+ ```python
114
+ def generate(
115
+ self,
116
+ prompt: str,
117
+ max_retries: int = 3,
118
+ retry_delay: int = 5
119
+ ) -> List[bytes]
120
+ ```
121
+
122
+ Generate images from a text prompt.
123
+
124
+ Parameters:
125
+ - `prompt` (str): Your image description
126
+ - `max_retries` (int): Max retry attempts if something fails (default: 3)
127
+ - `retry_delay` (int): Seconds to wait between retries (default: 5)
128
+
129
+ Returns:
130
+ - `List[bytes]`: Generated images as bytes
131
+
132
+ ##### save()
133
+
134
+ ```python
135
+ def save(
136
+ self,
137
+ response: List[bytes],
138
+ name: Optional[str] = None,
139
+ dir: Optional[Union[str, Path]] = None,
140
+ filenames_prefix: str = ""
141
+ ) -> List[str]
142
+ ```
143
+
144
+ Save generated images to disk.
145
+
146
+ Parameters:
147
+ - `response` (List[bytes]): Generated images
148
+ - `name` (str, optional): Custom name for images
149
+ - `dir` (Union[str, Path], optional): Save directory (default: current directory)
150
+ - `filenames_prefix` (str): Prefix for image filenames
151
+
152
+ Returns:
153
+ - `List[str]`: Paths to saved images
154
+
155
+ ### AsyncImgSys Class
156
+
157
+ The `AsyncImgSys` class provides the same functionality as `ImgSys` but with async/await support. All methods are prefixed with `async` and should be called with `await`.
158
+
159
+ ## Error Handling 🛡️
160
+
161
+ The provider includes comprehensive error handling:
162
+
163
+ - Input validation for empty prompts
164
+ - Retry logic for failed API calls
165
+ - Proper exception handling for network issues
166
+ - Graceful handling of API response errors
167
+
168
+ ## Contributing 🤝
169
+
170
+ Contributions are welcome! Please feel free to submit a Pull Request.
171
+
172
+ ## License 📄
173
+
174
+ This provider is part of the Webscout package and is licensed under the same terms.
@@ -0,0 +1,101 @@
1
+ # 🎨 MagicStudio Image Generation
2
+
3
+ Generate amazing images with MagicStudio'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
+ - Proxy support
11
+ - Custom timeouts
12
+ - Easy-to-use interface
13
+
14
+ ## 📦 Installation
15
+
16
+ ```bash
17
+ pip install webscout
18
+ ```
19
+
20
+ ## 🚀 Quick Start
21
+
22
+ ### Sync Usage
23
+
24
+ ```python
25
+ from webscout import MagicStudioImager
26
+
27
+ # Initialize the provider
28
+ provider = MagicStudioImager()
29
+
30
+ # Generate a single image
31
+ images = provider.generate("A beautiful sunset over mountains")
32
+ paths = provider.save(images)
33
+
34
+ # Generate multiple images
35
+ images = provider.generate(
36
+ prompt="Epic dragon breathing fire",
37
+ amount=3
38
+ )
39
+ paths = provider.save(images, dir="dragon_pics")
40
+ ```
41
+
42
+ ### Async Usage
43
+
44
+ ```python
45
+ from webscout import AsyncMagicStudioImager
46
+ import asyncio
47
+
48
+ async def generate_images():
49
+ provider = AsyncMagicStudioImager()
50
+
51
+ # Generate multiple images
52
+ images = await provider.generate(
53
+ "Epic dragon in cyberpunk city",
54
+ amount=2
55
+ )
56
+ paths = await provider.save(images, dir="outputs")
57
+
58
+ # Run the async function
59
+ asyncio.run(generate_images())
60
+ ```
61
+
62
+ ## ⚙️ Configuration
63
+
64
+ ```python
65
+ # Custom settings
66
+ provider = MagicStudioImager(
67
+ timeout=120, # Longer timeout
68
+ proxies={
69
+ 'http': 'http://proxy:8080',
70
+ 'https': 'http://proxy:8080'
71
+ }
72
+ )
73
+
74
+ # Advanced usage
75
+ images = provider.generate(
76
+ prompt="A shiny red sports car",
77
+ amount=3,
78
+ max_retries=5,
79
+ retry_delay=3
80
+ )
81
+ ```
82
+
83
+ ## 🛡️ Error Handling
84
+
85
+ ```python
86
+ try:
87
+ images = provider.generate("Cool art")
88
+ paths = provider.save(images)
89
+ except ValueError as e:
90
+ print(f"Invalid input: {e}")
91
+ except Exception as e:
92
+ print(f"Generation failed: {e}")
93
+ ```
94
+
95
+ ## 💡 Tips
96
+
97
+ 1. Use clear, descriptive prompts
98
+ 2. Set longer timeouts for multiple images
99
+ 3. Enable proxies for better reliability
100
+ 4. Use retry mechanism for stability
101
+ 5. Save images with meaningful names
@@ -0,0 +1,155 @@
1
+ # Nexra Provider 🔥
2
+
3
+ Yo fam! This is the Nexra provider for generating some fire images! Part of the HelpingAI squad! 👑
4
+
5
+ ## Features 💪
6
+
7
+ - Standard & Prodia models ⚡
8
+ - 19+ fire models to choose from 🎨
9
+ - Smart retry mechanism 🔄
10
+ - Custom parameters support 🛠️
11
+ - Save with custom names 💾
12
+ - Fire logging with cyberpunk theme 🌟
13
+ - Proxy support for stealth mode 🕵️‍♂️
14
+
15
+ ## Quick Start 🚀
16
+
17
+ ### Installation 📦
18
+
19
+ ```bash
20
+ pip install webscout
21
+ ```
22
+
23
+ ### Basic Usage 💫
24
+
25
+ ```python
26
+ from webscout import NexraImager
27
+
28
+ # Basic usage
29
+ provider = NexraImager()
30
+ images = provider.generate("Epic dragon")
31
+ paths = provider.save(images)
32
+
33
+ # With custom model
34
+ provider = NexraImager()
35
+ images = provider.generate(
36
+ prompt="Epic dragon",
37
+ model="midjourney"
38
+ )
39
+ paths = provider.save(images)
40
+ ```
41
+
42
+ ## Available Models 🎭
43
+
44
+ ### Standard Models 🌟
45
+
46
+ | Model | Description | Best For |
47
+ |-------|-------------|----------|
48
+ | `emi` | Eminent AI model | General purpose |
49
+ | `stablediffusion-1.5` | Classic SD model | Proven quality |
50
+ | `stablediffusion-2.1` | Improved SD model | Better quality |
51
+ | `sdxl-lora` | SDXL with LoRA | Custom styles |
52
+ | `dalle` | OpenAI's DALL-E | Clean images |
53
+ | `dalle2` | DALL-E 2 model | High quality |
54
+ | `dalle-mini` | Lightweight DALL-E | Quick generations |
55
+ | `flux` | Standard Flux | General purpose |
56
+ | `midjourney` | MJ style | Artistic images |
57
+
58
+ ### Prodia Models 🚀
59
+
60
+ | Model | Description |
61
+ |-------|-------------|
62
+ | `dreamshaperXL10_alpha2` | Dreamlike creations |
63
+ | `dynavisionXL_0411` | Dynamic visuals |
64
+ | `juggernautXL_v45` | Powerful generations |
65
+ | `realismEngineSDXL_v10` | Photorealistic images |
66
+ | `sd_xl_base_1.0` | Base SDXL model |
67
+ | `animagineXLV3_v30` | Anime style art |
68
+ | `sd_xl_base_1.0_inpainting` | Inpainting specialist |
69
+ | `turbovisionXL_v431` | Fast generations |
70
+ | `devlishphotorealism_sdxl15` | Ultra-realistic |
71
+ | `realvisxlV40` | Reality-based art |
72
+
73
+ ## Advanced Examples 🔥
74
+
75
+ ### Custom Settings 🛠️
76
+
77
+ ```python
78
+ provider = NexraImager(
79
+ timeout=120, # Longer timeout
80
+ proxies={
81
+ 'http': 'http://proxy.example.com:8080'
82
+ }
83
+ )
84
+ ```
85
+
86
+ ### Prodia Model with Custom Params 📸
87
+
88
+ ```python
89
+ images = provider.generate(
90
+ prompt="A shiny red sports car",
91
+ model="realismEngineSDXL_v10.safetensors [af771c3f]",
92
+ additional_params={
93
+ "data": {
94
+ "steps": 30,
95
+ "cfg_scale": 8,
96
+ "sampler": "DPM++ 2M Karras",
97
+ "negative_prompt": "blurry, low quality"
98
+ }
99
+ }
100
+ )
101
+ ```
102
+
103
+ ### Custom Save Options 💾
104
+
105
+ ```python
106
+ paths = provider.save(
107
+ images,
108
+ name="sports_car", # Custom name
109
+ dir="my_images", # Custom directory
110
+ filenames_prefix="v1_" # Add prefix
111
+ )
112
+ ```
113
+
114
+ ### Error Handling 🛡️
115
+
116
+ ```python
117
+ try:
118
+ images = provider.generate(
119
+ prompt="Epic scene",
120
+ model="midjourney",
121
+ max_retries=5, # More retries
122
+ retry_delay=10 # Longer delay
123
+ )
124
+ paths = provider.save(images, dir="scenes")
125
+ except Exception as e:
126
+ print(f"Oops! Something went wrong: {e}")
127
+ ```
128
+
129
+ ## Tips & Tricks 💡
130
+
131
+ 1. Use `midjourney` for artistic images
132
+ 2. Use `realismEngineSDXL` for photorealistic shots
133
+ 3. Use `animagineXLV3` for anime style
134
+ 4. Adjust steps and cfg_scale for better quality
135
+ 5. Use custom negative prompts
136
+ 6. Set longer timeouts for complex generations
137
+
138
+ The provider handles common errors:
139
+
140
+ - Network issues
141
+ - JSON parsing errors
142
+ - API timeouts
143
+ - Invalid inputs
144
+ - File saving errors
145
+
146
+ ## Contributing 🤝
147
+
148
+ Pull up to the squad! We're always looking for improvements:
149
+
150
+ 1. Fork it
151
+ 2. Create your feature branch
152
+ 3. Push your changes
153
+ 4. Hit us with that pull request
154
+
155
+ Made with 💖 by the HelpingAI Team
@@ -0,0 +1,146 @@
1
+ # PollinationsAI Provider 🎨
2
+
3
+ A powerful text-to-image generation provider using Pollinations.ai! Generate stunning images with various styles and models. Supports both synchronous and asynchronous operations! 🚀
4
+
5
+ ## Features 💫
6
+
7
+ - Multiple AI models for different styles 🎭
8
+ - Both sync and async support ⚡
9
+ - Built-in retry logic and error handling 🛡️
10
+ - Easy-to-use interface 🎯
11
+ - Beautiful logging with LitLogger 📝
12
+ - Random user agents with LitAgent 🔄
13
+
14
+ ## Installation 📦
15
+
16
+ ```bash
17
+ pip install webscout
18
+ ```
19
+
20
+ ## Quick Start 🚀
21
+
22
+ ### Synchronous Usage
23
+
24
+ ```python
25
+ from webscout import PollinationsAI
26
+
27
+ # Create provider
28
+ provider = PollinationsAI()
29
+
30
+ # Generate a single image
31
+ images = provider.generate("A cool cyberpunk city at night")
32
+ provider.save(images, dir="my_images")
33
+
34
+ # Generate multiple images with settings
35
+ images = provider.generate(
36
+ prompt="A majestic dragon",
37
+ amount=3,
38
+ width=1024,
39
+ height=1024,
40
+ model="flux-3d" # Use 3D style
41
+ )
42
+ provider.save(images, dir="dragon_pics")
43
+ ```
44
+
45
+ ### Asynchronous Usage
46
+
47
+ ```python
48
+ import asyncio
49
+ from webscout import AsyncPollinationsAI
50
+
51
+ async def main():
52
+ # Create provider
53
+ provider = AsyncPollinationsAI()
54
+
55
+ # Generate images
56
+ images = await provider.generate(
57
+ prompt="A beautiful sunset",
58
+ amount=2,
59
+ model="flux-realism" # Use realistic style
60
+ )
61
+
62
+ # Save images
63
+ paths = await provider.save(images, dir="sunset_pics")
64
+ print(f"Saved images to: {paths}")
65
+
66
+ # Run async code
67
+ asyncio.run(main())
68
+ ```
69
+
70
+ ## Available Models 🎭
71
+
72
+ | Model | Description | Best For |
73
+ |-------|-------------|----------|
74
+ | `flux` | Default model | General purpose |
75
+ | `flux-realism` | Enhanced realism | Photos, portraits |
76
+ | `flux-cablyai` | CablyAI style | Artistic renders |
77
+ | `flux-anime` | Anime/manga style | Anime art |
78
+ | `flux-3d` | 3D-style renders | 3D scenes |
79
+ | `any-dark` | Dark/gothic style | Dark themes |
80
+ | `flux-pro` | Professional quality | High-quality art |
81
+ | `turbo` | Fast generation | Quick results |
82
+
83
+ ## Advanced Usage 🔧
84
+
85
+ ### Different Models for Different Styles
86
+
87
+ ```python
88
+ # Anime style
89
+ anime_pics = provider.generate(
90
+ prompt="Cute anime character",
91
+ model="flux-anime"
92
+ )
93
+
94
+ # Realistic style
95
+ real_pics = provider.generate(
96
+ prompt="Professional portrait",
97
+ model="flux-realism"
98
+ )
99
+
100
+ # Quick generation
101
+ quick_pics = provider.generate(
102
+ prompt="Quick concept art",
103
+ model="turbo"
104
+ )
105
+ ```
106
+
107
+ ### Custom Settings
108
+
109
+ ```python
110
+ # Custom timeout and proxies
111
+ provider = PollinationsAI(
112
+ timeout=30, # 30 seconds timeout
113
+ proxies={
114
+ "http": "http://proxy:8080"
115
+ }
116
+ )
117
+
118
+ # Generate high-res images
119
+ images = provider.generate(
120
+ prompt="Ultra detailed landscape",
121
+ width=1920,
122
+ height=1080,
123
+ model="flux-pro"
124
+ )
125
+ ```
126
+
127
+ ## Error Handling 🛡️
128
+
129
+ The provider includes built-in retry logic and error handling:
130
+
131
+ ```python
132
+ try:
133
+ images = provider.generate(
134
+ prompt="Test image",
135
+ max_retries=3, # Retry 3 times
136
+ retry_delay=5 # Wait 5 seconds between retries
137
+ )
138
+ except Exception as e:
139
+ print(f"Generation failed: {e}")
140
+ ```
141
+
142
+ ## Contributing 🤝
143
+
144
+ Feel free to contribute! Check out our issues or submit PRs.
145
+
146
+ Made with 💖 by the HelpingAI Team
@@ -0,0 +1,128 @@
1
+ # 🎨 WebScout Text-to-Image (TTI) Providers
2
+
3
+ Welcome to WebScout's Text-to-Image providers - your ultimate collection of AI art generators! 🚀
4
+
5
+ ## 🌟 Available Providers
6
+
7
+ * **[AiForce](AiForce/README.md):** Advanced AI image generation with 12 specialized models including Flux-1.1-Pro, SDXL Lightning, and Ideogram, perfect for both quick generations and high-quality art
8
+ * **[Nexra](Nexra/README.md):** Next-gen image creation with 19+ models including MidJourney, DALL-E, and specialized SDXL variants for every use case from anime to photorealism
9
+ * **[TalkAI](talkai/README.md):** Fast and reliable image generation with comprehensive error handling and dynamic user agent support
10
+ * **[PollinationsAI](PollinationsAI/README.md):** Nature-inspired AI art generation with specialized models for organic and natural imagery
11
+ * **[Artbit](artbit/README.md):** Bit-perfect AI art creation with precise control over generation parameters
12
+ * **[HuggingFace](huggingface/README.md):** Direct integration with HuggingFace's powerful models for research-grade image generation
13
+ * **[FreeAIPlayground](FreeAIPlayground/README.md):** Premium image generation with DALL-E 3 and Flux series models including Pro Ultra, Realism, and Aurora variants
14
+ * **[PiclumenImager](piclumen/README.md):** Professional photorealistic image generation with advanced concurrent processing, optimized for macro photography, underwater scenes, and architectural visualization
15
+ * **[MagicStudio](MagicStudio/README.md):** Generate amazing images with MagicStudio's AI art generator! 🚀
16
+ * **[FastFlux](fastflux/README.md):** Generate amazing images with FastFlux's AI art generator! 🚀
17
+ * **[ImgSys](ImgSys/README.md):** Multi-provider image generation that creates 2 unique images from random AI models for each prompt, with comprehensive error handling and async support 🎨
18
+ * **[PixelMuse](pixelmuse/README.md):** Create stunning AI art with PixelMuse's powerful models including flux-schnell, imagen-3, and recraft-v3, featuring both sync and async support for optimal performance 🎨
19
+
20
+ ## 🚀 Features
21
+
22
+ All providers come with these fire features:
23
+
24
+ ### 🛠️ Core Features
25
+
26
+ * Both sync and async implementations
27
+
28
+ * Comprehensive error handling
29
+ * Optional logging with cyberpunk theme
30
+ * Dynamic user agent generation
31
+ * Proxy support
32
+ * Customizable timeouts
33
+ * Smart retry mechanisms
34
+
35
+ ### 💫 Developer Experience
36
+
37
+ * Consistent API across all providers
38
+
39
+ * Detailed documentation with examples
40
+ * Type hints for better IDE support
41
+ * Comprehensive error messages
42
+ * Easy-to-use interface
43
+
44
+ ### 🔒 Security Features
45
+
46
+ * Proxy support for privacy
47
+
48
+ * Configurable timeouts
49
+ * Safe error handling
50
+ * Optional verbose logging
51
+ * Dynamic user agent rotation
52
+
53
+ ## 🎯 Usage Example
54
+
55
+ ```python
56
+ # Sync way
57
+ from webscout.Provider.TTI import BlackboxAIImager
58
+
59
+ imager = BlackboxAIImager()
60
+ images = imager.generate("Epic dragon breathing fire", amount=2)
61
+ paths = imager.save(images)
62
+
63
+ # Async way
64
+ from webscout.Provider.TTI import AsyncDeepInfraImager
65
+ import asyncio
66
+
67
+ async def generate_art():
68
+ imager = AsyncDeepInfraImager()
69
+ images = await imager.generate("Cyberpunk city at night")
70
+ paths = await imager.save(images)
71
+
72
+ asyncio.run(generate_art())
73
+ ```
74
+
75
+ ## 🔧 Installation
76
+
77
+ ```bash
78
+ pip install webscout
79
+ ```
80
+
81
+ ## 📚 Common Interface
82
+
83
+ All providers implement these base classes:
84
+
85
+ * `ImageProvider` for sync operations
86
+ * `AsyncImageProvider` for async operations
87
+
88
+ ### 🎨 Common Methods
89
+
90
+ ```python
91
+ def generate(
92
+ self,
93
+ prompt: str, # Your creative prompt
94
+ amount: int = 1, # Number of images
95
+ max_retries: int = 3, # Max retry attempts
96
+ retry_delay: int = 5 # Delay between retries
97
+ ) -> List[bytes]: # Returns image data
98
+ ...
99
+
100
+ def save(
101
+ self,
102
+ response: List[bytes], # Image data
103
+ name: str = None, # Base filename
104
+ dir: str = os.getcwd(),# Save directory
105
+ prefix: str = "" # Filename prefix
106
+ ) -> List[str]: # Returns saved paths
107
+ ...
108
+ ```
109
+
110
+ ## 🛡️ Error Handling
111
+
112
+ All providers use these standard exceptions:
113
+
114
+ * `APIConnectionError`: Network/connection issues
115
+ * `InvalidResponseError`: Invalid API responses
116
+ * `FailedToGenerateResponseError`: Generation failures
117
+
118
+ ## 🎛️ Configuration
119
+
120
+ Common configuration options:
121
+
122
+ ```python
123
+ imager = Provider(
124
+ timeout=60, # Request timeout
125
+ proxies={}, # Proxy settings
126
+
127
+ )
128
+ ```