skillZs
LIVE SKILL TAGS
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
REAL INSTALL DATA
← back to all skills
starchild-ai-agent/official-skills1.7k installs

image-3d

3D-style image generation: 3D characters, product renders, isometric dioramas, 3D icons, 3D text, interior design renders, architectural visualization, 3D scenes, game assets. Use when generating 3D-style 2D images from text descriptions or reference photos (e.g. 3D character design, isometric diorama, 3D product render, interior design visualization, architectural render, 3D app icon, 3D text effect, game asset render).

How do I install this agent skill?

npx skills add https://github.com/starchild-ai-agent/official-skills --skill image-3d
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill 'image-3d' provides tools for generating 3D-style images using the fal.ai API. It includes comprehensive logic for handling various categories (characters, products, architecture) and styles. Security analysis identified minor risks typical for this type of integration: the skill accepts user-provided prompts and file paths without extensive sanitization, which could lead to indirect prompt injection or limited file access. Additionally, it disables SSL certificate validation for its network requests. However, all external communications are directed to well-known or internal services, and no malicious patterns such as credential theft or persistent backdoors were detected.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

What does this agent skill do?

image-3d

Use this skill for all 3D-style image generation requests on Starchild.

Covers: 3D character design (chibi, realistic, cartoon, fantasy), 3D product renders (floating, exploded, turntable), isometric dioramas & miniature scenes, 3D app icons (iOS, Material, game), 3D text effects (chrome, neon, wood, candy), interior design visualization (modern, luxury, cozy, industrial), architectural rendering (modern, traditional, futuristic, aerial, night), 3D scenes (fantasy, sci-fi, nature, urban), and game asset renders (weapons, environments, props, vehicles).

Core principle: call the provided script. Do not re-implement proxy/billing plumbing.

⚠️ Important distinction — 3D-style images vs 3D model files:

  • This skill generates 3D-style 2D images (PNG/JPG) — rendered pictures that look 3D
  • This skill does NOT produce 3D model files (.glb, .obj, .fbx, .usdz)
  • For actual 3D model files, users need dedicated 3D modeling services (Meshy, etc.)

When to use image-3d vs other image skills:

  • image-3d → user wants a 3D-rendered look: 3D characters, isometric scenes, 3D icons, architectural renders, interior design renders, 3D text effects
  • image-create → user wants general creative images (logos, posters, illustrations, memes) — image-create has a basic 3d category, but image-3d offers far more granular control
  • image-ecommerce → user wants product photos for e-commerce listings (white background, lifestyle shots)
  • image-edit → user wants to edit/transform an existing image
  • image-portrait → user wants a portrait with face/identity preserved

1. Quick start — text-to-3D image (most common)

⚠️ Execution context — read this first. The code blocks below are Python, not shell commands. Starchild's bash tool runs /bin/bash -c, which cannot parse exec(open(...)) — pasting them directly into a bash command will fail with syntax error near unexpected token 'open'. Also, exec(open(...)) inside python3 -c fails with NameError: __file__ because the script uses __file__ for path resolution.

Use python3 - <<'EOF' with from exports import when calling via the bash tool:

python3 - <<'EOF'
import sys
sys.path.insert(0, "skills/image-3d")
from exports import generate_3d
result = generate_3d(
    prompt="a cute robot assistant with big eyes and antenna",
    category="character",
    style="chibi",
)
print(result)
EOF

The heredoc (<<'EOF') preserves all quotes and newlines — no escaping needed.

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="a cute robot assistant with big eyes and antenna",
    category="character",
    style="chibi",
)
# result -> {"success": True, "images": [{"local_path": "output/images/..."}], ...}

2. Quick start — category + style only (no custom prompt)

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    category="diorama",
    style="isometric",
)
# Uses the built-in style template as the full prompt

3. Quick start — reference image → 3D style

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="transform into a 3D rendered character",
    reference_path="uploads/sketch.jpg",
    category="character",
    style="cartoon",
)

Delivering the result to the user — IMPORTANT

