INLINER.AI β€” AI images, generated and served from a URL

AI images, generated and served from a URL.

Put an Inliner URL in HTML, email, docs, or an agent workflow. The first request generates the image into your project; every request after serves it from Cloudflare's edge. <img src="…"> is the whole integration.

  • Permanent CDN URLs + on-the-fly .webp
  • CLI + MCP for coding agents
  • Embeddable layer & AI editor
  • Project namespaces & team keys
GETimg.inliner.ai
generating β€¦
Image generated and served by Inliner from the URL shown above
200 OK Β· content-type: image/png Β· cf-cache-status: HIT Β· served from edge
Recent releases Full changelog β†’

01 How it works

One HTTP request. Cached at the edge.

Write the image path you need in your markup. The first request renders the asset into your project namespace; every request after comes straight from Cloudflare's CDN.

STEP 1 / WRITE

Put the spec in the path

Include your project slug, a hyphenated description, and pixel dimensions. Write it by hand, from a build script, or let your coding agent insert it.

GET /acme/spring-campaign-hero_1200x600.png
STEP 2 / GENERATE

Render on first request

Inliner routes the prompt to the best-fit model (or the one you specify) and applies your project's saved brand instructions and reference images.

model: flux-3 βœ“ refs: brand-kit βœ“ 4.2s
STEP 3 / SERVE

Serve from the CDN

Once generated, that URL is pinned to the finished image and cached globally. Append .webp anytime to serve a compressed WebP copy on the fly.

200 OK Β· cf-cache-status: HIT Β· edge: global
GET /inliner-landing/spring-campaign-hero…_1200x600.png 200 OK Β· HIT
Spring campaign hero image of a wildflower meadow in soft morning light, generated and served by Inliner
Rendered on first request from the URL above, then served from edge cache.
Pinned URLs

A generated URL always returns the same image, so it is safe to commit into production templates and transactional emails.

Portable across channels

Use the exact same URL in your web app, CMS, newsletter, and README without exporting separate files per destination.

Scoped to projects

Assets stay grouped by project namespace with automatic vision tags, alt text, and search.

03 Build workflow

Five ways into the same project library.

Start with a plain <img> tag. Add the CLI, MCP server, embeddable editor, or typed SDKs when your workflow needs them.

Plain URLs & instant .webp

If a surface can load a URL, it can render an asset. Append .webp to any existing PNG or JPG URL to serve WebP on the fly at zero credit cost.

CLI

Generate and edit from the shell. Prints URLs in interactive terminals and raw image bytes when piped. CLI docs β†’

MCP server

Expose generation, editing, project namespaces, and credit checks to Claude Code, Cursor, and Codex. Setup guide β†’

Embeddable editor

Mount the Studio layer and AI editor inside your app and receive saved WebP URLs over postMessage. Editor overview β†’

SDKs & API

Official JavaScript, Python, Go, and PHP clients for server-side generation, search, and tag management. API reference β†’

<!-- The URL is the whole integration. -->
<img
  src="https://img.inliner.ai/acme/spring-campaign-hero_1200x600.png"
  alt="Spring campaign hero" />

<!-- Same mechanic in email templates -->
<td background="https://img.inliner.ai/acme/newsletter-header_600x200.png">

<!-- Edit by appending an instruction -->
<img src="https://img.inliner.ai/acme/spring-campaign-hero_1200x600.png/make-it-night-time.png" />
$ npm install -g @inliner/cli

$ inliner-ai "product-launch-banner_1200x400.png" -p acme
https://img.inliner.ai/acme/product-launch-banner_1200x400.png

$ inliner-ai edit hero.png "remove the background"

# pipes work like any unix tool
$ inliner-ai "og-card_1200x630.png" -p blog | pbcopy
$ claude mcp add inliner -- npx -y @inliner/mcp-server

# then, inside your coding agent:

> "Add a hero image to my landing page"
> "Generate three variants of the pricing illustration"
> "Edit the team photo to remove the background"

# the agent gets real hosted URLs back β€”
# no downloads, no asset handoff, no manual upload
<div id="inliner-editor"></div>
<script src="https://app.inliner.ai/inliner-editor/inliner-editor.iife.js"></script>
<script>
  InlinerEditor.embedIframe('#inliner-editor', {
    sourceUrl: 'https://img.inliner.ai/acme/hero_1200x600.png',
    project: 'acme',
    editModel: 'quality',       // GPT Image 2.5 Sunburst
    useContextMask: true,     // native rectangular context mask
    onPublish(p) { heroImg.src = p.url; } // lossless .webp CDN URL
  });
