Image Cog
by @nitishgargiitd
AI image generation and photo editing powered by CellCog. Text-to-image, image-to-image, consistent characters, product photography, reference-based generati...
clawhub install image-cogπ About This Skill
name: image-cog description: "AI image generation and photo editing powered by CellCog. Text-to-image, image-to-image, consistent characters, product photography, reference-based generation, style transfer, sets of images, social media visuals, brand assets, stickers, comics, GIFs. Professional image creation with multiple AI models." metadata: openclaw: emoji: "π¨" os: [darwin, linux, windows] requires: bins: [python3] env: [CELLCOG_API_KEY] author: CellCog homepage: https://cellcog.ai dependencies: [cellcog]
Image Cog - AI Image Generation Powered by CellCog
Create professional images with AI - from single images to consistent character sets to product photography.
How to Use
For your first CellCog task in a session, read the cellcog skill for the full SDK reference β file handling, chat modes, timeouts, and more.
OpenClaw (fire-and-forget):
result = client.create_chat(
prompt="[your task prompt]",
notify_session_key="agent:main:main",
task_label="my-task",
chat_mode="agent",
)
All agents except OpenClaw (blocks until done):
from cellcog import CellCogClient
client = CellCogClient(agent_provider="openclaw|cursor|claude-code|codex|...")
result = client.create_chat(
prompt="[your task prompt]",
task_label="my-task",
chat_mode="agent",
)
print(result["message"])
What Models Do We Use
| Model | Provider | Primary Use | |-------|----------|-------------| | Nano Banana 2 (Gemini 3.1 Flash Image) | Google | Default image generation β photorealistic scenes, complex compositions, text rendering, multi-turn character consistency | | GPT Image 1.5 | OpenAI | Transparent background images β logos, stickers, product cutouts, overlay graphics | | Recraft | Recraft AI | Scalable vector illustrations (SVG) and icon generation |
Nano Banana 2 is the default model for all image generation. CellCog's agents intelligently route to other models when the task calls for it β for example, transparent PNGs are automatically handled by GPT Image 1.5, and vector/icon requests go to Recraft. If you'd prefer a specific model, just mention it in your prompt (e.g., *"use ChatGPT/OpenAI image generation"*).
What Images You Can Create
Single Image Creation
Generate any image from a text description:
Image Editing
Transform existing images:
Consistent Characters
Create multiple images of the same character in different scenarios:
This is powerful for:
Product Photography Style
Professional product visuals:
Sets of Related Images
Multiple cohesive images for campaigns or collections:
Reference-Based Generation
Use existing images as references for style, character, or composition:
Image Specifications
| Aspect | Options | |--------|---------| | Aspect Ratios | 1:1 (square), 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 | | Sizes | 1K (~1024px), 2K (~2048px), 4K (~4096px) | | Styles | Photorealistic, illustration, watercolor, oil painting, anime, digital art, vector | | Formats | PNG (default) |
Size recommendations:
When to Use Agent Team Mode
For image generation, chat_mode="agent team" is recommended for:
For simple single images, chat_mode="agent" can work faster.
Example Image Prompts
Professional headshot: > "Create a professional headshot of a friendly Asian woman in her 30s, wearing a navy blazer, soft studio lighting, neutral gray background, confident but approachable expression. 1:1 square, 2K quality, photorealistic."
Product photography: > "Product shot of a premium wireless earbuds case, matte black finish, on a reflective dark surface with subtle blue accent lighting. Minimalist, high-end tech aesthetic. 4:3 landscape, 4K for hero image."
Consistent character set: > "Create a character: young Black male software developer, casual style with glasses, friendly demeanor. Then create 4 images: > 1. Working at a standing desk with multiple monitors > 2. In a video call meeting, explaining something > 3. At a coffee shop with laptop, thinking > 4. Celebrating with team, high-fiving > Keep the character exactly consistent across all images."
Social media set: > "Create 5 Instagram posts for a plant-based meal delivery service: > 1. Colorful Buddha bowl from above > 2. Happy person unpacking delivery > 3. Meal prep containers arranged neatly > 4. Close-up of fresh ingredients > 5. Before/after showing ingredients to finished dish > Style: bright, fresh, appetizing, consistent warm color grading. 1:1 square format."
Style transfer: > "Transform this uploaded photo of a city street into a Studio Ghibli anime style illustration. Keep the composition and elements but apply the characteristic Ghibli warmth, soft clouds, and whimsical details."
Tips for Better Images
1. Be descriptive: "Woman in office" is vague. "Confident woman in her 40s, silver blazer, modern glass-walled office, warm afternoon light" is better.
2. Specify style: "Photorealistic", "digital illustration", "watercolor", "minimalist vector".
3. Describe lighting: "Soft natural light", "dramatic side lighting", "golden hour glow", "studio lighting".
4. Include mood: "Professional and confident", "warm and inviting", "energetic and vibrant".
5. Mention composition: "Rule of thirds", "centered symmetry", "close-up", "wide establishing shot".
6. For consistency: When creating character series, describe the character in detail first, then reference "the same character" in subsequent prompts.
If CellCog is not installed
Run /cellcog-setup (or /cellcog:cellcog-setup depending on your tool) to install and authenticate.
OpenClaw users: Run clawhub install cellcog instead.
Manual setup: pip install -U cellcog and set CELLCOG_API_KEY. See the cellcog skill for SDK reference.