Simple URL-based API

On-demand images
for AI-generated content

Generate images with a single URL. Drop it into websites, presentations, PDFs, or anywhere that loads images.

GET imglink.ai/images?prompt=
Generated image preview

Just a URL

No SDKs, no auth. Use it anywhere that supports an image URL — HTML, Markdown, docs, slides.

AI-Optimized

Built for AI agents building websites, presentations, and documents. Deterministic output with version pinning.

Auto-Cached

Same prompt + version always returns the same image. Generated once, served instantly from cache forever.

Log in to get your own API key — $10.00 free to start

Your generated images


API Reference

A single GET endpoint. That's the whole API.

ParameterDescriptionDefault
promptRequired Text description of the image to generate
versionOptional Seed version for deterministic output. Same prompt + version = same image. 1
widthOptional Image width in pixels 800
heightOptional Image height in pixels 600
keyOptional API key. Anonymous is shared and gets heavily rate-limited. Sign in to get $10.00 free. anonymous
modelOptional AI model to use for generation. nano-banana-2
remove_bgOptional Set to 1 to remove the image background, producing a transparent PNG. Best with solid-colored backgrounds in the prompt. off

Copy and paste the instructions below to teach any AI how to use imglink.ai.

AI Instructions

    

Drop it anywhere

HTML
<img src="https://imglink.ai/images?prompt=hero+banner+abstract+gradient&width=1200&height=400&key=anonymous"
     alt="Hero banner" />
Markdown
![Team photo](https://imglink.ai/images?prompt=professional+team+photo&width=800&height=500&key=anonymous)
CSS
.hero {
  background-image: url('https://imglink.ai/images?prompt=dark+abstract+texture&width=1920&height=1080&key=anonymous');
}
AI Prompt
// Tell your AI agent:
"Use https://imglink.ai/images?prompt=...&width=...&height=...&key=anonymous for all images.
 Each image URL will generate and return a real image."