eachlabs-image-generationGenerate new images from text prompts using EachLabs AI models. Supports text-to-image with multiple model families including Flux, GPT Image, Gemini, Imagen, Seedream, and more. Use when the user wants to create new images from text. For editing existing images, see eachlabs-image-edit.
Install via ClawdBot CLI:
clawdbot install eftalyurtseven/eachlabs-image-generationGenerate new images from text prompts using 60+ AI models via the EachLabs Predictions API. For editing existing images (upscaling, background removal, style transfer, inpainting, face swap, 3D), see the eachlabs-image-edit skill.
Header: X-API-Key: <your-api-key>
Set the EACHLABS_API_KEY environment variable. Get your key at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-2-turbo-text-to-image",
"version": "0.0.1",
"input": {
"prompt": "A serene Japanese garden with cherry blossoms, watercolor style",
"image_size": "landscape_16_9",
"num_images": 1,
"output_format": "png"
}
}'
curl https://api.eachlabs.ai/v1/prediction/{prediction_id} \
-H "X-API-Key: $EACHLABS_API_KEY"
Poll until status is "success" or "failed". The output image URL is in the response.
| Model | Slug | Best For |
|-------|------|----------|
| Flux 2 Turbo | flux-2-turbo-text-to-image | Fast, high quality general purpose |
| Flux 2 Flash | flux-2-flash-text-to-image | Fastest Flux generation |
| Flux 2 Max | flux-2-max-text-to-image | Highest quality Flux |
| Flux 2 Klein 9B | flux-2-klein-9b-base-text-to-image | Balanced quality/speed |
| Flux 2 Pro | flux-2-pro | Pro quality |
| Flux 2 Flex | flux-2-flex | Flexible outputs |
| Flux 2 LoRA | flux-2-lora | LoRA-powered generation |
| XAI Grok Imagine | xai-grok-imagine-text-to-image | Creative and artistic |
| GPT Image v1.5 | gpt-image-v1-5-text-to-image | High quality, transparent bg |
| Bytedance Seedream v4.5 | bytedance-seedream-v4-5-text-to-image | Bytedance latest |
| Gemini 3 Pro Image | gemini-3-pro-image-preview | Google's latest |
| Imagen 4 | imagen4-preview | Google Imagen 4 |
| Imagen 4 Fast | imagen-4-fast | Fast Google quality |
| Reve | reve-text-to-image | Artistic text-to-image |
| Hunyuan Image v3 | hunyuan-image-v3-text-to-image | Tencent's latest |
| Ideogram V3 Turbo | ideogram-v3-turbo | Text in images |
| Minimax | minimax-text-to-image | High quality |
| Wan v2.6 | wan-v2-6-text-to-image | Chinese/English bilingual |
| P Image | p-image-text-to-image | Custom aspect ratios |
| Nano Banana Pro | nano-banana-pro | Fast, lightweight |
| Vidu Q2 | vidu-q2-text-to-image | Latest Vidu |
| Model | Slug | Best For |
|-------|------|----------|
| Z Image Trainer | z-image-trainer | Custom LoRA training |
| Flux LoRA Portrait Trainer | flux-lora-portrait-trainer | Portrait LoRA |
| Flux Turbo Trainer | flux-turbo-trainer | Fast LoRA training |
GET https://api.eachlabs.ai/v1/model?slug= â validates the model exists and returns the request_schema with exact input parameters. Always do this before creating a prediction to ensure correct inputs.https://api.eachlabs.ai/v1/prediction with model slug, version "0.0.1", and input parameters matching the schemaGET https://api.eachlabs.ai/v1/prediction/{id} until status is "success" or "failed"curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-2-turbo-text-to-image",
"version": "0.0.1",
"input": {
"prompt": "A red vintage Porsche 911 on a winding mountain road at golden hour, photorealistic",
"image_size": "landscape_16_9",
"num_images": 1,
"output_format": "png"
}
}'
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-text-to-image",
"version": "0.0.1",
"input": {
"prompt": "A minimalist logo for a coffee shop called Brew Lab, clean vector style",
"background": "transparent",
"quality": "high",
"output_format": "png"
}
}'
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "imagen4-preview",
"version": "0.0.1",
"input": {
"prompt": "A whimsical fairy tale castle on a floating island, digital art, highly detailed"
}
}'
Most Flux 2 and Wan models use these presets:
square_hd â Square, high definitionsquare â Square, standardportrait_4_3 â Portrait 4:3portrait_16_9 â Portrait 16:9landscape_4_3 â Landscape 4:3landscape_16_9 â Landscape 16:9P Image models use aspect ratio strings: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, custom
GET /v1/model?slug= before creating predictions.See references/MODELS.md for complete parameter details for each model.
Generated Mar 1, 2026
Marketing teams can generate custom images for social media posts, advertisements, and blog articles. This skill enables rapid prototyping of visual content tailored to specific campaigns, reducing reliance on stock photos and speeding up content production cycles.
Online retailers can create product images for listings, especially for items not yet photographed or for conceptual products. It allows for generating lifestyle shots or backgrounds to enhance product appeal without physical photoshoots.
Educators and e-learning platforms can produce custom illustrations, diagrams, and visual aids for courses and textbooks. This supports creating engaging, topic-specific imagery that enhances learning experiences without copyright issues.
Creative agencies can use this skill to quickly generate concept art, mood boards, and design mockups for client presentations. It facilitates iterative feedback and visualization of ideas before final production, saving time and resources.
Game developers can generate textures, character concepts, and environment art for prototyping or indie projects. This accelerates early-stage development by providing custom assets based on descriptive prompts, reducing initial art costs.
Offer the image generation API as a paid service to developers and businesses, charging based on usage tiers or subscription plans. This model leverages the skill's integration capabilities to provide scalable, on-demand image creation for various applications.
License the technology to other companies for embedding into their own products, such as design tools or content management systems. This generates revenue through licensing fees while expanding market reach without direct customer support overhead.
Develop a user-friendly web or mobile app that allows individuals to generate images for free with basic features, then charge for advanced models, higher resolutions, or commercial usage rights. This attracts a broad user base and converts a portion to paying customers.
đŹ Integration Tip
Always check the model schema via the API before creating predictions to ensure correct input parameters, and set up environment variables for API keys to streamline authentication.
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
Capture frames or clips from RTSP/ONVIF cameras.
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
äœżçšć çœź image_generate.py èæŹçæćŸç, ć〿ž æ°ć ·äœç `prompt`ă
AI image generation powered by CellCog. Create images, edit photos, consistent characters, product photography, reference-based images, sets of images, style transfer. Professional image creation with AI.