image-3d
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseimage-3d
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 category, but image-3d offers far more granular control
3d - 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
在Starchild上,所有3D风格图像生成请求都可使用此技能。
涵盖范围:3D角色设计(chibi、写实、卡通、奇幻风格)、3D产品渲染图(悬浮视角、爆炸视图、旋转展示)、等距立体场景与微缩场景、3D应用图标(iOS、Material Design、游戏风格)、3D文字效果(铬金属、霓虹、木质、糖果风格)、室内设计可视化效果(现代简约、奢华、温馨舒适、工业风)、建筑渲染图(现代、传统、未来主义、航拍、夜景)、3D场景(奇幻、科幻、自然、都市)以及游戏资产渲染图(武器、环境、道具、载具)。
**核心原则:**调用提供的脚本。请勿重新实现代理/计费相关流程。
⚠️ 重要区分——3D风格图像与3D模型文件:
- 本技能生成3D风格的2D图像(PNG/JPG格式)——视觉上具有3D效果的渲染图片
- 本技能不生成3D模型文件(.glb、.obj、.fbx、.usdz)
- 若需要真实的3D模型文件,用户需使用专门的3D建模服务(如Meshy等)
image-3d与其他图像技能的适用场景对比:
- image-3d → 用户需要3D渲染效果:3D角色、等距场景、3D图标、建筑渲染图、室内设计渲染图、3D文字效果
- image-create → 用户需要通用创意图像(logo、海报、插画、表情包)——image-create包含基础的分类,但image-3d提供更精细的控制
3d - image-ecommerce → 用户需要用于电商列表的产品照片(白底图、场景图)
- image-edit → 用户需要编辑/转换现有图像
- image-portrait → 用户需要保留面部/身份特征的肖像图
1. Quick start — text-to-3D image (most common)
1. 快速入门——文本转3D图像(最常用)
python
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",
)python
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/..."}], ...}
result -> {"success": True, "images": [{"local_path": "output/images/..."}], ...}
undefinedundefined2. Quick start — category + style only (no custom prompt)
2. 快速入门——仅指定分类+风格(无需自定义提示词)
python
exec(open('skills/image-3d/generate_3d.py').read())
result = generate_3d(
category="diorama",
style="isometric",
)python
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
使用内置风格模板作为完整提示词
undefinedundefined3. Quick start — reference image → 3D style
3. 快速入门——参考图像转3D风格
python
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",
)python
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:
- Use each image's (e.g.
local_path) — the script always downloads on success.output/images/xxx.png - Tell the user the files are saved to and viewable in the workspace file panel.
output/images/ - On Web channel, embed inline so the user can preview in chat:
markdown
 - On Telegram / WeChat: send via or
send_to_telegram(file_path="output/images/...", message_type="image").send_to_wechat(file_path="output/images/...", message_type="image")
切勿直接提供用户原始fal.media链接。fal提供的文件带有严格的CSP头,唯一可靠的交付方式是已下载的本地文件:
- 使用每张图片的(例如
local_path)——脚本在生成成功后总会自动下载文件output/images/xxx.png - 告知用户文件已保存至,可在工作区文件面板查看
output/images/ - 在Web渠道,可将图片嵌入聊天内容以便用户预览:
markdown
 - 在Telegram/微信渠道:使用或
