Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bl1nk42v1.0.0Apache-2.0
Production visual production system for Modal + ComfyUI: generation, restoration, analysis, cache, queue, memory, style learning, dataset curation, memes, and video workflows.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A high-performance microservice for generating images from text prompts using Google Cloud Vertex AI Imagen 2, built with FastAPI and featuring intelligent caching for cost optimization.
POST /v1/images/generate
Request Body:
{
"prompt": "A beautiful sunset over mountains",
"style": "photorealistic",
"aspect_ratio": "16:9"
}
Response:
{
"status": "success",
"from_cache": false,
"image_url": "https://storage.googleapis.com/your-bucket/image.png",
"created_at": "2025-07-25T12:00:00Z"
}
GET /health
Response:
{
"status": "ok"
}
git clone <repository-url>
cd image-generation-service
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your configuration
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
python -m uvicorn app.main:app --host 0.0.0.0 --port 8000
docker build -t image-generation-service .
docker run -p 8000:8000 \
-e GOOGLE_CLOUD_PROJECT=your-project-id \
-e GOOGLE_CLOUD_BUCKET=your-bucket \
-v /path/to/credentials:/app/credentials:ro \
image-generation-service
mkdir credentials
cp /path/to/service-account-key.json credentials/
export GOOGLE_CLOUD_PROJECT=your-project-id
export GOOGLE_CLOUD_BUCKET=your-bucket
docker-compose up -d
| Variable | Description | Default | Required |
|---|---|---|---|
GOOGLE_CLOUD_PROJECT | Google Cloud Project ID | - | Yes |
GOOGLE_CLOUD_BUCKET | Cloud Storage bucket name | - | Yes |
GOOGLE_APPLICATION_CREDENTIALS | Path to service account key | - | Yes |
REDIS_URL | Redis connection URL | - | No |
CACHE_EXPIRATION_HOURS | Cache expiration time | 24 | No |
API_HOST | API host address | 0.0.0.0 | No |
API_PORT | API port number | 8000 | No |
VERTEX_AI_LOCATION | Vertex AI region | us-central1 | No |
Enable APIs:
Create Service Account:
Create Storage Bucket:
The service features an intelligent caching system that:
img_cache:{sha256_hash_of_parameters}
Once the service is running, visit:
curl http://localhost:8000/health
The Docker container includes built-in health checks that monitor the service status.
The service provides comprehensive error handling with appropriate HTTP status codes:
Error responses follow this format:
{
"status": "error",
"message": "Error description"
}
Generated from the plugin's indexed repository (bl1nk42/image-gen) — no native marketplace selected
npx claudepluginhub p/bl1nk42-modal-memory-imagePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.