Never hand the user the raw fal.media URL. fal serves files with restrictive CSP headers. The only reliable delivery path is the already-downloaded local file:

  1. Use each image's local_path (e.g. output/images/xxx.png) — the script always downloads on success.
  2. Tell the user the files are saved to output/images/ and viewable in the workspace file panel.
  3. On Web channel, embed inline so the user can preview in chat:
    ![3d-render](output/images/<filename>.png)
    
  4. On Telegram / WeChat: send via send_to_telegram(file_path="output/images/...", message_type="image") or send_to_wechat(file_path="output/images/...", message_type="image").

4. Parameters

ParameterRequiredDefaultDescription
promptyes*Text description of the desired 3D image
reference_pathnoLocal file path to a reference image (for 3D stylization)
reference_urlnoPublic HTTPS URL of a reference image
categoryno"character"3D category preset (see §5)
styleno"default"Sub-style within the category (see §5)
modelno"nanopro"Model: "nanopro" (fast ~25s) or "gpt" (best quality ~150s)
countno1Number of images to generate (1–4)
aspect_rationoautoOutput ratio: 1:1, 3:4, 4:3, 9:16, 16:9. Auto-selected by category if not set.

*A prompt is required for text-to-image mode unless a non-default style is specified (which provides a built-in template).

Prompt priority: prompt + category/style (enhanced) > prompt only > category + style template > category default.

Aspect ratio auto-selection: When not explicitly set, the script picks the best ratio for the category:

  • 3:4 for characters (portrait orientation)
  • 1:1 for products, dioramas, icons, game assets (square showcase)
  • 16:9 for text, interiors, architecture, scenes (wide cinematic)

5. Categories and style presets

N: 3D Character (category="character")

StyleKeyBest for
Chibi / PixarchibiCute stylized characters, mascots, avatars
RealisticrealisticGame-ready characters, detailed anatomy
CartooncartoonDisney/Pixar style, family-friendly
FantasyfantasyRPG characters, warriors, mages
GeneraldefaultAny 3D character

Character prompt tips:

  • Describe pose, outfit, expression, and accessories
  • Specify "white background" or "clean background" for character sheets
  • For game characters, mention "T-pose" or "action pose"
  • Example: "a female elf ranger with green cloak, holding a bow, forest background"

N: 3D Product Render (category="product")

StyleKeyBest for
Floating 3/4 anglefloatingHero product shots, marketing
Exploded viewexplodedTechnical illustration, internal structure
Turntable / 360°turntableMulti-angle showcase
GeneraldefaultAny product render

Product prompt tips:

  • Describe material (matte, glossy, metallic, wood, glass)
  • Specify lighting (studio, dramatic, soft, rim light)
  • Mention the product type and key features
  • Example: "wireless earbuds in charging case, matte white, floating angle"

N: 3D Diorama / Isometric (category="diorama")

StyleKeyBest for
IsometricisometricMiniature worlds, city blocks, game maps
Low-polylowpolyStylized scenes, indie game aesthetic
RealisticrealisticArchitectural models, detailed miniatures
GeneraldefaultAny diorama scene

Diorama prompt tips:

  • Describe the scene contents (buildings, trees, characters, vehicles)
  • Mention scale ("miniature", "tiny", "dollhouse")
  • Specify mood (warm, cozy, dramatic, whimsical)
  • Example: "a cozy Japanese ramen shop at night, tiny customers inside, warm glow"

N: 3D Icon (category="icon")

StyleKeyBest for
iOS styleiosApple App Store icons, glossy glass
Material DesignmaterialGoogle Play icons, flat with depth
Game icongameRPG items, fantasy game UI
GeneraldefaultAny 3D icon

Icon prompt tips:

  • Describe the icon subject simply (one main element)
  • Specify the shape context ("rounded square", "circular")
  • Keep it simple — icons should be recognizable at small sizes
  • Example: "a camera icon with rainbow lens flare"

N: 3D Text (category="text")

StyleKeyBest for
Chrome / MetallicchromeBold titles, movie-style text
Neon glowneonCyberpunk, nightlife, signs
WoodwoodRustic, craft, natural brands
CandycandyPlayful, kids, sweet themes
GeneraldefaultAny 3D text effect

