Python Image Stylist with OpenAI API
Budget: $10 – $30 USD
I’m looking for a Python developer to build a script that transforms input images into a different visual style (e.g. Studio Ghibli, Lego, The Simpsons, Muppets, etc.) using the OpenAI API only.
? Requirements:
The script must take the following as input:
An image file (e.g. dog.png)
A target style prompt (e.g. "Ghibli style", "Lego style", "Muppets style")
It must use OpenAI’s image editing endpoint (images.edit I thiknk) to generate a new version of the image in the desired style.
The script should:
Allow passing the prompt dynamically (e.g. "Transform this image into [STYLE] style")
Save both the output image and the intermediate mask
Use OpenAI’s official Python SDK (openai>=1.0)
Include proper logging to help debug inputs, API calls, and outputs
✅ Deliverables:
A Python script runnable from the command line like:
python convert_style.py --image dog.png --style "Studio Ghibli style"
Generates: dog_ghibli.png (styled image)
required: .env file support for loading OpenAI API key
? Goal:
To take any photo and stylize it in a specific aesthetic (defined via prompt) using OpenAI’s image editing tools.
? Requirements:
The script must take the following as input:
An image file (e.g. dog.png)
A target style prompt (e.g. "Ghibli style", "Lego style", "Muppets style")
It must use OpenAI’s image editing endpoint (images.edit I thiknk) to generate a new version of the image in the desired style.
The script should:
Allow passing the prompt dynamically (e.g. "Transform this image into [STYLE] style")
Save both the output image and the intermediate mask
Use OpenAI’s official Python SDK (openai>=1.0)
Include proper logging to help debug inputs, API calls, and outputs
✅ Deliverables:
A Python script runnable from the command line like:
python convert_style.py --image dog.png --style "Studio Ghibli style"
Generates: dog_ghibli.png (styled image)
required: .env file support for loading OpenAI API key
? Goal:
To take any photo and stylize it in a specific aesthetic (defined via prompt) using OpenAI’s image editing tools.