send_to_telegram(file_path="output/images/...", message_type="image")发送图片send_to_wechat(file_path="output/images/...", message_type="image")
4. Parameters
4. 参数说明
| 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: |
*A is required for text-to-image mode unless a non-default is specified (which provides a built-in template).
promptstylePrompt priority: (enhanced) > only > template > default.
prompt + category/stylepromptcategory + stylecategoryAspect ratio auto-selection: When not explicitly set, the script picks the best ratio for the category:
- for characters (portrait orientation)
3:4 - for products, dioramas, icons, game assets (square showcase)
1:1 - for text, interiors, architecture, scenes (wide cinematic)
16:9
| 参数 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|
| 是* | — | 所需3D图像的文本描述 |
| 否 | — | 参考图像的本地文件路径(用于3D风格化) |
| 否 | — | 参考图像的公开HTTPS链接 |
| 否 | | 3D分类预设(见第5节) |
| 否 | | 分类下的子风格(见第5节) |
| 否 | | 模型选项: |
| 否 | | 生成图像数量(1-4张) |
| 否 | auto | 输出比例: |
*文本转图像模式下需要填写,除非指定了非默认的(该样式会提供内置模板)。
promptstyle提示词优先级: (增强版) > 仅 > 模板 > 分类默认值
prompt + 分类/风格prompt分类 + 风格自动选择宽高比: 若未明确设置,脚本会根据分类选择最佳比例:
- 角色类:(竖版肖像)
3:4 - 产品、立体场景、图标、游戏资产:(方形展示)
1:1 - 文字、室内、建筑、场景:(宽屏电影级)
16:9
5. Categories and style presets
5. 分类与风格预设
N: 3D Character (category="character"
)
category="character"N: 3D角色(category="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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| Chibi/皮克斯 | | 可爱的风格化角色、吉祥物、头像 |
| 写实风格 | | 游戏可用角色、精细解剖结构 |
| 卡通风格 | | 迪士尼/皮克斯风格、适合全年龄段 |
| 奇幻风格 | | RPG角色、战士、法师 |
| 通用风格 | | 任意3D角色 |
角色提示词技巧:
- 描述姿势、服装、表情和配饰
- 若需要角色展示图,可指定“白色背景”或“简洁背景”
- 游戏角色可提及“T字姿势”或“动作姿势”
- 示例:
"a female elf ranger with green cloak, holding a bow, forest background"
N: 3D Product Render (category="product"
)
category="product"N: 3D产品渲染图(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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 悬浮3/4视角 | | 产品主图、营销素材 |
| 爆炸视图 | | 技术说明图、内部结构展示 |
| 旋转展示/360° | | 多角度产品展示 |
| 通用风格 | | 任意产品渲染图 |
产品提示词技巧:
- 描述材质(哑光、亮面、金属、木质、玻璃)
- 指定灯光(影棚光、戏剧性灯光、柔和灯光、轮廓光)
- 提及产品类型和核心特性
- 示例:
"wireless earbuds in charging case, matte white, floating angle"
N: 3D Diorama / Isometric (category="diorama"
)
category="diorama"N: 3D立体场景/等距视图(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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 等距风格 | | 微缩世界、城市街区、游戏地图 |
| 低多边形风格 | | 风格化场景、独立游戏美学 |
| 写实风格 | | 建筑模型、精细微缩场景 |
| 通用风格 | | 任意立体场景 |
立体场景提示词技巧:
- 描述场景内容(建筑、树木、角色、载具)
- 提及比例(“微缩”、“极小”、“玩偶屋风格”)
- 指定氛围(温暖、舒适、戏剧性、奇幻)
- 示例:
"a cozy Japanese ramen shop at night, tiny customers inside, warm glow"
N: 3D Icon (category="icon"
)
category="icon"N: 3D图标(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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| iOS风格 | | Apple App Store图标、亮面玻璃效果 |
| Material Design风格 | | Google Play图标、扁平化带层次感 |
| 游戏图标 | | RPG道具、奇幻游戏UI |
| 通用风格 | | 任意3D图标 |
图标提示词技巧:
- 简洁描述图标主体(单个核心元素)
- 指定形状背景(“圆角方形”、“圆形”)
- 保持简洁——图标在小尺寸下需易于识别
- 示例:
"a camera icon with rainbow lens flare"
N: 3D Text (category="text"
)
category="text"N: 3D文字(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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 铬金属/金属质感 | | 醒目标题、电影风格文字 |
| 霓虹发光 | | 赛博朋克、夜生活、招牌文字 |
| 木质风格 | | 复古、手工艺、自然品牌 |
| 糖果风格 | | 趣味、儿童、甜美主题 |
| 通用风格 | | 任意3D文字效果 |
文字提示词技巧:
- ⚠️ AI文字渲染效果不稳定——文字需简短(最多1-3个单词)
- 用引号描述文字内容:
"the word 'HELLO'" - 指定材质和环境
- 示例:
"the word 'GAME OVER' in chrome metallic letters, dark background"
L: Interior Design (category="interior"
)
category="interior"L: 室内设计(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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 现代简约 | | 斯堪的纳维亚风格、简洁线条、自然光 |
| 奢华风格 | | 高端、大理石、金色装饰 |
| 温馨舒适/Hygge | | 温暖、舒适、有吸引力 |
| 工业风 | | 阁楼、裸露砖墙、都市时尚 |
| 通用风格 | | 任意室内渲染图 |
室内设计提示词技巧:
- 描述房间类型(客厅、卧室、厨房、浴室、办公室)
- 提及核心家具和材质
- 指定灯光(自然光、温暖夜晚灯光、戏剧性灯光)
- 若重要可指定配色方案
- 示例:
"modern Scandinavian living room with large windows, light wood floors, gray sofa, indoor plants"
L: Architecture (category="architecture"
)
category="architecture"L: 建筑(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 |
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"
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 现代风格 | | 当代建筑、玻璃与钢结构 |
| 传统风格 | | 古典、历史建筑、石材与木结构 |
| 未来主义 | | 科幻、有机形态、绿色科技 |
| 航拍视角 | | 鸟瞰图、总平面图、场地环境 |
| 夜景 | | 戏剧性灯光、建筑立面照明 |
| 通用风格 | | 任意建筑渲染图 |
建筑提示词技巧:
- 描述建筑类型(住宅、办公楼、塔楼、博物馆、学校)
- 提及材质(混凝土、玻璃、钢材、木材、石材、砖墙)
- 指定环境(都市、郊区、山坡、滨水)
- 提及时间以控制灯光(黄金时段、正午、黄昏、夜晚)
- 示例:
"modern three-story house with flat roof, large glass windows, surrounded by garden, golden hour"
N: 3D Scene (category="scene"
)
category="scene"N: 3D场景(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场景 |
N: Game Asset (category="game_asset"
)
category="game_asset"N: 游戏资产(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 |
| 风格 | 标识 | 适用场景 |
|---|---|---|
| 武器 | | 剑、枪、魔法武器 |
| 环境 | | 游戏关卡、世界设计 |
| 道具 | | 物品、对象、收藏品 |
| 载具 | | 汽车、船只、飞行器 |
| 通用风格 | | 任意游戏资产 |
6. 3D Rendering keyword guide
6. 3D渲染关键词指南
When crafting custom prompts, use these keywords to control the 3D look:
编写自定义提示词时,可使用以下关键词控制3D效果:
Materials
材质
| 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 |
| 关键词 | 效果 |
|---|---|
| 基于物理的渲染,实现逼真的表面效果 |
| 半透明皮肤、蜡、大理石效果 |
| 反光金属表面 |
| 表面光泽控制 |
| 透明材质效果 |
| 哑光灰色、无纹理,聚焦形状 |
Lighting
灯光
| Keyword | Effect |
|---|---|
| Clean, professional, controlled |
| Environment-based, natural reflections |
| Edge highlight, subject separation |
| God rays, atmospheric depth |
| Soft contact shadows, depth |
| Realistic light bouncing |
| 关键词 | 效果 |
|---|---|
| 干净、专业、可控的灯光 |
| 基于环境的灯光,实现自然反射 |
| 边缘高光,分离主体与背景 |
| 丁达尔效应、大气深度感 |
| 柔和接触阴影,增强深度 |
| 逼真的光线反弹效果 |
Camera / Composition
相机/构图
| 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°俯视,无透视变形 |
| 经典产品/角色展示视角 |
| 自然人类视角 |
| 俯视航拍视角 |
| 微缩/立体场景效果 |
| 背景虚化,聚焦主体 |
Render Engine Style
渲染引擎风格
| Keyword | Effect |
|---|---|
| High-quality, photorealistic |
| Realistic path tracing |
| Game-quality, real-time look |
| Architectural visualization quality |
| Clean, stylized 3D |
| Product visualization quality |
| 关键词 | 效果 |
|---|---|
| 高质量、照片级写实 |
| 逼真的路径追踪 |
| 游戏级画质、实时渲染效果 |
| 建筑可视化级画质 |
| 干净、风格化3D效果 |
| 产品可视化级画质 |
7. Model selection guide
7. 模型选择指南
| 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 |
Recommendations by category:
- Characters → for drafts,
nanoprofor final character sheetsgpt - Products → for photorealistic renders,
gptfor quick conceptsnanopro - Dioramas → handles isometric well;
nanoprofor detailed miniaturesgpt - Icons → is sufficient for most icons
nanopro - Text → for better text rendering (still imperfect)
gpt - Interior/Architecture → for photorealistic archviz,
gptfor conceptsnanopro - Scenes → for cinematic quality,
gptfor quick mood boardsnanopro
| 模型 | 标识 | 速度 | 质量 | 适用场景 |
|---|---|---|---|---|
| Nano Banana Pro | | ~25秒 | 良好 | 快速迭代、草稿、大多数3D风格 |
| GPT Image 2 | | ~150秒 | 最佳 | 最终渲染图、复杂场景、精细细节 |
按分类推荐:
- 角色 → 用于草稿,
nanopro用于最终角色展示图gpt - 产品 → 用于照片级写实渲染,
gpt用于快速概念图nanopro - 立体场景 → 擅长等距风格;
nanopro用于精细微缩场景gpt - 图标 → 足以应对大多数图标需求
nanopro - 文字 → 的文字渲染效果更好(仍有瑕疵)
gpt - 室内/建筑 → 用于照片级建筑可视化,
gpt用于概念图nanopro - 场景 → 用于电影级画质,
gpt用于快速情绪板nanopro
8. Aspect ratio guide
8. 宽高比指南
| 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 | | |
9. Intent recognition guide
9. 意图识别指南
Map user requests to the right category + style:
| 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文字"、"铬金属文字"、"金属字母" | | | |
| "霓虹灯牌"、"发光文字" | | | |
| "室内设计"、"房间设计"、"装修效果图" | | | |
| "奢华室内"、"顶层公寓" | | | |
| "温馨房间"、"温暖室内" | | | |
| "建筑渲染图"、"建筑可视化" | | | |
| "夜景渲染"、"建筑夜景" | | | |
| "航拍视角"、"总平面图" | | | |
| "奇幻世界"、"魔法场景" | | | |
| "科幻场景"、"空间站" | | | |
| "游戏武器"、"剑渲染图" | | | |
| "游戏环境"、"关卡设计" | | |
10. Error handling
10. 错误处理
| 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,重试 |
| 模型运行超时 | 重试,或切换为 |
11. Advanced examples
11. 高级示例
3D character sheet (multiple angles)
3D角色展示图(多视角)
python
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",
)python
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
等距城市街区
python
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",
)python
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
建筑夜景渲染图
python
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",
)python
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
室内设计——现代客厅
python
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",
)python
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
参考图像转3D风格
python
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",
)python
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
3D游戏武器
python
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",
)python
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
3D霓虹文字
python
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",
)python
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
多张对比图像
python
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",
)python
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
生成3种变体供用户选择
undefinedundefined