agentleFS
awesome-genmediaawesome-genmedia/skills/image-generation/SKILL.md

image-generation

Skill36 starsChanged 7 months agoMITView on GitHub

Generate images from text descriptions using each::sense AI. Create photorealistic photos, illustrations, concept art, digital paintings, logos, and any visual from a text prompt. Supports all styles from hyperrealism to anime, abstract to architectural. 7 specialized models including flux-2-max, gemini-imagen-4, and seedream-v4-5. Use for: concept art, illustrations, marketing visuals, social media images, product shots, storyboarding, creative exploration. Triggers: generate image, create image, text to image, ai image, image generation, txt2img, ai art, generate picture, create visual, image from text, ai illustration, make image, draw, render

  • Reads credentials
  • Sends data out
Files
SKILL.md

Image Generation

Generate images from text descriptions using each::sense — the intelligent AI agent that automatically selects the best model for your request.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

Using curl

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": "A lone astronaut standing on a red desert planet, looking up at a sky filled with three massive moons, cinematic lighting, photorealistic, wide shot"}],
    "stream": false
  }'

Using Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_EACHLABS_API_KEY",
    base_url="https://eachsense-agent.core.eachlabs.run/v1"
)

response = client.chat.completions.create(
    model="eachsense/beta",
    messages=[{"role": "user", "content": "A lone astronaut standing on a red desert planet, looking up at a sky filled with three massive moons, cinematic lighting, photorealistic, wide shot"}]
)

print(response.choices[0].message.content)

With Reference Image

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Generate an image in the same style as this reference, but change the setting to a futuristic Tokyo street at night"},
              {"type": "image_url", "image_url": {"url": "https://example.com/reference-style.jpg"}}
            ]
          }
    ],
    "stream": false
  }'

Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.

Streaming

Set "stream": true for real-time SSE responses, or "stream": false for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.

Available Models

ModelStrengthsBest For
flux-2-maxHighest quality, exceptional detailHero images, print-ready visuals, portfolio work
flux-2-proFast with balanced qualityRapid iteration, production workflows
flux-kontext-proAccurate text rendering in imagesPosters, signs, logos with readable text
nano-banana-proFastest generation speedPrototyping, bulk generation, real-time previews
gemini-imagen-4Outstanding photorealismProduct photography, lifestyle shots, realistic scenes
seedream-v4-5Artistic and stylized outputsIllustrations, fantasy art, painterly styles
kling-text-to-imageVersatile across stylesGeneral-purpose generation, mixed media

each::sense automatically picks the optimal model based on your prompt. You do not need to specify a model unless you want to override the selection.

Prompt Engineering Guide

Prompt Structure

[subject] + [action/pose] + [environment] + [style] + [lighting] + [camera/composition]

Style Keywords

StyleKeywords
Photorealisticphotorealistic, ultra-realistic, DSLR photo, 8K, raw photo, unedited
Illustrationdigital illustration, vector art, hand-drawn, watercolor, ink drawing
Cinematiccinematic, film still, movie scene, dramatic lighting, anamorphic lens
Animeanime style, manga, cel shading, Studio Ghibli, Makoto Shinkai
3D Render3D render, octane render, unreal engine, isometric, blender render
Oil Paintingoil painting, impasto, classical art, Renaissance, Baroque
Pixel Artpixel art, 16-bit, retro game, 8-bit, sprite art
Minimalistminimalist, flat design, simple, clean lines, geometric

Aspect Ratios

Specify aspect ratio in your prompt to control image dimensions:

"... landscape format, 16:9 aspect ratio"
"... square format, 1:1"
"... portrait format, 9:16, vertical"
"... ultrawide, 21:9 cinematic"

Quality Boosters

masterpiece, highly detailed, sharp focus, professional,
studio quality, award-winning, 8K resolution, HDR

Negative Guidance

Describe what you do not want to improve results:

"... avoid blurry, no watermarks, no text overlays, avoid distorted faces"

Examples

