1 / 2
特定画像→typescript形式→画像生成(n=2)
interface CharacterDetails { hairColor: string; expression: string; outfit: string; eyeColor: string; } interface CarDetails { make: string; color: string; interior: string; steeringWheel: string; } interface BackgroundDetails { environment: string; } interface ImageDetails { character: CharacterDetails; car: CarDetails; background: BackgroundDetails; } const imageDetails: ImageDetails = { character: { hairColor: \"Brown\", expression: \"Smiling with a gentle expression\", outfit: \"White shirt\", eyeColor: \"Brown\" }, car: { make: \"Sports car\", color: \"White\", interior: \"Red and black seats\", steeringWheel: \"Black steering wheel\" }, background: { environment: \"Road with lush greenery\" } };