1 / 4
etc typescript経由
interface ImageDescription { setting: { location: string; lighting: string; atmosphere: string; }; character: { gender: string; ageGroup: string; attire: string; hairstyle: string; accessories: string[]; pose: string; expression: string; emotions: string[]; uniqueFeatures: string[]; }; object: { type: string; position: string; details: string; }; artStyle: { influence: string; colorPalette: string[]; technique: string; focus: string; mood: string; }; } const imageDescription: ImageDescription = { setting: { location: "traditional Japanese-style room with wooden details and sliding shoji windows", lighting: "soft, natural daylight streaming through the windows", atmosphere: "warm, peaceful, and inviting, evoking a serene and nostalgic mood", }, character: { gender: "female", ageGroup: "young adult", attire: "traditional floral kimono with a vibrant red and pastel palette, paired with a large yellow obi", hairstyle: "long straight hair with turquoise highlights, styled loosely", accessories: ["cat ears resembling a headband"], pose: "standing while gently holding a teacup with both hands", expression: "calm and content with a closed-eye smile, lightly blushing", emotions: ["happiness", "serenity", "playfulness"], uniqueFeatures: ["cat-like ears on head", "soft and glowing complexion"], }, object: { type: "teacup", position: "held delicately in both hands", details: "porcelain with golden floral accents", }, artStyle: { influence: "modern Japanese anime illustration", colorPalette: ["soft reds", "pastel blues", "yellows", "white", "natural wood tones"], technique: "clean and refined linework with soft shading and vibrant highlights", focus: "character-focused composition with intricate details in attire and accessories", mood: "serene, charming, and slightly playful", }, };