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
- Specify the illustration style precisely — botanical, technical, editorial, children's book, medical, architectural.
- Describe composition details — views, cross-sections, callouts, and detail insets.
- Include medium references — "watercolor," "pen and ink," "digital vector," "charcoal," or "gouache."
- Mention the context — "for a biology textbook," "for a magazine article," or "for a children's book" shapes the output.
- Request consistent style across multiple illustrations by reusing style keywords.
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
- Define the subject and audience — Academic, children's, editorial, or technical.
- Choose the artistic style — Watercolor, vector, pen and ink, digital painting.
- Generate the illustration — Provide detailed composition descriptions.
- Iterate on details — Refine with follow-up prompts adjusting specific elements.
- Prepare for publication — Upscale if needed and integrate into the layout.
Related Skills
Related Models
Documentation
1---2name: ai-illustration3description: 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, scientific illustrations, editorial art, book illustrations, educational visuals. Triggers: illustration, textbook illustration, editorial illustration, scientific illustration, book art, custom illustration, article illustration, concept illustration, technical illustration, educational art4---56# AI Illustration Generator78Generate custom illustrations for textbooks, articles, and educational content using [each::sense](https://docs.eachlabs.ai/sense/overview) — the intelligent AI agent that automatically selects the best model for your request.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314### Using curl1516```bash17curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \18 -H "Content-Type: application/json" \19 -H "X-API-Key: $EACHLABS_API_KEY" \20 -d '{21 "messages": [22 {23 "role": "user",24 "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"25 }26 ],27 "stream": false28 }'29```3031### Using Python (OpenAI SDK)3233```python34from openai import OpenAI3536client = OpenAI(37 api_key="YOUR_EACHLABS_API_KEY",38 base_url="https://eachsense-agent.core.eachlabs.run/v1"39)4041response = client.chat.completions.create(42 model="eachsense/beta",43 messages=[{44 "role": "user",45 "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"46 }]47)4849print(response.choices[0].message.content)50```5152### With Reference Image5354```bash55curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \56 -H "Content-Type: application/json" \57 -H "X-API-Key: $EACHLABS_API_KEY" \58 -d '{59 "messages": [60 {61 "role": "user",62 "content": [63 {"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"},64 {"type": "image_url", "image_url": {"url": "https://example.com/style-reference.jpg"}}65 ]66 }67 ],68 "stream": false69 }'70```7172> Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.7374### Streaming7576Set `"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.7778## Tips for Illustration Generation7980- **Specify the illustration style precisely** — botanical, technical, editorial, children's book, medical, architectural.81- **Describe composition details** — views, cross-sections, callouts, and detail insets.82- **Include medium references** — "watercolor," "pen and ink," "digital vector," "charcoal," or "gouache."83- **Mention the context** — "for a biology textbook," "for a magazine article," or "for a children's book" shapes the output.84- **Request consistent style** across multiple illustrations by reusing style keywords.8586## Examples8788### Scientific Illustration8990```bash91curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \92 -H "Content-Type: application/json" \93 -H "X-API-Key: $EACHLABS_API_KEY" \94 -d '{95 "messages": [96 {97 "role": "user",98 "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"99 }100 ],101 "stream": false102 }'103```104105### Children's Book Illustration106107```bash108curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \109 -H "Content-Type: application/json" \110 -H "X-API-Key: $EACHLABS_API_KEY" \111 -d '{112 "messages": [113 {114 "role": "user",115 "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"116 }117 ],118 "stream": false119 }'120```121122### Editorial Magazine Illustration123124```bash125curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \126 -H "Content-Type: application/json" \127 -H "X-API-Key: $EACHLABS_API_KEY" \128 -d '{129 "messages": [130 {131 "role": "user",132 "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"133 }134 ],135 "stream": false136 }'137```138139### Technical Illustration140141```bash142curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \143 -H "Content-Type: application/json" \144 -H "X-API-Key: $EACHLABS_API_KEY" \145 -d '{146 "messages": [147 {148 "role": "user",149 "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"150 }151 ],152 "stream": false153 }'154```155156## Workflow: Illustration for Publications1571581. **Define the subject and audience** — Academic, children's, editorial, or technical.1592. **Choose the artistic style** — Watercolor, vector, pen and ink, digital painting.1603. **Generate the illustration** — Provide detailed composition descriptions.1614. **Iterate on details** — Refine with follow-up prompts adjusting specific elements.1625. **Prepare for publication** — Upscale if needed and integrate into the layout.163164## Related Skills165166- [AI Diagram Generator](../ai-diagram-generator/SKILL.md) — Structured educational diagrams167- [AI Flashcard Generator](../ai-flashcard-generator/SKILL.md) — Illustrated study cards168- [AI Educational Video](../ai-educational-video/SKILL.md) — Animated educational content169- [Text to Image](../../image/text-to-image/SKILL.md) — General-purpose image generation170171## Related Models172173- [flux-2-max](../../../models/flux-2-max/SKILL.md) — High-fidelity detailed illustrations174- [seedream-v4-5](../../../models/seedream-v4-5/SKILL.md) — Artistic and stylized outputs175- [nano-banana-pro](../../../models/nano-banana-pro/SKILL.md) — Fast concept sketches176177## Documentation178179- [each::sense Overview](https://docs.eachlabs.ai/sense/overview)180- [each::labs API](https://docs.eachlabs.ai)