https://github.com/serpo-dev/python-kandinsky-api
script for bulk Kandinsky/FusionBrain AI image generation with API key rotation, auto-saving, rate-limiting, progress tracking, and failover handling, perfect for datasets, content creation & API testing
https://github.com/serpo-dev/python-kandinsky-api
ai-image-generation aiohttp api-keys-rotation artificial-intelligence async-image-generator asyncio automation-tools bulk-image-creation computer-vision content-creation dataset-generator fusionbrain-api image-processing kandinsky machine-learning multi-threading neural-networks python-script python3 stable-diffusion-alternative
Last synced: about 1 month ago
JSON representation
script for bulk Kandinsky/FusionBrain AI image generation with API key rotation, auto-saving, rate-limiting, progress tracking, and failover handling, perfect for datasets, content creation & API testing
- Host: GitHub
- URL: https://github.com/serpo-dev/python-kandinsky-api
- Owner: serpo-dev
- Created: 2025-03-25T21:11:53.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-03-25T21:25:29.000Z (about 1 month ago)
- Last Synced: 2025-03-25T22:29:11.687Z (about 1 month ago)
- Topics: ai-image-generation, aiohttp, api-keys-rotation, artificial-intelligence, async-image-generator, asyncio, automation-tools, bulk-image-creation, computer-vision, content-creation, dataset-generator, fusionbrain-api, image-processing, kandinsky, machine-learning, multi-threading, neural-networks, python-script, python3, stable-diffusion-alternative
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Kandinsky API
#### Async Multi-Key AI Image Generator Kandinsky API
* ⚡ Asynchronous requests
* 🔑 Supports multiple API keys
* 📊 Progress tracking
* 🖼️ Automatic image saving with unique names
* ⚙️ Configurable image size and count## Quick Start
1. Install requirements
```bash
pip install aiohttp tqdm
```
2. Create keys.txt with your API keys (format: token:key)```bash
echo "YOUR_TOKEN:YOUR_KEY" > keys.txt
```
3. Run the generator```bash
python main.py
```### Configuration
Edit these variables in `main.py`:
* `prompt` - Your generation prompt
* `total_images_per_key` - Images to generate per API key
* `output_dir` - Output directory (default: "output")### Keywords
AI, image-generation, fusionbrain, kandinsky, python, async, api, bulk-processing, content-creation, dataset-generator, neural-networks, automation