Skip to main content
Internal Service β€” This is not an HTTP endpoint. It’s called by the enhanced logo service.

Purpose

Uses OpenAI’s gpt-image-1.5 to transform a favicon into a hand-sketched artistic version.

Function Signature

Parameters

Returns

Style Transfer Approach

The function sends two images to OpenAI:
  1. base_image.png - A hand-sketched Target logo (style reference)
  2. target_image.png - The favicon to transform
The prompt instructs the model to apply the sketched style from image 1 to image 2.

Prompt Engineering

Code Location