Generates images from text prompts using 60+ EachLabs AI models (Flux, GPT Image, Gemini, Imagen, Seedream). Guides on authentication and API polling.
Ships in eachlabs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate 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 |
| GPT Image v2 | gpt-image-v2-text-to-image | Highest-fidelity OpenAI model, strong in-image text |
| 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=<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=<slug> before creating predictions.See references/MODELS.md for complete parameter details for each model.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
image-generation, text-to-image, eachlabs, ai-models, flux, gpt-image
102 skills in this plugin
/3d-model-generationGenerate 3D models using each::sense AI. Create 3D assets from text or images for games, products, architecture, characters, vehicles, and more with PBR textures./age-transformationTransform faces across ages using each::sense AI. Create age progressions, de-aging effects, baby-to-adult predictions, and aging simulations for entertainment, forensics, and visual effects./ai-avatar-generationGenerate AI avatars from photos or text descriptions using each::sense. Create professional headshots, cartoon avatars, 3D characters, fantasy personas, gaming avatars, and consistent character designs for various platforms./ai-headshot-generationGenerate professional AI headshots from casual photos using each::sense AI. Create corporate portraits, LinkedIn photos, executive headshots, team photos, and more with consistent, professional quality./ai-influencer-generationAI Influencer GenerationGenerate consistent AI influencer personas and social media content using each::sense API/album-cover-generationGenerate professional music album covers using each::sense AI. Create artwork for hip-hop, rock, pop, electronic, jazz, classical, indie albums, singles, EPs, and Spotify canvas visuals./eachlabs-skills:eachlabs-image-generationfrom eachlabs-skills
eachlabs-skills@cascade-content-creation-misc-1 is listed by joshuarweaver/cascade-content-creation-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin eachlabs-skillsOther plugins' skills for the same job