Photorealistic Landscape

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": "A misty fjord in Norway at sunrise, mirror-like water reflecting snow-capped mountains, a small red fishing cabin on the shore, photorealistic, 8K, golden hour lighting, shot on Hasselblad"}],
    "stream": false
  }'

Digital Illustration

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": "A cozy bookstore interior with a cat sleeping on a stack of old books, warm lamp light, plants hanging from the ceiling, digital illustration, Studio Ghibli style, soft colors, whimsical atmosphere"}],
    "stream": false
  }'

Product Photography

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": "A sleek wireless earbud case on a marble surface, soft studio lighting, product photography, shallow depth of field, clean minimalist background, commercial quality, 1:1 square format"}],
    "stream": false
  }'

Concept Art

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": "A floating cyberpunk city above the clouds, neon lights reflecting off chrome towers, flying vehicles streaming between buildings, concept art, matte painting, epic scale, dramatic perspective, 16:9 cinematic"}],
    "stream": false
  }'

Text-in-Image (Poster)

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": "A vintage concert poster for a band called SOLAR DRIFT, playing at The Echo Lounge, June 15th. Retro psychedelic style with swirling colors, 60s typography, orange and purple palette, portrait format"}],
    "stream": false
  }'

Batch Generation Workflow

# Generate multiple style variations of the same subject
PROMPTS=(
  "A medieval castle on a cliff at sunset, oil painting style"
  "A medieval castle on a cliff at sunset, photorealistic, drone shot"
  "A medieval castle on a cliff at sunset, anime style, Makoto Shinkai"
  "A medieval castle on a cliff at sunset, pixel art, 16-bit"
)

for PROMPT in "${PROMPTS[@]}"; do
  curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
    -H "Content-Type: application/json" \
    -H "X-API-Key: $EACHLABS_API_KEY" \
    -d "{
      \"messages\": [{\"role\": \"user\", \"content\": \"$PROMPT\"}],
      \"stream\": false
    }"
  echo "---"
done

Common Pitfalls

  • Vague prompts produce generic results. Be specific about subject, style, and mood.
  • Too many subjects in one prompt cause confusion. Focus on one main subject per image.
  • Text rendering can be unreliable in most models. Use flux-kontext-pro for text-heavy images.
  • Hands and fingers can be distorted. Crop or pose hands carefully if they are the focus.
  • Contradictory styles (e.g., "photorealistic watercolor") confuse the model. Pick one.
  • Overloaded prompts with 50+ words often degrade quality. Aim for 15-40 words of focused description.

Related Skills

  • Image Editing — Edit and modify generated images with natural language
  • Image Upscaling — Enhance resolution of generated images
  • Background Removal — Remove backgrounds from generated images
  • Video Generation — Animate your images into video

Documentation

Download now (ZIP)

  • Other versions60 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 60

    1. bytedance/deer-flow★ 84ksame name
    2. zhayujie/chatgpt-on-wechat★ 48ksame name
    3. zhayujie/CowAgent★ 48ksame name
    4. Devin-AXIS/iPolloWork★ 7.3ksame name
    5. Devin-AXIS/A2V★ 7ksame name
    6. jjyaoao/HelloAgents★ 3.2ksame name
    7. stophobia/deerflow2.0-enhanced★ 821same name
    8. claude-office-skills/skills★ 433same name
    9. sonichi/sutando★ 396same name
    10. shinpr/mcp-image★ 182same name

    50 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use Video Generation, VLM and 10 more.

    Other files people use alongside this one.

    Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
    • huang-x-hSkill

      Video Generation

      Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.

      Also in 6 projects that use this

    • huang-x-hSkill

      VLM

      Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze images, describe visual content, or create applications that combine image understanding with conversational AI. Supports image URLs and base64 encoded images for multimodal interactions.

      Also in 6 projects that use this

    • dav-niu474Skill

      gift-evaluator

      The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.

      Also in 5 projects that use this

    • dav-niu474Skill

      Podcast Generate

      Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).

      Also in 5 projects that use this

    • +1 more from huang-x-h
    • +7 more from dav-niu474
  • In this repository28 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.