Illustration of what awesome-gpt-image-2 does: A library of 530+ GPT Image 2 prompts with templates and an agent skill

freestylefly /

awesome-gpt-image-2

A library of 530+ GPT Image 2 prompts with templates and an agent skill

  • 34.9k stars
  • 1.1k stars since 3 Oct
  • JavaScript
  • Updated 9 days ago
  • Beginner friendly
  • Image, video & audio

Getting an image model to give good results twice is hard. Most people write loose prose prompts and get uneven output. This project collects community examples and rewrites them as structured prompts, so you can see what was asked and what came out.

Each case splits a prompt into parts such as subject, lighting, materials, layout and text. The author calls this Prompt as Code. Parts like these are easier to reuse in scripts, templates, batch jobs and agents than one long paragraph. Cases are sorted into groups like UI, posters, products, photography, illustration and characters.

There is also a website for browsing large previews, copying prompts and filtering by style, plus a section comparing GPT Image 2.5 output on shared prompts. The README says that section does not add live generation, and that original generation conditions for some cases are unverified.

What it does

  • Large case gallery

    544 cases across UI, infographics, posters, products, brand, architecture, photography, illustration, characters and scenes. Each comes with its full prompt.

  • Prompt templates

    20+ templates plus a guide to common pitfalls, for turning a visual direction into a reusable prompt structure.

  • Structured prompt schema

    Prompts are split into composable pieces like subject, lighting, materials and layout, which suits scripts and automation.

  • Agent skill

    A GPT-Image2 Style Library skill lets agents reuse the cases and templates.

  • Visual website

    Browse large previews, copy prompts, filter by style or scenario, and jump back to the source case on GitHub.

What you could build

  • Find a poster or product-shot prompt in the gallery and adapt it to your own brand.
  • Copy a template to produce consistent e-commerce or infographic images in batches.
  • Give a coding agent the style-library skill so it writes better image prompts.
  • Study how structured prompts are broken into parts to improve your own prompt writing.
  • Compare GPT Image 2.5 results against earlier cases using the same prompts.

Get started

The README gives no install commands. Open the live website or the gallery docs in the repo, pick a case in a category you like, and copy its prompt into your image model. To use the agent skill, point your agent at agents/skills/gpt-image-2-style-library/SKILL.md.

Commands are copied from the project's README. Read it on GitHub for the full setup.

More in Image, video & audio

    ↑↓ to move, Enter to open, Esc to close