1 / 6
typescript経由
interface ImageDescription { elements: { hair: string; hairColor: string; hairStyle: string; hairAccessories: string[]; expression: string; eyes: string; nose: string; mouth: string; skinTone: string; outfit: { type: string; color: string; pattern: string; details: string; }; pose: string; background: string; emotions: string[]; artStyle: string; }; } const imageDescription: ImageDescription = { elements: { hair: \"short\", hairColor: \"dark brown\", hairStyle: \"straight with a slight wave, tucked behind the ears\", hairAccessories: [\"pink and white flowers\", \"red beads\"], expression: \"melancholic and reflective\", eyes: \"closed, with long eyelashes\", nose: \"small and delicate\", mouth: \"small, with a neutral expression\", skinTone: \"pale\", outfit: { type: \"kimono\", color: \"black\", pattern: \"floral\", details: \"gray flowers with intricate designs\" }, pose: \"seated, knees drawn to chest, head resting on knee\", background: \"solid black\", emotions: [\"sadness\", \"reflection\", \"calm\"], artStyle: \"recent Japanese anime style with vivid colors and detailed shading\" } };