AI images,
from a text prompt.
Describe the picture and GPT Image 2 renders it, usually in under a minute. Pick square, landscape or portrait, and a draft, standard or premium finish. You pay per render from credits, from 1 credit for a draft to 30 for premium.
Three finishes, one price list.
Every render is charged once, in credits, when it starts. Larger packs make each credit cheaper.
Draft
quality=low1credit
Fast and rough. Use it to find the prompt.
- Starter
- 3¢
- Pro
- 2¢
- Scale
- 2¢
Standard
quality=medium10credits
Clean enough for mockups and internal docs.
- Starter
- 30¢
- Pro
- 24¢
- Scale
- 20¢
Premium
quality=high30credits
Full detail, and the default setting.
- Starter
- 90¢
- Pro
- 73¢
- Scale
- 59¢
Prices per render at each pack's rate. Repeats of the same prompt and setting are free; failed renders are refunded. See the packs
What it's good for.
Anywhere a stock photo or a gray box would otherwise go, and you'd rather have a picture of the thing itself.
Header images for posts and docs
Render a landscape 1536×1024 illustration for each article instead of reaching for the same stock photo everyone else uses. Every render comes back as a hosted URL you can paste straight into your CMS.
Mockups with believable content
Client demos land better with a plate of food on the menu page and a real-looking product on the shop page. Standard quality at 10 credits is usually enough for a deck or a staging site.
Finding the prompt cheaply
Drafts cost 1 credit, about 3 cents, so you can try ten wordings for the price of a third of a premium render. When one works, render it again at premium with the same words.
One image per page, from a template
Put the prompt in an image URL on a domain you've registered and every page built from that template gets its own picture. Each distinct prompt is rendered and charged once; every later view is free.
Render it from your markup.
The tool above renders by hand. To render from markup, use /api/generate on a domain you've added and verified in your account. Requests are matched to your account by the page's Referer, so the image is billed to you and never to the visitor.
- 1
First request. Charges the credits and starts the render. The response is a “Generating” card; it usually takes 10 to 60 seconds.
- 2
Every request after. A 302 redirect to the finished PNG on Cloudflare Images. No charge, however many people load the page.
- 3
If it fails. The credits go back to your balance and the next request tries again.
<img
src="https://imgsrc.pub/api/generate
?prompt=a+red+fox+in+fresh+snow
&aspect=landscape&quality=medium"
width="1536" height="1024" alt="A red fox in snow">| Parameter | Values | Default | What it does |
|---|---|---|---|
| prompt | 3–1000 characters | required | What to draw. URL-encode it; + or %20 for spaces. |
| aspect | square landscape portrait | square | 1024×1024, 1536×1024 or 1024×1536 pixels. |
| quality | low medium high | high | Draft (1 credit), standard (10) or premium (30). |
| type | image logo og | image | Leave it off for images. logo and og switch to the other two AI tools. |
Add and verify a domain under Account → Sites with a DNS TXT record. New renders are capped per domain per hour and per account per day; repeats don't count.
Real renders, real prompts.
Rendered on imgsrc.pub and served from Cloudflare. The caption is the exact prompt behind each one.
“red fox”square · 1024 × 1024“blue fox”square · 1024 × 1024“blue fox”square · 1024 × 1024“Generate an image of a cat.”square · 1024 × 1024Short prompts work, and the same words can give different pictures at different settings. Longer prompts give you more control: name the subject, the setting, the light and the framing.
AI images, answered.
Which model draws the images?+
GPT Image 2 from OpenAI. imgsrc.pub sends your prompt, stores the result on Cloudflare Images and gives you a permanent URL to it.
How much does one image cost?+
A draft is 1 credit, standard is 10 and premium is 30. On the $9 Starter pack that is about 3 cents, 30 cents and 90 cents. The larger packs bring the per-credit price down by 20% and 33%.
Am I charged again for the same prompt?+
No. An identical prompt, aspect and quality returns the stored render at no charge, from the tool or from a URL. Change any of the three and it counts as a new render.
What happens if a render fails?+
The credits are refunded automatically. A render that finishes but isn't what you pictured is charged, which is why drafts exist: find the wording at 1 credit, then render it at premium.
Can I use the images commercially?+
You own the prompts you write and, as far as the law and the model provider allow, the images you generate. imgsrc.pub claims no ownership over them. Don't generate content that infringes someone else's rights.
Why is my embedded image showing an error card instead?+
The card names the reason. The usual ones: the domain isn't registered or verified, the page sends no Referer header (check your referrer policy), the account is out of credits, or the domain hit its hourly cap on new renders.
The rest of the toolbox.
Two more AI tools, and six free endpoints for everything that doesn't need a render.

Placeholder image
FreeAny size up to 4000 px, in PNG, JPG, WebP, GIF or SVG, with your own colours and text.
Placeholder video
FreeLooping H.264 MP4s from 50 to 1280 px, for players and hero sections you haven't shot yet.
QR code
FreeA PNG for any link or text, at the highest error correction, so it still scans when printed small.
Share card
FreeA 1200×630 Open Graph image drawn from a title and one line of text. Point og:image at it.
Favicon
FreeAny site's icon by domain. It reads the page's link tags and falls back to /favicon.ico.
Logo resizer
FreeOne square logo in; favicon.ico, Apple, Android and PWA icons and a web manifest out. It runs in your browser.
AI logo
30 creditsA 1024 px mark, delivered on a solid background and on a transparent one.
AI share card
30 creditsA 1200×630 illustrated Open Graph image for a launch, post or product page.
Try ten prompts
for 30 cents.
Drafts cost 1 credit. Find the wording, then render the one you like at premium.







