@advjs/monorepo / @advjs/types / AdvSceneImage
Interface: AdvSceneImage
Defined in: packages/types/src/game/scene.ts:32
Extends
Properties
alias?
optional
alias:string
Defined in: packages/types/src/game/scene.ts:13
assets alias
Inherited from
description?
optional
description:string
Defined in: packages/types/src/game/scene.ts:17
Zh
场景描述
Inherited from
id
id:
string
Defined in: packages/types/src/game/scene.ts:5
Zh
ID 唯一标识
Inherited from
imagePrompt?
optional
imagePrompt:string
Defined in: packages/types/src/game/scene.ts:24
Image Prompt
Zh
场景提示词
Description
生成图片的提示词
Example
ts
"A small, cluttered Tokyo apartment with morning light filtering through curtains."
Inherited from
name?
optional
name:string
Defined in: packages/types/src/game/scene.ts:9
Zh
场景名称(可展示给用户的名称)
Inherited from
src
src:
string
Defined in: packages/types/src/game/scene.ts:42
Zh
图片路径
Description
图片路径或url
Example
ts
"/img/your-name/scene-1.jpg"
type
type:
"image"
Defined in: packages/types/src/game/scene.ts:36
场景背景图片