1 / 4
typescript経由 安定している
interface ImageDescription { background: { sky: string; stars: number; moon: { visible: boolean; position: string; size: string; brightness: string; }; clouds: { visible: boolean; amount: string; color: string; }; }; character: { position: string; expression: { eyes: string; mouth: string; eyebrows: string; }; armor: { material: string; color: string; detailing: string; lightReflection: string; }; cloak: { color: string; pattern: string; flow: string; }; sword: { material: string; position: string; heldBy: string; reflection: string; }; hair: { color: string; style: string; }; eyes: { color: string; size: string; }; }; emotions: string[]; } const imageDescription: ImageDescription = { background: { sky: \"night\", stars: 10, moon: { visible: true, position: \"center\", size: \"large\", brightness: \"bright\", }, clouds: { visible: true, amount: \"few\", color: \"dark blue\", }, }, character: { position: \"center\", expression: { eyes: \"determined\", mouth: \"slightly smiling\", eyebrows: \"relaxed\", }, armor: { material: \"metal\", color: \"silver and gold\", detailing: \"intricate patterns\", lightReflection: \"high\", }, cloak: { color: \"dark with red and gold patterns\", pattern: \"floral\", flow: \"dynamic\", }, sword: { material: \"metal\", position: \"held in front\", heldBy: \"both hands\", reflection: \"shiny\", }, hair: { color: \"brown\", style: \"short and neat\", }, eyes: { color: \"blue\", size: \"large\", }, }, emotions: [\"bravery\", \"serenity\", \"confidence\"], };
