Generate photorealistic and stylized hairstyle images from text prompts, returning image output metadata in JSON.