</script>
import { InlinerClient } from '@inliner/sdk';

const client = new InlinerClient({ apiKey: 'inl_…' });

// generate a hosted asset
const img = await client.generateImage({
  project: 'web',
  prompt: 'empty state illustration, warm minimal',
});

// list, search, and manage the library
const { items } = await client.listImages({
  project: 'web', tags: ['illustration'],
});
↳ hosted result /inliner-landing/product-launch-hero…_1200x600.png
Product launch hero of a matte black smartwatch on a stone pedestal under amber rim light, generated by the Inliner CLI

04 Asset library

Organized by project, searchable by tag.

Every generated or uploaded image lands in a project namespace with vision-generated tags, editable alt text, and role-based team access.

acme / summer-drop tag: summer-drop Β· 4 assets
White sneaker floating in a clean studio product shot
studio-product-shot productstudio
Street-style photo of white sneakers crossing a crosswalk at golden hour
lifestyle-street streetgolden-hour
Top-down flat-lay of minimal sneaker box packaging with orange accents
packaging-flatlay packagingtop-down
Bold retro flat illustration of a sun with rays and palm leaves in warm orange and cream
summer-drop-poster illustrationretro
01 / ACCESS & KEYS

Teams & scoped API keys

Invite teammates with owner or member roles, draw from a shared credit pool, and issue inl_ keys for CI scripts, apps, and MCP agents.

Team accounts β†’
02 / VISION INDEXING

Automatic tagging & metadata

Vision AI writes tags, titles, captions, and alt text on creation. Filter across multi-tag queries or rename slugs from saved image context.

Asset management β†’
03 / BRAND CONSISTENCY

Project namespaces

Isolate clients or environments under their own URL prefix. Attach default prompt instructions and up to five reference images per project.

Namespace workflows β†’

05 Edit & resize

Chain edits and dimensions in the URL.

Every hosted image can branch into a new variant. Append a plain-English instruction or target pixel size to render a derivative at its own permanent URL.

GET /inliner-landing/happy-llama.png/party-hat
+ /900x400_mountainsinbackground
edited 900 Γ— 400 hosted
01

Describe the change. Recolor an object, swap a background, remove an element, or restyle the whole scene.

02

Choose the dimensions. Request the exact aspect ratio and pixel size your page, ad, email, or social post needs.

03

Let the canvas adapt. Matching ratios resize cleanly; new ratios intelligently extend the scene instead of stretching it.

Source 1024 Γ— 1024
Square portrait of a llama wearing a colorful party hat
edit + resize + /900x400_mountainsinbackground

One segment appended to the URL. The square portrait becomes a wide mountain scene β€” canvas extended, llama intact.

Result 900 Γ— 400
Wide edited image of the same party-hat llama in a mountain landscape

06 Embeddable editor

Ship our layer and AI editor inside your own app.

When your users or content team need to tweak an image in place, mount the Inliner Studio editor in an iframe or with InlinerEditor.embedIframe(). Pass any hosted sourceUrl and receive the saved lossless WebP URL over postMessage.

Layers workspace
Crop, slice, rotate, lock, and reorder layers. Includes Google Fonts with AI Font Finder, account brand kits, auto-contrast watermarks, and Flash-inpaint canvas resize.
Targeted AI edits
Run prompts against the whole canvas, a single layer, or a draggable selection crop. Opt into native rectangular context masks (useContextMask=1) with GPT Image 2.5 Sunburst so unmasked pixels stay untouched.
Zero-backend publish
Clicking Save uploads the flattened lossless .webp (or .png) directly to your project namespace and posts the new CDN URL back to the host window.
app.inliner.ai/inliner-editor?embed=1&project=acme Save β†’ .webp
Layers AI Edit
Cheap Nano Banana 2.1 GPT 2.5 Sunburst Β· Mask ON
Smartwatch product shot inside the embeddable editor canvas
PROMPT "Add warm copper bezel reflection on watch face"
postMessage β†’ { type: "publish", payload: { url: "https://img.inliner.ai/acme/watch-copper-bezel.webp" } }

07 Creative control

Open Studio when you want hands-on control.

Compare up to four variations side by side, lock reference images per project, or pick a specific generator for the job. Leave routing on Auto for everyday requests, or target a model directly in Studio, URLs, CLI, and MCP:

