AI · GPT Image 2 · from 1 credit

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.

imgsrc.pub · AI image
Prompt
3–1000 characters0 / 1000
Try a real prompt
Aspect
Quality · 1 / 10 / 30 credits
Example render: red fox
example render · “red fox”
PNG · hosted on Cloudflare Images
Pricing

Three finishes, one price list.

Every render is charged once, in credits, when it starts. Larger packs make each credit cheaper.

Draft

quality=low

1credit

Fast and rough. Use it to find the prompt.

Starter
3¢
Pro
2¢
Scale
2¢

Standard

quality=medium

10credits

Clean enough for mockups and internal docs.

Starter
30¢
Pro
24¢
Scale
20¢

Premium

quality=high

30credits

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

Use cases

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.

01

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.

02

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.

03

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.

04

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.

From a URL

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. 1

    First request. Charges the credits and starts the render. The response is a “Generating” card; it usually takes 10 to 60 seconds.

  2. 2

    Every request after. A 302 redirect to the finished PNG on Cloudflare Images. No charge, however many people load the page.

  3. 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">
ParameterValuesDefaultWhat it does
prompt3–1000 charactersrequiredWhat to draw. URL-encode it; + or %20 for spaces.
aspectsquare landscape portraitsquare1024×1024, 1536×1024 or 1024×1536 pixels.
qualitylow medium highhighDraft (1 credit), standard (10) or premium (30).
typeimage logo ogimageLeave 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.

Examples

Real renders, real prompts.

Rendered on imgsrc.pub and served from Cloudflare. The caption is the exact prompt behind each one.

AI image rendered from the prompt “red fox”
“red fox”square · 1024 × 1024
AI image rendered from the prompt “blue fox”
“blue fox”square · 1024 × 1024
AI image rendered from the prompt “blue fox”
“blue fox”square · 1024 × 1024
AI image rendered from the prompt “Generate an image of a cat.”
“Generate an image of a cat.”square · 1024 × 1024

Short 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.

FAQ

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.

More tools

The rest of the toolbox.

Two more AI tools, and six free endpoints for everything that doesn't need a render.

Try ten prompts
for 30 cents.

Drafts cost 1 credit. Find the wording, then render the one you like at premium.