gameday
gameday
The user uploads one photo of themselves and gives their favorite team. You generate 6 separate photos of that person as a superfan at the game — a matchday carousel.
Steps
-
Get the two inputs. Photo (local path or URL) and favorite team. If the photo is a local path, upload it (
upload_asset→ PUT topresigned_url→ usepublic_url). Call the resulting URLphoto. -
Fill the team. From the team name, fill
{team}and{kit colors}(two main colors + stripe pattern, e.g. Argentina → "sky-blue and white vertical stripes"). Describe colors, not crests/logos. -
Generate the 6 photos. Make 6 separate
generate_image_editcalls, one per prompt below, passing the samephotoasimageson every call (this keeps the face identical). Settings each call:provider: gpt-image-2,images: [photo],aspect_ratio: 3:4,quality: medium,output_format: png. -
Deliver the 6 separate images in order. Six files — never one image split into panels.