Skip to content
Seun Sowemimo / Software engineer / Lagos TryRaisins

Image generation

Generates and edits images through the OpenAI Image API, including masks, background removal, transparent backgrounds and batches of variants.

yeknal-imagegen11 filesApache-2.0Images and media

When to use it

  • You need product shots, covers or concept art.
  • An image needs inpainting or its background replaced.
  • You want several variants generated in one go.

A practical example

You ask

“Make three cover images for the blog post with a transparent background.”


Your agent does

It writes the prompts, runs the bundled script and saves the variants for you to choose from.

What gets installed

The whole folder is copied, so scripts, references and any license notices stay together.

  • agents/openai.yaml291 bytes
  • assets/imagegen-small.svg2,889 bytes
  • assets/imagegen.png1,711 bytes
  • LICENSE.txt10,776 bytes
  • references/cli.md5,288 bytes
  • references/codex-network.md1,146 bytes
  • references/image-api.md1,629 bytes
  • references/prompting.md5,903 bytes
  • references/sample-prompts.md14,901 bytes
  • scripts/image_gen.py29,949 bytes
  • SKILL.md10,009 bytes

Before you start: Uses Python and needs an OPENAI_API_KEY for live calls.

File list with SHA-256 hashes

Credit and license

Adapted from OpenAI’s published skills. It’s shared under the Apache License 2.0, and the license file is installed with it however you choose to install.