How It Works

From script tag to production images in minutes.

1

Add the script

Include the Pixloom client script on your page with your publishable key.

<script
  src="https://cdn.pixloom.dev/v1.js"
  data-key="pk_live_..."
></script>
2

Describe your images

Add data attributes to any image tag. Describe what you want in plain English.

<img
  data-pixloom-prompt="bookstore"
  data-pixloom-style="illustration"
  alt="Cozy bookstore"
/>
3

Images appear

AI images load instantly. Cached serves are free.

Cozy bookstore at sunset in modern illustration style

Use the API

Generate images programmatically in any language.

import Pixloom from "@pixloom/sdk";

const pixloom = new Pixloom({ apiKey: "sk_live_..." });

const { url } = await pixloom.generate({
  prompt: "mountain landscape at golden hour",
  style: "watercolor",
});

console.log(url);
// → https://cdn.pixloom.dev/img/abc123

Simple to start, powerful to scale

Start with a single API call. Add styles, characters, and permalinks as you grow.

1

Simple generation

Generate an image with a prompt. That's it.

POST /api/v1/generate
{
  "prompt": "a cozy bookstore at sunset"
}

// → { "jobId": "job_abc", "status": "processing" }
// Poll /api/v1/job/job_abc until complete
// → { "status": "complete", "imageUrl": "https://..." }
2

Styles + Characters

Add a style preset for consistent visual language. Reference a character for consistent identity.

POST /api/v1/generate
{
  "prompt": "a barista making coffee",
  "style": "cinematic",
  "character": "chr_abc123",
  "size": "landscape"
}
3

Permalinks + Embeds

Create permanent URLs that serve images by name. Use embeds for automatic generation on any website.

// Permalink — permanent, named URL
GET /api/img/myhandle/hero-banner/watercolor
// → 302 redirect to CDN image URL

// Embed resolve — batch resolution for page load
POST /api/v1/embed/resolve
{
  "prompts": [
    { "prompt": "sunset over ocean", "style": "watercolor" },
    { "prompt": "mountain cabin", "style": "cinematic" }
  ]
}

Style system

Consistent visual language across every image.

Watercolor style: a lighthouse on a rocky cliff at golden hour

Watercolor

Cinematic style: a lighthouse on a rocky cliff at golden hour

Cinematic

Pop Art style: a lighthouse on a rocky cliff at golden hour

Pop Art

Anime style: a lighthouse on a rocky cliff at golden hour

Anime

PhotorealisticCinematicWatercolorPop ArtMinimalistAnimeOil PaintingPencil SketchAbstract GeometricArt NouveauCyberpunkFantasyVintage FilmComic BookPixel ArtImpressionistGothicNeon GlowTech BlueprintCartoon

20+ Presets

Curated style presets covering photography, illustration, artistic, fantasy, and technical categories.

Custom Styles

Create your own styles with the style wizard. Upload a reference image and let AI analyze the visual language.

Mix & Match

Combine presets, adjust parameters, and save your favorites. Every image matches your brand identity.

Character consistency

Pro

Same character, any style, every time.

Character consistency demonstration

Upload a photo

Upload 1–4 reference photos of a person, character, or mascot.

Identity is preserved

ACE++ extracts identity features. The same character appears consistently in every image you generate.

Any style, any scene

Place your character in any style preset or scene. Watercolor, cinematic, fantasy — always recognizable.

Library flywheel

Every image generated makes the platform faster and cheaper for everyone.

Community library sampleCommunity library sampleCommunity library sampleCommunity library sampleCommunity library sampleCommunity library sample

Generate

You generate an image via API or embed.

Library Pool

High-quality images join the shared community library.

Cache Hit ($0)

Future requests match existing images — no generation cost.

Community Grows

More users = more images = more cache hits = lower cost for everyone.

Dashboard

Everything you need to manage your images, styles, and analytics.

Playground

Generate images interactively. Pick styles, adjust settings, and preview results in real time.

Permalinks

Named URLs that serve images by handle and name. Organize with folders, rotate via TTL.

Analytics

Track generations, cache hits, engagement, and costs. Understand what images perform best.

Style Management

Browse presets, create custom styles with the wizard, or upload a reference image for AI analysis.

Embed Dashboard

Manage embed prompts, view activity, regenerate images, and monitor cache hit rates.

Image Library

Browse the community library, heart favorites, and copy embed codes to use images on your site.

Ready to get started?

Join the beta. 100 free generations per month. No credit card required.