Default & references
Typography & local edits
Specialized styles
Grok Imagine 2 Krea 2 Medium Recraft V4.1
Cheap Mode (1 credit)
Gemini Flash Lite Z-Image Turbo Qwen Image
Four Studio variations of the same coffee shop at morning, afternoon, evening, and night
GET /inliner-landing/four-quadrant-coffee-shop-variations…_800x600 β€” a real hosted asset

08 Pricing

Predictable credit math.

Every plan draws from one monthly credit pool across Studio, URLs, API, CLI, and MCP. Cheap Mode uses 1 credit; standard generation uses 4.

Try it

Free

$0/mo

One project to prove the URL workflow on something real.

  • 120 image credits / mo 30 standard or 120 Cheap Mode
  • 1 custom project
  • 25 hosted images
  • Trial edit & infill credits
  • Watermark-free
Start free
Solo workflow

Basic

$9.99/mo

A recurring personal workflow: side projects, a blog, a portfolio.

  • 600 image credits / mo 150 standard or 600 Cheap Mode
  • 5 custom projects
  • 500 hosted images
  • 3 team members
  • 5 edit + 10 infill credits
Choose Basic
Production library

Pro

$99.99/mo

High-volume production assets across many brands and pipelines.

  • 6,400 image credits / mo 1,600 standard or 6,400 Cheap Mode
  • Unlimited projects
  • 15,000 hosted images
  • 10 team members
  • All advanced styles & models
  • Dedicated support
Choose Pro
Simple credit math

Cheap Mode is 1. Standard is 4.

One monthly pool across Studio, URL, API, CLI, and MCP. Reusing the CDN URL is free.

Cheap Mode
1
credit

Lower-cost models. Four times more images from the same pool.

Standard
4
credits

Grok, Gemini, GPT Image, Flux, and the rest.

Edits, infill, and enhancement keep their own allowances. Failed generations are refunded. Pools are 4Γ— larger, so a standard image still costs the same share of the plan.

Included paid-plan generations land around 6–7Β’ when the monthly allowance is fully used β€” versus $2–$10 for a typical stock image. Need enterprise volume? Talk to us.

09 FAQ

Common questions.

Add your description to your project base URL: https://img.inliner.ai/your-project/your-description-here. The AI processes the description and returns an image as soon as it finishes generating. Subsequent requests to the same URL are served from the CDN for fast, scalable delivery. You can also append .webp to any existing PNG or JPG URL (for example hero.png.webp) to serve a compressed WebP asset on the fly without spending additional credits.

Yes. Once an image is generated, its URL always returns the same image, provided your account remains in good standing (for paid plans). That makes it safe to embed in websites, emails, and applications without worrying about broken links.

Our current lineup includes FLUX 3 Image (default standard generation), Nano Banana 2.1 (default reference-image generation and conversational editing), GPT Image 2.5 Flare (fast typography, packaging, and UI layouts up to 2048Γ—2048), GPT Image 2.5 Sunburst (precision local edits and native rectangular context masks), Grok Imagine 2, Krea 2 Medium, Recraft V4.1, Gemini Flash Lite, Z-Image Turbo, and Qwen Image. Pick one per request, use Cheap Mode (1 credit) for budget-aware routing, or let auto-routing select the best fit. Read the FLUX 3 & Nano Banana 2.1 guide and GPT Image 2.5 guide for full details.

Yes. You can mount the full Inliner Studio editor via an iframe or our JavaScript helper (InlinerEditor.embedIframe()). Pass any existing img.inliner.ai URL via sourceUrl, let users edit in Layers mode or AI mode (with Cheap, Recommended, and GPT 2.5 Sunburst model tiers plus optional context masks), and receive the newly published lossless WebP CDN URL via postMessage. See the Embeddable Editor overview and integration tutorial.

Cheap Mode uses 1 image credit. Standard generation uses 4 credits. Credits are shared across Studio, URL, API, CLI, and MCP. Reusing the resulting CDN URL does not consume another generation credit. Failed generations are refunded. Editing, infill, and enhancement use separate plan allowances.

Yes, you have full rights to use generated images for personal or commercial purposes. However, we cannot guarantee that generated content is entirely unique or free from resemblance to existing copyrighted material.

Standard images typically generate in 4–10 seconds, then cache for instant delivery on every subsequent request. Premium models and reference-image generations may take 20–30 seconds. Once cached, the global CDN serves the asset near-instantly worldwide.

Yes β€” Studio generates and compares up to four variations at once, and the CLI, SDKs, and MCP server make batch generation scriptable for pipelines and agents.

Your next image is a URL away.

Write it, ship it, and never re-upload it. Free tier, no credit card.

https://img.inliner.ai/your-project/the-image-you-need_1200x600.png