Ai illustration

From awesome-genmedia/skills · View interactive version

Ai illustration is an AI agent skill from the GitHub repository awesome-genmedia/skills. Generate custom illustrations for textbooks, articles, and educational materials using each::sense AI. Create scientific illustrations, technical drawings, conceptual art, book illustrations, and editorial visuals in various artistic styles. Use for: textbook illustrations, article graphics, scienti

How to use this skill

Skill file

AI Illustration Generator

Generate custom illustrations for textbooks, articles, and educational content 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": "Create a detailed botanical illustration of a sunflower showing the full plant from roots to flower head, with a cross-section of the stem and a magnified view of the seed arrangement in the center disc, scientific illustration style, fine line work, subtle watercolor coloring, white background"
      }
    ],
    "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": "Create a detailed botanical illustration of a sunflower showing the full plant from roots to flower head, with a cross-section of the stem and a magnified view of the seed arrangement in the center disc, scientific illustration style, fine line work, subtle watercolor coloring, white background"
    }]
)

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": "Create an editorial illustration inspired by the style and subject of this reference image, adapt it for a magazine article, add more detail and depth, maintain the color palette, professional editorial illustration quality"},
              {"type": "image_url", "image_url": {"url": "https://example.com/style-reference.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.

Tips for Illustration Generation

Examples

Scientific 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 scientific illustration of a jellyfish for a marine biology textbook: a moon jellyfish with translucent bell and trailing tentacles, showing internal radial canals and gonads visible through the transparent body, precise anatomical detail, colored pencil and ink scientific illustration style, off-white background"
      }
    ],
    "stream": false
  }'

Children's Book 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 whimsical children's book illustration of a fox and a rabbit reading a book together under an old oak tree, autumn leaves falling around them, warm golden afternoon light, soft watercolor style with visible brushstrokes, gentle and inviting, storybook quality"
      }
    ],
    "stream": false
  }'

Editorial Magazine 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": "An editorial illustration for a New Yorker style article about remote work: a person sitting in a home office that morphs into a tropical beach on one side and a snowy mountain cabin on the other, surreal concept art, sophisticated limited color palette of teal and coral, flat graphic illustration style"
      }
    ],
    "stream": false
  }'

Technical 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 technical cutaway illustration of a mechanical watch movement showing gears, mainspring, balance wheel, and escapement mechanism, exploded view with parts slightly separated to show assembly, precise mechanical drawing style, steel grey and brass tones, white background"
      }
    ],
    "stream": false
  }'

Workflow: Illustration for Publications

  1. Define the subject and audience — Academic, children's, editorial, or technical.
  2. Choose the artistic style — Watercolor, vector, pen and ink, digital painting.
  3. Generate the illustration — Provide detailed composition descriptions.
  4. Iterate on details — Refine with follow-up prompts adjusting specific elements.
  5. Prepare for publication — Upscale if needed and integrate into the layout.

Related Skills

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.