1 / 3
typescript経由
interface ImageDescription { elements: { mainSubject: string; expression: string; clothing: string; accessories: string[]; colors: string[]; background: string; details: string[]; emotions: string[]; style: string; }; } const imageDescription: ImageDescription = { elements: { mainSubject: \"A young girl\", expression: \"Smiling with a gentle, happy expression\", clothing: \"Black witch\'s cloak\", accessories: [ \"Large black witch hat with flowers\", \"Braided lavender hair\", \"Holding a bouquet of colorful flowers\" ], colors: [ \"Lavender\", \"Black\", \"Orange\", \"Yellow\", \"Pink\", \"Green\" ], background: \"Soft, watercolor-style background with pastel colors\", details: [ \"Hat decorated with a variety of flowers\", \"Flowers in the bouquet are detailed with vibrant colors\", \"Stars and leaves decorating the cloak\", \"Light blush on the girl\'s cheeks\", \"Soft shadows and highlights\" ], emotions: [ \"Joy\", \"Calmness\", \"Serenity\" ], style: \"Modern Japanese anime style with a focus on vivid colors and detailed shading\" } };