Text prompt tips:

  • ⚠️ AI text rendering is unreliable — keep text SHORT (1-3 words max)
  • Describe the text content in quotes: "the word 'HELLO'"
  • Specify material and environment
  • Example: "the word 'GAME OVER' in chrome metallic letters, dark background"

L: Interior Design (category="interior")

StyleKeyBest for
Modern minimalistmodernScandinavian, clean lines, natural light
LuxuryluxuryHigh-end, marble, gold accents
Cozy / HyggecozyWarm, comfortable, inviting
IndustrialindustrialLoft, exposed brick, urban chic
GeneraldefaultAny interior render

Interior prompt tips:

  • Describe the room type (living room, bedroom, kitchen, bathroom, office)
  • Mention key furniture and materials
  • Specify lighting (natural daylight, warm evening, dramatic)
  • Specify color palette if important
  • Example: "modern Scandinavian living room with large windows, light wood floors, gray sofa, indoor plants"

L: Architecture (category="architecture")

StyleKeyBest for
ModernmodernContemporary buildings, glass & steel
TraditionaltraditionalClassical, heritage, stone & wood
FuturisticfuturisticSci-fi, organic forms, green tech
Aerial viewaerialBird's eye, masterplan, site context
Night scenenightDramatic lighting, facade uplighting
GeneraldefaultAny architectural render

Architecture prompt tips:

  • Describe building type (house, office, tower, museum, school)
  • Mention materials (concrete, glass, steel, wood, stone, brick)
  • Specify environment (urban, suburban, hillside, waterfront)
  • Mention time of day for lighting (golden hour, midday, dusk, night)
  • Example: "modern three-story house with flat roof, large glass windows, surrounded by garden, golden hour"

N: 3D Scene (category="scene")

StyleKeyBest for
FantasyfantasyMagical worlds, floating islands
Sci-fiscifiSpace stations, futuristic tech
NaturenatureForests, landscapes, natural beauty
UrbanurbanCity streets, cyberpunk, neon
GeneraldefaultAny 3D scene

N: Game Asset (category="game_asset")

StyleKeyBest for
WeaponweaponSwords, guns, magical weapons
EnvironmentenvironmentGame levels, world design
ProppropItems, objects, collectibles
VehiclevehicleCars, ships, aircraft
GeneraldefaultAny game asset

6. 3D Rendering keyword guide

When crafting custom prompts, use these keywords to control the 3D look:

Materials

KeywordEffect
PBR materialsPhysically-based rendering, realistic surfaces
subsurface scatteringTranslucent skin, wax, marble
metallic / chromeReflective metal surfaces
glossy / matteSurface finish control
glass / transparentSee-through materials
clay renderMatte gray, no textures, shape focus

Lighting

KeywordEffect
studio lightingClean, professional, controlled
HDRI lightingEnvironment-based, natural reflections
rim lightEdge highlight, subject separation
volumetric lightingGod rays, atmospheric depth
ambient occlusionSoft contact shadows, depth
global illuminationRealistic light bouncing

Camera / Composition

KeywordEffect
isometric view45° top-down, no perspective distortion
3/4 angleClassic product/character showcase angle
eye levelNatural human perspective
bird's eye viewTop-down aerial perspective
tilt-shiftMiniature/diorama effect
depth of fieldBackground blur, subject focus

Render Engine Style

KeywordEffect
octane renderHigh-quality, photorealistic
Blender CyclesRealistic path tracing
Unreal Engine 5Game-quality, real-time look
V-RayArchitectural visualization quality
Cinema 4DClean, stylized 3D
KeyShotProduct visualization quality

7. Model selection guide

ModelKeySpeedQualityBest for
Nano Banana Pronanopro~25sGoodQuick iterations, drafts, most 3D styles
GPT Image 2gpt~150sBestFinal renders, complex scenes, fine details

