Loading...
Loading...
Compare original and translation side by side
3d3dexec(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",
)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",
)undefinedundefinedexec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
category="diorama",
style="isometric",
)exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
category="diorama",
style="isometric",
)undefinedundefinedexec(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",
)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",
)local_pathoutput/images/xxx.pngoutput/images/send_to_telegram(file_path="output/images/...", message_type="image")send_to_wechat(file_path="output/images/...", message_type="image")local_pathoutput/images/xxx.pngoutput/images/send_to_telegram(file_path="output/images/...", message_type="image")send_to_wechat(file_path="output/images/...", message_type="image")| Parameter | Required | Default | Description |
|---|---|---|---|
| yes* | — | Text description of the desired 3D image |
| no | — | Local file path to a reference image (for 3D stylization) |
| no | — | Public HTTPS URL of a reference image |
| no | | 3D category preset (see §5) |
| no | | Sub-style within the category (see §5) |
| no | | Model: |
| no | | Number of images to generate (1–4) |
| no | auto | Output ratio: |
promptstyleprompt + category/stylepromptcategory + stylecategory3:41:116:9| 参数 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|
| 是* | — | 所需3D图像的文本描述 |
| 否 | — | 参考图像的本地文件路径(用于3D风格化) |
| 否 | — | 参考图像的公开HTTPS链接 |
| 否 | | 3D分类预设(见第5节) |
| 否 | | 分类下的子风格(见第5节) |
| 否 | | 模型选项: |
| 否 | | 生成图像数量(1-4张) |
| 否 | auto | 输出比例: |
promptstyleprompt + 分类/风格prompt分类 + 风格3:41:116:9category="character"category="character"| Style | Key | Best for |
|---|---|---|
| Chibi / Pixar | | Cute stylized characters, mascots, avatars |
| Realistic | | Game-ready characters, detailed anatomy |
| Cartoon | | Disney/Pixar style, family-friendly |
| Fantasy | | RPG characters, warriors, mages |
| General | | Any 3D character |
"a female elf ranger with green cloak, holding a bow, forest background"| 风格 | 标识 | 适用场景 |
|---|---|---|
| Chibi/皮克斯 | | 可爱的风格化角色、吉祥物、头像 |
| 写实风格 | | 游戏可用角色、精细解剖结构 |
| 卡通风格 | | 迪士尼/皮克斯风格、适合全年龄段 |
| 奇幻风格 | | RPG角色、战士、法师 |
| 通用风格 | | 任意3D角色 |
"a female elf ranger with green cloak, holding a bow, forest background"category="product"category="product"| Style | Key | Best for |
|---|---|---|
| Floating 3/4 angle | | Hero product shots, marketing |
| Exploded view | | Technical illustration, internal structure |
| Turntable / 360° | | Multi-angle showcase |
| General | | Any product render |
"wireless earbuds in charging case, matte white, floating angle"| 风格 | 标识 | 适用场景 |
|---|---|---|
| 悬浮3/4视角 | | 产品主图、营销素材 |
| 爆炸视图 | | 技术说明图、内部结构展示 |
| 旋转展示/360° | | 多角度产品展示 |
| 通用风格 | | 任意产品渲染图 |
"wireless earbuds in charging case, matte white, floating angle"category="diorama"category="diorama"| Style | Key | Best for |
|---|---|---|
| Isometric | | Miniature worlds, city blocks, game maps |
| Low-poly | | Stylized scenes, indie game aesthetic |
| Realistic | | Architectural models, detailed miniatures |
| General | | Any diorama scene |
"a cozy Japanese ramen shop at night, tiny customers inside, warm glow"| 风格 | 标识 | 适用场景 |
|---|---|---|
| 等距风格 | | 微缩世界、城市街区、游戏地图 |
| 低多边形风格 | | 风格化场景、独立游戏美学 |
| 写实风格 | | 建筑模型、精细微缩场景 |
| 通用风格 | | 任意立体场景 |
"a cozy Japanese ramen shop at night, tiny customers inside, warm glow"category="icon"category="icon"| Style | Key | Best for |
|---|---|---|
| iOS style | | Apple App Store icons, glossy glass |
| Material Design | | Google Play icons, flat with depth |
| Game icon | | RPG items, fantasy game UI |
| General | | Any 3D icon |
"a camera icon with rainbow lens flare"| 风格 | 标识 | 适用场景 |
|---|---|---|
| iOS风格 | | Apple App Store图标、亮面玻璃效果 |
| Material Design风格 | | Google Play图标、扁平化带层次感 |
| 游戏图标 | | RPG道具、奇幻游戏UI |
| 通用风格 | | 任意3D图标 |
"a camera icon with rainbow lens flare"category="text"category="text"| Style | Key | Best for |
|---|---|---|
| Chrome / Metallic | | Bold titles, movie-style text |
| Neon glow | | Cyberpunk, nightlife, signs |
| Wood | | Rustic, craft, natural brands |
| Candy | | Playful, kids, sweet themes |
| General | | Any 3D text effect |
"the word 'HELLO'""the word 'GAME OVER' in chrome metallic letters, dark background"| 风格 | 标识 | 适用场景 |
|---|---|---|
| 铬金属/金属质感 | | 醒目标题、电影风格文字 |
| 霓虹发光 | | 赛博朋克、夜生活、招牌文字 |
| 木质风格 | | 复古、手工艺、自然品牌 |
| 糖果风格 | | 趣味、儿童、甜美主题 |
| 通用风格 | | 任意3D文字效果 |
"the word 'HELLO'""the word 'GAME OVER' in chrome metallic letters, dark background"category="interior"category="interior"| Style | Key | Best for |
|---|---|---|
| Modern minimalist | | Scandinavian, clean lines, natural light |
| Luxury | | High-end, marble, gold accents |
| Cozy / Hygge | | Warm, comfortable, inviting |
| Industrial | | Loft, exposed brick, urban chic |
| General | | Any interior render |
"modern Scandinavian living room with large windows, light wood floors, gray sofa, indoor plants"| 风格 | 标识 | 适用场景 |
|---|---|---|
| 现代简约 | | 斯堪的纳维亚风格、简洁线条、自然光 |
| 奢华风格 | | 高端、大理石、金色装饰 |
| 温馨舒适/Hygge | | 温暖、舒适、有吸引力 |
| 工业风 | | 阁楼、裸露砖墙、都市时尚 |
| 通用风格 | | 任意室内渲染图 |
"modern Scandinavian living room with large windows, light wood floors, gray sofa, indoor plants"category="architecture"category="architecture"| Style | Key | Best for |
|---|---|---|
| Modern | | Contemporary buildings, glass & steel |
| Traditional | | Classical, heritage, stone & wood |
| Futuristic | | Sci-fi, organic forms, green tech |
| Aerial view | | Bird's eye, masterplan, site context |
| Night scene | | Dramatic lighting, facade uplighting |
| General | | Any architectural render |
"modern three-story house with flat roof, large glass windows, surrounded by garden, golden hour"| 风格 | 标识 | 适用场景 |
|---|---|---|
| 现代风格 | | 当代建筑、玻璃与钢结构 |
| 传统风格 | | 古典、历史建筑、石材与木结构 |
| 未来主义 | | 科幻、有机形态、绿色科技 |
| 航拍视角 | | 鸟瞰图、总平面图、场地环境 |
| 夜景 | | 戏剧性灯光、建筑立面照明 |
| 通用风格 | | 任意建筑渲染图 |
"modern three-story house with flat roof, large glass windows, surrounded by garden, golden hour"category="scene"category="scene"| Style | Key | Best for |
|---|---|---|
| Fantasy | | Magical worlds, floating islands |
| Sci-fi | | Space stations, futuristic tech |
| Nature | | Forests, landscapes, natural beauty |
| Urban | | City streets, cyberpunk, neon |
| General | | Any 3D scene |
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 奇幻风格 | | 魔法世界、浮空岛 |
| 科幻风格 | | 空间站、未来科技 |
| 自然风格 | | 森林、景观、自然美景 |
| 都市风格 | | 城市街道、赛博朋克、霓虹 |
| 通用风格 | | 任意3D场景 |
category="game_asset"category="game_asset"| Style | Key | Best for |
|---|---|---|
| Weapon | | Swords, guns, magical weapons |
| Environment | | Game levels, world design |
| Prop | | Items, objects, collectibles |
| Vehicle | | Cars, ships, aircraft |
| General | | Any game asset |
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 武器 | | 剑、枪、魔法武器 |
| 环境 | | 游戏关卡、世界设计 |
| 道具 | | 物品、对象、收藏品 |
| 载具 | | 汽车、船只、飞行器 |
| 通用风格 | | 任意游戏资产 |
| Keyword | Effect |
|---|---|
| Physically-based rendering, realistic surfaces |
| Translucent skin, wax, marble |
| Reflective metal surfaces |
| Surface finish control |
| See-through materials |
| Matte gray, no textures, shape focus |
| 关键词 | 效果 |
|---|---|
| 基于物理的渲染,实现逼真的表面效果 |
| 半透明皮肤、蜡、大理石效果 |
| 反光金属表面 |
| 表面光泽控制 |
| 透明材质效果 |
| 哑光灰色、无纹理,聚焦形状 |
| Keyword | Effect |
|---|---|
| Clean, professional, controlled |
| Environment-based, natural reflections |
| Edge highlight, subject separation |
| God rays, atmospheric depth |
| Soft contact shadows, depth |
| Realistic light bouncing |
| 关键词 | 效果 |
|---|---|
| 干净、专业、可控的灯光 |
| 基于环境的灯光,实现自然反射 |
| 边缘高光,分离主体与背景 |
| 丁达尔效应、大气深度感 |
| 柔和接触阴影,增强深度 |
| 逼真的光线反弹效果 |
| Keyword | Effect |
|---|---|
| 45° top-down, no perspective distortion |
| Classic product/character showcase angle |
| Natural human perspective |
| Top-down aerial perspective |
| Miniature/diorama effect |
| Background blur, subject focus |
| 关键词 | 效果 |
|---|---|
| 45°俯视,无透视变形 |
| 经典产品/角色展示视角 |
| 自然人类视角 |
| 俯视航拍视角 |
| 微缩/立体场景效果 |
| 背景虚化,聚焦主体 |
| Keyword | Effect |
|---|---|
| High-quality, photorealistic |
| Realistic path tracing |
| Game-quality, real-time look |
| Architectural visualization quality |
| Clean, stylized 3D |
| Product visualization quality |
| 关键词 | 效果 |
|---|---|
| 高质量、照片级写实 |
| 逼真的路径追踪 |
| 游戏级画质、实时渲染效果 |
| 建筑可视化级画质 |
| 干净、风格化3D效果 |
| 产品可视化级画质 |
| Model | Key | Speed | Quality | Best for |
|---|---|---|---|---|
| Nano Banana Pro | | ~25s | Good | Quick iterations, drafts, most 3D styles |
| GPT Image 2 | | ~150s | Best | Final renders, complex scenes, fine details |
nanoprogptgptnanopronanoprogptnanoprogptgptnanoprogptnanopro| 模型 | 标识 | 速度 | 质量 | 适用场景 |
|---|---|---|---|---|
| Nano Banana Pro | | ~25秒 | 良好 | 快速迭代、草稿、大多数3D风格 |
| GPT Image 2 | | ~150秒 | 最佳 | 最终渲染图、复杂场景、精细细节 |
nanoprogptgptnanopronanoprogptnanoprogptgptnanoprogptnanopro| Category | Default | Recommended alternatives |
|---|---|---|
| character | | |
| product | | |
| diorama | | |
| icon | | Always |
| text | | |
| interior | | |
| architecture | | |
| scene | | |
| game_asset | | |
| 分类 | 默认比例 | 推荐替代比例 |
|---|---|---|
| character | | |
| product | | |
| diorama | | |
| icon | | 始终使用 |
| text | | |
| interior | | |
| architecture | | |
| scene | | |
| game_asset | | |
| User says... | Category | Style | Notes |
|---|---|---|---|
| "3D character", "Pixar style character" | | | |
| "game character", "RPG hero" | | | |
| "realistic 3D person" | | | |
| "3D product render", "product visualization" | | | |
| "exploded view", "internal structure" | | | |
| "isometric", "miniature scene", "tiny world" | | | |
| "low poly scene", "stylized environment" | | | |
| "app icon", "iOS icon" | | | |
| "game icon", "RPG item icon" | | | |
| "3D text", "chrome text", "metallic letters" | | | |
| "neon sign", "glowing text" | | | |
| "interior design", "room design", "装修效果图" | | | |
| "luxury interior", "penthouse" | | | |
| "cozy room", "warm interior" | | | |
| "building render", "architecture visualization" | | | |
| "night render", "building at night" | | | |
| "aerial view", "masterplan" | | | |
| "fantasy world", "magical scene" | | | |
| "sci-fi scene", "space station" | | | |
| "game weapon", "sword render" | | | |
| "game environment", "level design" | | |
| 用户需求 | 分类 | 风格 | 备注 |
|---|---|---|---|
| "3D角色"、"皮克斯风格角色" | | | |
| "游戏角色"、"RPG英雄" | | | |
| "写实3D人物" | | | |
| "3D产品渲染图"、"产品可视化" | | | |
| "爆炸视图"、"内部结构" | | | |
| "等距视图"、"微缩场景"、"极小世界" | | | |
| "低多边形场景"、"风格化环境" | | | |
| "应用图标"、"iOS图标" | | | |
| "游戏图标"、"RPG道具图标" | | | |
| "3D文字"、"铬金属文字"、"金属字母" | | | |
| "霓虹灯牌"、"发光文字" | | | |
| "室内设计"、"房间设计"、"装修效果图" | | | |
| "奢华室内"、"顶层公寓" | | | |
| "温馨房间"、"温暖室内" | | | |
| "建筑渲染图"、"建筑可视化" | | | |
| "夜景渲染"、"建筑夜景" | | | |
| "航拍视角"、"总平面图" | | | |
| "奇幻世界"、"魔法场景" | | | |
| "科幻场景"、"空间站" | | | |
| "游戏武器"、"剑渲染图" | | | |
| "游戏环境"、"关卡设计" | | |
| Error | Cause | Fix |
|---|---|---|
| Invalid model key | Use |
| Invalid category | Check §5 for valid categories |
| Style not in category | Check the style table for that category |
| reference_path doesn't exist | Verify the file path |
| Reference image > 10 MB | Resize or compress the image |
| API error | Check FAL_KEY, retry |
| Model took too long | Retry, or switch to |
| 错误信息 | 原因 | 解决方法 |
|---|---|---|
| 模型标识无效 | 使用 |
| 分类无效 | 查看第5节的有效分类 |
| 分类下无此风格 | 查看对应分类的风格表 |
| reference_path不存在 | 验证文件路径 |
| 参考图像超过10MB | 调整图像大小或压缩 |
| API错误 | 检查FAL_KEY,重试 |
| 模型运行超时 | 重试,或切换为 |
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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)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",
)undefinedundefined