Skip to content

GPT-Image-1

Three side-by-side square frames, each showing a uniquely posed 8-bit style pixel cat. Each frame visually represents image generation from different AI models, using five flat corporate colors and minimalist geometric backgrounds. The cats are simple, highly pixelated, and visually distinct from one another, with no text or people present, creating a clean, corporate, and comparative visual suitable for a blog.
Generated by 🤖 AI

We’ve added support for the new OpenAI gpt-image-1 image generation model. You can try out through OpenAI’s API or Azure AI Foundry.

... = await generateImage("...", {
model: "openai:gpt-image-1",
})

To compare the performance of this model, here is a little script that generate an pixelated cat image on DallE-2/3 and gpt-image-1.

images.genai.mjs
const { output } = env
for (const model of [
"openai:dall-e-2",
"openai:dall-e-3",
"openai:gpt-image-1",
]) {
output.heading(3, `Model: ${model}`)
const { image, revisedPrompt } = await generateImage(
`a cute cat. only one. iconic, high details. 8-bit resolution.`,
{
maxWidth: 400,
mime: "image/png",
model,
size: "square",
}
)
await env.output.image(image.filename)
output.fence(revisedPrompt)
}

image

image

Visualize an adorable single feline, lavishly detailed, represented in charming 8-bit resolution. This cat is incredibly distinctive and recognizable, with unique features that make it stand out from the norm. Consider adding intricate patterns on its fur or any other unusual characteristics to boost the iconic nature of this cute cat.

image