Recommendations by category:

  • Charactersnanopro for drafts, gpt for final character sheets
  • Productsgpt for photorealistic renders, nanopro for quick concepts
  • Dioramasnanopro handles isometric well; gpt for detailed miniatures
  • Iconsnanopro is sufficient for most icons
  • Textgpt for better text rendering (still imperfect)
  • Interior/Architecturegpt for photorealistic archviz, nanopro for concepts
  • Scenesgpt for cinematic quality, nanopro for quick mood boards

8. Aspect ratio guide

CategoryDefaultRecommended alternatives
character3:41:1 for avatar, 9:16 for full-body
product1:14:3 for landscape showcase
diorama1:116:9 for panoramic diorama
icon1:1Always 1:1
text16:91:1 for square banners
interior16:94:3 for room views, 3:4 for vertical
architecture16:93:4 for tall buildings, 1:1 for aerial
scene16:99:16 for vertical scenes
game_asset1:13:4 for character assets

9. Intent recognition guide

Map user requests to the right category + style:

User says...CategoryStyleNotes
"3D character", "Pixar style character"characterchibi or cartoon
"game character", "RPG hero"characterfantasy
"realistic 3D person"characterrealistic
"3D product render", "product visualization"productfloating
"exploded view", "internal structure"productexploded
"isometric", "miniature scene", "tiny world"dioramaisometric
"low poly scene", "stylized environment"dioramalowpoly
"app icon", "iOS icon"iconios
"game icon", "RPG item icon"icongame
"3D text", "chrome text", "metallic letters"textchrome
"neon sign", "glowing text"textneon
"interior design", "room design", "装修效果图"interiormodern
"luxury interior", "penthouse"interiorluxury
"cozy room", "warm interior"interiorcozy
"building render", "architecture visualization"architecturemodern
"night render", "building at night"architecturenight
"aerial view", "masterplan"architectureaerial
"fantasy world", "magical scene"scenefantasy
"sci-fi scene", "space station"scenescifi
"game weapon", "sword render"game_assetweapon
"game environment", "level design"game_assetenvironment

10. Error handling

ErrorCauseFix
"Unknown model"Invalid model keyUse "nanopro" or "gpt"
"Unknown category"Invalid categoryCheck §5 for valid categories
"Unknown style"Style not in categoryCheck the style table for that category
"File not found"reference_path doesn't existVerify the file path
"Image too large"Reference image > 10 MBResize or compress the image
"Submit failed"API errorCheck FAL_KEY, retry
"Generation timed out"Model took too longRetry, or switch to nanopro

11. Advanced examples

3D character sheet (multiple angles)

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="a steampunk inventor character with goggles, leather apron, and mechanical arm, character sheet showing front and side views",
    category="character",
    style="realistic",
    model="gpt",
    aspect_ratio="16:9",
)

Isometric city block

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="a bustling Tokyo street corner with ramen shop, vending machines, and cherry blossom trees, tiny people walking",
    category="diorama",
    style="isometric",
)

Architectural night render

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="a modern art museum with curved glass facade, reflecting pool in front, dramatic uplighting",
    category="architecture",
    style="night",
    model="gpt",
)

Interior design — modern living room

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="spacious living room with floor-to-ceiling windows overlooking city skyline, minimalist furniture, warm wood accents, indoor plants",
    category="interior",
    style="modern",
    model="gpt",
)

Reference image → 3D style

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="transform into a 3D Pixar-style character with exaggerated features",
    reference_path="uploads/photo.jpg",
    category="character",
    style="cartoon",
)

3D game weapon

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="legendary fire sword with glowing runes, ember particles, dark background",
    category="game_asset",
    style="weapon",
)

3D neon text

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="the word 'CYBER' in neon pink and blue letters, wet street reflection",
    category="text",
    style="neon",
)

Multiple images for comparison

exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
    prompt="a cozy coffee shop interior with exposed brick and warm lighting",
    category="interior",
    style="cozy",
    count=3,
    model="nanopro",
)
# Generates 3 variations for the user to choose from

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/starchild-ai-agent/official-skills/image-3d">View image-3d on skillZs</a>