What problem does it solve?
This Skill automates image generation using a locally deployed Jimeng API service (Docker). It converts text prompts into high-quality images and downloads them to the project's /pic folder. The skill supports text-to-image and image-to-image generation workflows, with configurable aspect ratios and multiple resolution levels.
Core Features & Use Cases
- Text-to-Image: generate images from text prompts.
- Image-to-Image: transform existing images with prompts.
- Local deployment: runs with a Dockerized Jimeng API and saves results to /pic for easy access.
Quick Start
Start the Jimeng API locally (Docker), then run the generation commands:
- Text-to-image: python scripts/generate_image.py text "a futuristic city at dusk" --session-id YOUR_SESSION_ID
- Image-to-image: python scripts/generate_image.py image "stylize this photo" --session-id YOUR_SESSION_ID --images /path/to/image.jpg