# image-cog
Image Cog - AI Image Generation Powered by SkillBoss API Hub Create professional images with AI - from single images to consistent character sets to product photography. Prerequisites This skill requires a SKILLBOSS_API_KEY for authentication with SkillBoss API Hub.
export SKILLBOSS_API_KEY=your_key_here
Quick pattern: import requests, os SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"] API_BASE = "https://api.heybossai.com/v1" def pilot(body: dict) -> dict: r = requests.post( f"{API_BASE}/pilot", headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"}, json=body, timeout=60, ) return r.json()
# Generate an image - returns image URL
result = pilot({ "type": "image", "inputs": {"prompt": "[your image request]"}, "prefer": "quality" }) image_url = result["result"]["image_url"] What Images You Can Create Single Image Creation Generate any image from a text description:
Scenes: "A cozy coffee shop interior with morning light streaming through windows"
Portraits: "Professional headshot of a confident woman in business attire"
Products: "Minimalist product shot of a white sneaker on a marble surface"
Abstract: "Geometric abstract art in navy and gold"
Nature: "Misty mountain landscape at sunrise with a lone hiker"
Image Editing Transform existing images: Style Transfer: "Transform this photo into a watercolor painting" Background Removal: "Remove the background and place on a clean white backdrop"
Enhancement: "Enhance the colors and add dramatic lighting"
Modification: "Change the person's outfit to a red dress"
Consistent Characters Create multiple images of the same character in different scenarios: Character Series: "Create a tech entrepreneur character, then show them: 1) At their desk coding, 2) Presenting to investors, 3) Celebrating a product launch" Mascot Variations: "Design a friendly robot mascot, then create versions for: welcome page, error page, success message, loading screen" Story Sequences: "Create a main character, then illustrate them in 5 scenes of a journey" This is powerful for: Comic strips and storyboards Marketing campaigns with consistent characters Video frame generation Brand mascots across contexts Product Photography Style Professional product visuals: Hero Shots: "Product hero shot of a smartwatch on a gradient background" Lifestyle Shots: "Smartphone being used by a person in a modern living room" Flat Lays: "Flat lay of skincare products with botanical elements" 360 Views: "Multiple angles of a leather handbag - front, side, back, detail" Sets of Related Images Multiple cohesive images for campaigns or collections: Social Media Sets: "5 Instagram post images for a fitness brand - consistent style, varied content" Website Heroes: "3 hero images for a SaaS landing page - professional, modern, tech-focused" Ad Variations: "4 versions of a product ad with different backgrounds and moods" Blog Illustrations: "Set of 6 illustrations for a blog post about productivity tips" Reference-Based Generation Use existing images as references for style, character, or composition: Style Matching: "Create a new image in the same artistic style as this reference" Character Consistency: "Using this person as reference, create a new scene with them hiking" Brand Alignment: "Create product images matching this brand's visual style" Composition Reference: "Create a similar composition but with different subjects" Image Specifications AspectOptionsAspect Ratios1:1 (square), 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9Sizes1K (~1024px), 2K (~2048px), 4K (~4096px)StylesPhotorealistic, illustration, watercolor, oil painting, anime, digital art, vectorFormatsPNG (default) Size recommendations:
1K: Quick iterations, thumbnails, social media posts, drafts
2K: Standard web content, presentations, marketing materials
4K: Hero images, print materials, final deliverables where detail matters
When to Use prefer Mode SkillBoss API Hub automatically selects the best model based on the prefer parameter: "quality" โ best visual quality, recommended for final deliverables "balanced" โ good quality at moderate cost, for most use cases "price" โ fastest and most affordable, for quick iterations/drafts 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: Working at a standing desk with multiple monitors In a video call meeting, explaining something At a coffee shop with laptop, thinking 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: Colorful Buddha bowl from above Happy person unpacking delivery Meal prep containers arranged neatly Close-up of fresh ingredients 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 Be descriptive: "Woman in office" is vague. "Confident woman in her 40s, silver blazer, modern glass-walled office, warm afternoon light" is better. Specify style: "Photorealistic", "digital illustration", "watercolor", "minimalist vector". Describe lighting: "Soft natural light", "dramatic side lighting", "golden hour glow", "studio lighting". Include mood: "Professional and confident", "warm and inviting", "energetic and vibrant". Mention composition: "Rule of thirds", "centered symmetry", "close-up", "wide establishing shot". For consistency: When creating character series, describe the character in detail first, then reference "the same character" in subsequent prompts.
Join 80,000+ one-person companies automating with AI